Skip to content

ForgeCode

ForgeCode (Forge) is an open source agentic coding harness built in Rust. It uses a multi-agent architecture with distinct built-in roles for planning, research, and execution, each operating on bounded context. It supports 300+ LLM providers and is explicitly designed for per-task model switching using a thinking model to plan, a fast model to code, and a large-context model for big files within the same session.

Source: tailcallhq/forgecode (7.2k stars, Apache 2.0 license)

ForgeCode makes a strong case against the harness requirements in a few specific ways:

Benchmark performance. ForgeCode leads TermBench 2.0 at 81.8% task completion, ahead of Claude Code (58%) and OpenCode (51.7%). Benchmark leadership is a stated Ikidna requirement, and ForgeCode currently holds the top position.

Multi-agent architecture. Forge ships with separate agents for execution, planning, and read-only research, which maps directly onto Ikidna’s enrichment, planning, and execution stages. The bounded-context model means each agent only sees what is relevant to its role.

Model routing. Per-task model selection is a first-class feature, not an afterthought. Ikidna’s routing layer needs a harness that can direct individual steps to different models without friction.

Skills and structured workflows. Forge supports reusable, composable skill files that the agent can invoke as tools. This provides a mechanism for encoding rigid, repeatable workflows where freeform agent behaviour is not acceptable.

Headless / programmatic operation. Forge supports one-shot prompt execution via CLI flags and event dispatch, which are the interfaces needed to drive it from an orchestrator rather than a human terminal.

MCP support. Forge supports MCP server registration and management natively, making it compatible with the same tool ecosystem as other harnesses including GitNexus.

Security. Forge includes a restricted shell mode that limits filesystem access and prevents unintended changes, and supports isolated sandbox environments via git worktrees.