Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

docs: restructure the Evaluation page (#132)

shubhamagarwal-createc06445c0d964
diff --git a/docs/evaluation.mdx b/docs/evaluation.mdx
index 2d10eb1a8..ad2fb4ebd 100644
--- a/docs/evaluation.mdx
+++ b/docs/evaluation.mdx
@@ -1,45 +1,76 @@
---
title: 'Evaluation'
sidebarTitle: 'Evaluation'
-description: 'How TrueForge compares to other agent harnesses on the same tasks, model, and prompt — and how to reproduce the benchmark yourself.'
+description: 'How TrueForge compares to Claude Managed Agents and deepagents on the same tasks, tools, and model — and how to reproduce it.'
---
-TrueForge is a vendor-neutral harness you run on your own infrastructure with any model. To check that the harness itself does not cost you accuracy — and to see where the tokens and dollars actually go — we run the same agent tasks through TrueForge and other harnesses under identical conditions and grade the answers blind.
+We benchmarked TrueForge against two alternatives — the closed **Claude Managed Agents** and the open-source **deepagents** (LangGraph) — on the same 14 enterprise tasks, with the same tools and the same model. Same accuracy, lower cost:
-## What we measured
+- **~30% cheaper than Claude Managed Agents** on the same model (Opus 4.8).
+- **~2.5× cheaper than deepagents** on the same model.
+- **~75% cheaper** running the efficient open model **GLM-5.2**, at the same quality.
+
+<Frame>
+ <img
+ src="/images/evaluation-hero.png"
+ alt="Cost per run on the 14 enterprise tasks: Claude Managed Agents on Opus 4.8 is the baseline, TrueForge on Opus 4.8 is about 30% cheaper, and TrueForge on GLM-5.2 is about 75% cheaper — with the same accuracy across all three."
+ />
+</Frame>
+
+## What We Measured
We use the **L1-L2 tasks from [DevRev's Enterprise-Bench](https://x.com/devrev/status/2075815567458734468)** — 14 cross-system tasks that read like real B2B operations work across engineering, sales, and support. Each task makes the agent join data across three MCP servers: a CRM (Salesforce-style), a project tracker (Jira-style), and a document store (Drive-style).
-Every harness gets the **same model, the same three MCP servers, and the same system prompt**, and runs each task in a fresh session. Answers are graded by an independent LLM judge that sees only the task's criteria and the answer — never which harness produced it — and a task passes only if it meets every required criterion.
+## How We Measured
+
+Every harness runs the **same model, the same three MCP servers, and the same system prompt**, with each task in a fresh session and nothing carried over. We run **n = 3 trials** per configuration and report the mean.
+
+Answers are graded by an independent LLM judge that sees only the task's criteria and the answer — never which harness produced it — and a task passes only if it meets **every** required criterion.
## Results
-`n = 3` trials per configuration. `Solved / 14` is the mean number of tasks passed per trial; cost is per run at provider list prices.
+| Configuration | Solved / 14 | $ / run | Tokens / run |
+| -------------------------------- | :---------: | :-----: | :----------: |
+| Claude Managed Agents · Opus 4.8 | 10.7 | $11.8 | 10.0M |
+| TrueForge · Opus 4.8 | 10.7 | $8.6 | 3.7M |
+| TrueForge · GLM-5.2 | 11.7 | $3.0 | 3.8M |
+| deepagents · Opus 4.8 | 10.0 | $21.2 | 16.5M |
+| deepagents · GLM-5.2 | 12.0 | $9.1 | 11.9M |
-| Configuration | Solved / 14 | Cost / run | Tokens / run |
-| -------------------------------- | :---------: | :--------: | :----------: |
-| Claude Managed Agents · Opus 4.8 | 10.7 | $11.8 | 10.0M |
-| TrueForge · Opus 4.8 | 10.7 | $8.6 | 3.7M |
-| TrueForge · GLM-5.2 | 11.7 | $3.0 | 3.8M |
+`Solved / 14` is the mean number of tasks passed per trial (n = 3 trials per configuration).
-**Same model, fewer tokens.** On Opus 4.8, TrueForge and Claude Managed Agents solve the same number of tasks (10.7 / 14) — the harness costs you no accuracy — while TrueForge reaches those answers on far fewer tokens (3.7M vs 10.0M per run), so each run costs about 27% less.
+### Per task
-**Open model, same quality, ~75% less.** Because TrueForge runs any model, you can swap Opus 4.8 for an open model like GLM-5.2 and keep quality in the same band (11.7 / 14) at $3.0 per run — roughly 75% below Claude Managed Agents on Opus.
+Tasks passed across the 3 trials, by configuration:
-## How it's measured
+| Task | CMA · Opus | TrueForge · Opus | TrueForge · GLM-5.2 | deepagents · Opus | deepagents · GLM-5.2 |
+| ------------ | :--------: | :--------------: | :-----------------: | :---------------: | :------------------: |
+| eng-l1-a | 0/3 | 0/3 | 1/3 | 0/3 | 0/3 |
+| eng-l1-b | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 |
+| eng-l1-c | 1/3 | 3/3 | 3/3 | 3/3 | 3/3 |
+| eng-l2-a | 0/3 | 0/3 | 1/3 | 3/3 | 1/3 |
+| eng-l2-b | 1/3 | 1/3 | 2/3 | 3/3 | 3/3 |
+| sales-l1-a | 3/3 | 3/3 | 2/3 | 3/3 | 3/3 |
+| sales-l2-a | 3/3 | 1/3 | 3/3 | 3/3 | 3/3 |
+| sales-l2-b | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 |
+| sales-l2-c | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 |
+| sales-l2-d | 3/3 | 3/3 | 3/3 | 0/3 | 3/3 |
+| support-l1-a | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 |
+| support-l1-b | 3/3 | 3/3 | 3/3 | 0/3 | 3/3 |
+| support-l1-c | 3/3 | 3/3 | 3/3 | 3/3 | 2/3 |
+| support-l2-a | 3/3 | 3/3 | 2/3 | 0/3 | 3/3 |
+| **Mean / 14** | **10.7** | **10.7** | **11.7** | **10.0** | **12.0** |
-- **Same prompt, same tasks.** Every harness gets the identical system prompt and task prompts, and each answer is graded from the harness's reply.
-- **Blind, strict judge.** The judge sees only the criteria and the answer, never which harness produced it; a task passes only if every required criterion is met (no partial credit).
-- **List-price cost.** Computed per run from token counts at each provider's published prices, cache-aware.
-- **Fresh sessions, multiple trials.** Each task runs in a new session with nothing carried over; we report the mean across trials.
+## Why it was cheaper
-## Reproduce it
+Most of the cost in an agent run is the loop, not the final answer — every tool round-trip ships the growing context back to the model. TrueForge keeps that loop lean:
+
+- **Leaner context each turn.** It drives from a compact instruction rather than heavy scaffolding; deepagents also carries planning, a virtual filesystem, and sub-agent machinery on every turn.
+- **Fewer tool calls.** It planned the fewest calls of the three to reach the same result — 19 per task, versus 32 and 40.
+- **[Compaction](/context-engineering/overview) instead of replay.** It trims history and [offloads large tool responses](/context-engineering/large-tool-responses) instead of re-sending everything verbatim; deepagents re-reads its accumulated context step after step, which is how it lands at three to four times the tokens for the same task.
-The full harness — the runners for each arm, the exact system prompt, the blind grader, and the cost aggregator — is open in the TrueForge repo. Point it at your own dataset and models and you should reproduce the same shape of results.
+## Reproduce it
-<Card title="Benchmark kit on GitHub" icon="github" href="https://github.com/truefoundry/trueforge/tree/main/benchmark">
- A reproducible harness comparing TrueForge, Claude Managed Agents, and deepagents on the same tasks, model, and
- prompt — with setup, the system prompt, the judge, and the cost aggregator.
-</Card>
+<Card title="Benchmark kit on GitHub" icon="github" href="https://github.com/truefoundry/trueforge/tree/main/benchmark" horizontal />
-The dataset itself comes from DevRev's open Enterprise-Bench release — the queries, judging criteria, and their [Harbor](https://github.com/harbor-framework/harbor) harness. We point at their release rather than redistributing it, so your run scores against the canonical rubric.
+<small>The dataset is DevRev's open Enterprise-Bench release — queries, judging criteria, and the [Harbor](https://github.com/harbor-framework/harbor) harness. We point at it rather than redistributing, so runs score against the canonical rubric.</small>
diff --git a/docs/images/evaluation-hero.png b/docs/images/evaluation-hero.png
new file mode 100644
index 000000000..c3f60816d
Binary files /dev/null and b/docs/images/evaluation-hero.png differ