Blank white background with no objects or features visible.

تحية إلى منطقة أوروبا والشرق الأوسط وأفريقيا! توسع TrueFoundry نطاق حضورها في هذه المنطقة الحيوية. اقرأ المزيد ←

Claude Managed Agents vs TrueForge: Which Agent Harness Should Enterprise Teams Run in 2026

By سهجميت كور

Updated: November 13, 2026

Published: November 13, 2026

If you're choosing an agent runtime this quarter, the Claude Managed Agents vs TrueForge decision is probably on your shortlist. And the ground under that decision has shifted recently.

Claude Managed Agents is Anthropic's hosted agent harness: you define an agent, and Anthropic manages the execution loop, sandbox, and session state. TrueForge is TrueFoundry's open-source agent harness: an MIT-licensed runtime that you run on your own infrastructure, with the flexibility to use any model you choose.

This comparison is written for platform teams, principal architects, and security reviewers evaluating agent infrastructure for production workloads.

Until recently, the distinction was relatively straightforward: managed cloud versus self-hosted. That shorthand no longer tells the whole story. On November 12, 2026, Anthropic opened a private beta of self-hosted Claude Managed Agents, allowing the harness, sandbox workers, credentials, and session database to run within an organization's own perimeter.

With deployment becoming less of a differentiator, the more important questions are elsewhere: Which models can you run? What does a successfully completed task actually cost? How much control do you have over the runtime? And which security and compliance requirements can each platform satisfy today?

In this guide, we'll compare Claude Managed Agents and TrueForge across architecture, model flexibility, deployment, security, pricing, and benchmark performance to help you make that decision.

At a glance

Criteria TrueForge Open-source agent harness Claude Managed Agents Managed agent platform
What it is Open-source agent harness you run yourself Hosted agent harness operated by Anthropic
Models Any model through one OpenAI-compatible API Claude models only
License MIT Commercial, beta
Deployment Local, Docker Compose, Helm, Railway; your cloud or on-prem Anthropic cloud; self-hosted sandboxes; full self-hosted service in private beta
Runtime pricing None. You pay for infrastructure and model calls $0.08 per active session-hour on top of token rates
Best for Teams that need model choice and the runtime inside their own perimeter Teams standardised on Claude who want the runtime operated for them

The four dimensions that actually decide this

Both products run a competent agent loop. Both do tool calling, sandboxed execution, approvals, subagents and context compaction. Treat that as table stakes and judge them on the four things that change what the deployment costs you and whether your security team approves it.

  • Model neutrality. A harness tied to one model family means every task is priced at that family's rates, including the ones a cheaper model would answer identically. It also means that evaluating a different provider later is a rebuild rather than a configuration change.
  • Cost per correct answer, not cost per token. Two harnesses running the same model on the same task can differ by three times in tokens consumed, because the loop itself (system prompt, tool definitions, replayed history) is most of the bill on a long task. Price the work, not the rate card.
  • Where the harness, the credentials and the session history physically sit. Three separate questions that vendors often answer as one. Sandbox location is not the same as harness location, and neither is the same as where transcripts are stored.
  • Compliance eligibility today. Not on a roadmap. ZDR eligibility and HIPAA BAA coverage are binary, and a procurement team will check them before anything else on this list.

TrueForge: open-source agent harness

TrueForge is TrueFoundry's open-source, vendor-neutral agent harness. It is the runtime layer that turns a model into a working agent: planning a turn, routing and executing tools, managing context on long tasks, pausing for human approval, and persisting sessions so conversations survive reconnects and restarts. It is MIT licensed and runs on your own infrastructure.

It ships as three parts. A core server runs the agent loop. An HTTP API with a TypeScript SDK (@truefoundry/trueforge-core) drives it from code, with REST, server-sent events and an OpenAPI spec. A chat UI comes bundled on the same port, and is also published as a React UI SDK (@truefoundry/trueforge-ui) you can theme and embed in your own product.

  • Any model, one API. Model providers, MCP servers and the sandbox provider are all bring-your-own. TrueForge orchestrates them; you choose them. That means a task that does not need a frontier model is not billed like one, and switching providers is a setting rather than a re-platforming project.
  • Sandbox as a tool, not as the container. Most harnesses run the whole agent inside a sandbox. TrueForge provisions one only when the agent actually needs to execute code. One server therefore runs many agents concurrently, and turns that never touch code execution are cheaper and faster.
  • Harness capabilities built for long tasks. Subagents, deferred tools, code mode, compaction and human checkpoints. Compaction trims history and large tool responses rather than replaying everything verbatim, which is where most of the token saving in our benchmark comes from.
  • Two deployment modes, same features. npx @truefoundry/trueforge for a single local process on SQLite. For a team, Docker Compose, Helm or Railway, backed by Postgres and Redis, with multiple replicas behind a load balancer; Redis peers them so streams and cancellations follow a client across replicas. Optional OIDC login for shared deployments. Local mode is explicitly not hardened for shared access, and the docs say so.
  • Session inspection and schedules. Past runs expose turns, tool calls, subagents, tokens and timing. Saved agents can run unattended on a recurring cadence.

Best for: enterprise platform teams that need model choice, want the agent runtime and its session history inside their own infrastructure, and expect to run the same agent thousands of times a day where the per-run cost compounds.

Claude Managed Agents: the hosted agent harness

Claude Managed Agents is Anthropic's pre-built, configurable agent harness running in managed infrastructure, built for long-running and asynchronous work. Instead of writing your own agent loop, tool execution and runtime, you define an agent (model, system prompt, tools, MCP servers, skills), define an environment, and start sessions against it. It is a genuinely good product, and for teams already standardised on Claude it removes a lot of undifferentiated infrastructure work.

  • Built-in tools and orchestration. Bash, file operations, web search and fetch with domain allowlists or blocklists, MCP connectors, and Agent Skills. Multiagent orchestration, session threads, workflow runs and scheduled cron deployments are all first-party.
  • Operational controls that are well designed. Session budgets, webhooks, defined outcomes, permission policies, per-environment host allowlists, credential vaults, and a full step-by-step log of every tool call and result that exports over OpenTelemetry.
  • Deployment is more flexible than it was. Sandboxes can be self-hosted on your own infrastructure. As of November 12, 2026, the complete service is available self-hosted in private beta: you run the Managed Agents server, its PostgreSQL database and the agent workers, keep session history in your database, and hold credentials in your own secrets manager. Access is requested through an Anthropic account team. Claude itself still runs outside your network, so prompts leave and completions return.
  • Still in beta, and Claude-only. All endpoints require the managed-agents-2026-04-01 beta header, and Anthropic notes it may refine behaviours between releases. The harness runs Claude models, so the cheaper-model lever described above is not available at any deployment tier.
  • Compliance eligibility is the sharpest constraint. Because sessions are stateful by design and store transcripts, sandbox state and outputs server-side, Managed Agents is not eligible for Zero Data Retention, with self-hosted as the stated exception. It is not eligible for HIPAA BAA coverage, and Anthropic's docs apply that to all Managed Agents sub-features. If you are running agents over regulated health data, verify this against your own counsel before committing.
  • Pricing adds a runtime meter. Standard Claude token rates for input, output, cache writes and cache reads, plus $0.08 per active session-hour metered to the millisecond while a session is running. Idle time is free. The batch discount does not apply. We broke the full arithmetic down in Claude Managed Agents pricing.

Best for: teams committed to Claude models, without a HIPAA BAA requirement, who would rather buy the runtime than operate it.

The benchmark: same tasks, same tools, blind judge

Capability lists do not settle this. We ran both harnesses on DevRev's Enterprise-Bench, 14 cross-system tasks that read like real B2B operations work. Answering one means planning, calling MCP tools across a CRM, a project tracker and a document store, joining the results correctly, and pitching the answer at the right level of detail.

The setup was identical for every harness: same 14 tasks, same three MCP servers, a fresh session per task. Grading was blind, with an LLM judge scoring each answer against the task's criteria without seeing which harness or model produced it. A task counted as solved only if it met every criterion, with no partial credit. Cost is actual token usage priced at list rates and is cache-aware.

Same model, both harnesses on Opus 4.8:

Metric TrueForge Open-source harness Claude Managed Agents Managed harness
Tasks solved ~11 / 14 ~11 / 14
Cost per run $8.50 $11.80
Tokens per run 3.8M 10M
Run latency 40 min 63 min
Cost per correct task ~$0.80 ~$1.10

Accuracy is a tie, which is the point. The model sets the ceiling on what is possible; the harness sets the price of getting there. TrueForge reached the same answers on roughly 40% of the tokens, about 28% cheaper per run and a third faster.

Then the lever a single-vendor harness cannot offer:

Metric Claude Managed Agents Opus 4.8 · Baseline TrueForge GLM-5.2 · Open model
Tasks solved ~11 / 14 ~11 / 14
Cost per run $11.80 $2.90
Tokens per run 10M 3.7M
Cost per correct task ~$1.10 ~$0.25
Cost reduction Baseline −75%

GLM-5.2 on TrueForge solved the same tasks Opus solved on Claude Managed Agents, at roughly $3 a run against $12. Claude Managed Agents cannot run this configuration at all. The full method and the three-way comparison including LangGraph's deepagents are in the TrueForge vs Claude Managed Agents benchmark.

Head-to-head comparison

Capability TrueForge Open-source agent harness Claude Managed Agents Anthropic's managed agent harness Private beta for self-hosted service
Model support Any model via one OpenAI-compatible API Claude models only
License MIT, open source Commercial
Deployment modes Local, Docker Compose, Helm, Railway; your cloud or on-prem Anthropic cloud; self-hosted sandboxes; full self-hosted service in private beta
Where session history lives Your SQLite or Postgres Anthropic-managed, or your Postgres when self-hosted
Credential handling Your secrets store; centralised in MCP Gateway with OAuth and rotation Vaults, per session; your secrets manager when self-hosted
Sandbox model Sandbox as a tool, provisioned on demand Sandbox per session, cloud or self-hosted
Zero Data Retention You hold the data; no vendor retention to negotiate Not eligible, except self-hosted
HIPAA BAA coverage Available through TrueFoundry's platform Not eligible, across all sub-features
Runtime pricing None beyond your own infrastructure $0.08 per active session-hour plus tokens
Benchmark and cost comparison
Enterprise-Bench (Opus 4.8) $8.50 / run, 3.8M tokens, ~11/14 $11.80 / run, 10M tokens, ~11/14
Cheapest configuration at equal accuracy $2.90 / run on GLM-5.2 $11.80 / run

Adding the control plane

TrueForge is the runtime. Running one agent well is a different problem from running fifty across four teams, and that is where the surrounding platform does the work.

TrueFoundry's AI Gateway gives every agent access to 1,000+ LLMs through a single OpenAI-compatible endpoint, at roughly 3–4 ms of added latency and 350+ RPS on one vCPU. Model access, budgets and guardrails are set centrally rather than per agent. Its Auto Routing classifies requests by complexity and sends them to the right model tier: across 550 prompts it cut cost by 69% while retaining 98% of baseline quality, with mean latency falling from 7.6 to 4.0 seconds.

The MCP Gateway centralises tool access with tool-level RBAC, OAuth and automatic credential rotation, so an admin rotates a credential once and every agent using it picks up the change. The Agent Gateway and the AI agent registry handle discovery and governance as the agent count grows. The platform carries SOC 2 Type II, supports HIPAA and GDPR requirements, and ships SSO, SCIM provisioning and immutable audit logging, deployable in your VPC, on-prem, air-gapped or hybrid with no data leaving your domain.

The two layers solve different halves of the cost problem. TrueForge reduces what it costs to run the agent. Routing avoids paying frontier prices for work that does not need them. At scale, having both matters more than the headline price of any single model.

FAQ

What is the difference between Claude Managed Agents and TrueForge?

Claude Managed Agents is Anthropic's hosted agent harness, running Claude models with a $0.08 per session-hour runtime fee on top of token costs. TrueForge is TrueFoundry's MIT-licensed open-source agent harness that runs on your own infrastructure against any model, with no runtime fee. On the same 14 Enterprise-Bench tasks with the same model, TrueForge reached equal accuracy at $8.50 per run against $11.80, and at $2.90 per run when the task was sent to an open model instead.

Can you self-host Claude Managed Agents?

Yes, in two forms. Self-hosted sandboxes have been available for some time, letting the agent's code execution run on your infrastructure while Anthropic runs the rest. Since November 12, 2026, the complete Managed Agents service is available self-hosted in private beta, where you run the server, its PostgreSQL database and the agent workers. Access is requested through an Anthropic account team, and Claude itself still runs outside your network.

Is TrueForge really open source, and what licence does it use?

Yes. TrueForge is MIT licensed, with the repository at github.com/truefoundry/trueforge and documentation at trueforge.dev. There is no licence fee. You pay for the infrastructure you host it on and for whatever model and MCP tool calls your agents make.

Can I deploy TrueFoundry in my own VPC or on-prem?

Yes. TrueFoundry runs in your VPC, on-prem, air-gapped, hybrid, or across multiple clouds, and no data leaves your domain. This is the main reason regulated enterprises choose it over SaaS-only platforms.

Is TrueFoundry SOC 2, HIPAA and GDPR compliant?

TrueFoundry supports SOC 2, HIPAA and GDPR standards, with RBAC, SSO and immutable audit logging built in. Current attestations are published at trust.truefoundry.com.

Does TrueFoundry support MCP and AI agents?

Yes. The platform includes an MCP Gateway, an Agent Gateway, and an MCP and Agents Registry with tool-level access control. Agents built on LangGraph, CrewAI, AutoGen, TrueForge or a custom framework can be deployed and governed through one control plane.

Related reading

Conclusion

Claude Managed Agents has closed most of the deployment gap and is a strong choice if your organisation has standardised on Claude, has no HIPAA BAA requirement, and would rather buy the runtime than run it. The constraints that remain are the ones built into a single-vendor harness: every task priced at one family's rates, a heavier loop on identical work, and compliance eligibility that depends on which beta you are in.

TrueForge keeps the managed-agent experience and gives back the two decisions that move the bill, which model runs the task and where the runtime lives. On the same benchmark, same model and same tools, that was 28% less per run, and 75% less once the cheaper-model lever was on the table.

If you are choosing an agent harness for production and model flexibility, infrastructure control and cost per run matter to your evaluation, book a demo and we will walk through what your workload looks like on TrueForge with the AI Gateway in front of it. The harness itself is open source and on GitHub if you would rather start there.

Try now.

One gateway for all your models, MCP servers, and agents. No credit card needed.

Start free
Table of Contents

One Gateway for Every LLM, Agent and MCP Server

Book a 30-min with our AI expert

Book a Demo

The fastest way to build, govern and scale your AI

Book Demo
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Discover More

No items found.
November 13, 2026
|
5 min read

Claude Managed Agents vs TrueForge: Which Agent Harness Should Enterprise Teams Run in 2026

No items found.
 What is an LLM Gateway
November 13, 2026
|
5 min read

ما هي بوابة LLM؟ دليل شامل

الهندسة والمنتج
November 13, 2026
|
5 min read

لوحات Helm Charts على ArtifactHub عبر الاستضافة على GitHub Pages

الهندسة والمنتج
What is MCP server
November 13, 2026
|
5 min read

What Is an MCP Server and Why It Matters

الهندسة والمنتج
No items found.

Recent Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Take a quick product tour
Start Product Tour
Product Tour