Short answer. Claude Managed Agents runs Anthropic's own agent loop and sandboxes for Claude models at $0.08 per session-hour plus API tokens. Teams look for an alternative when they want to run Claude Code, Codex, OpenCode or Copilot on any model, use their existing Claude or ChatGPT subscriptions, or self-host the entire control plane on their own Kubernetes or air-gapped network. xpander is the self-hosted alternative that runs Claude Code, Codex and OpenCode in xpander cloud (about 6 credits / $0.06 per session-hour) or inside your own Kubernetes cluster. Below is how the 8 leading options compare.
Why teams look for a Claude Managed Agents alternative
Anthropic's Claude Managed Agents handles the agent loop, tool execution sandboxes, sessions and scheduled runs for Claude models. Even when you connect a self-hosted sandbox environment, the orchestration control plane, session history and memory remain on Anthropic's cloud, and every turn runs on a Claude model billed at API token rates plus $0.08 per session-hour.
Engineering and platform teams evaluate alternatives for four reasons:
Multi-harness support: Developers build with Claude Code, Codex, OpenCode and Copilot, and want one runtime that runs all of them rather than a single vendor's loop.
Any model or your own subscription: Teams want to route tasks across Anthropic, OpenAI, Google Gemini, Amazon Bedrock, Microsoft Foundry, OpenRouter, Fireworks, Nebius, Cerebras, Z.ai or self-hosted vLLM, Ollama and NVIDIA NIM endpoints, or let users bring their own Claude or ChatGPT subscriptions.
Full self-hosting and air-gap: Regulated enterprises need the control plane, session transcripts, vault and gateways inside their own VPC, on-premises data center or air-gapped Kubernetes cluster.
Session-hour and token economics: Long-running background sessions add up at $0.08 per session-hour on top of API token bills.
Side-by-side comparison of the 8 alternatives
Platform | Agent harness | Models supported | Self-hosted control plane | Pricing | Governance and identity |
|---|---|---|---|---|---|
Claude Managed Agents (baseline) | Anthropic Managed Agents loop | Claude models only | Sandboxes can be self-hosted; control plane and transcripts stay at Anthropic | $0.08 per session-hour plus Claude API tokens | Workspace permissions, vault credentials, per-session dollar budgets |
1. xpander | Claude Code, Codex, OpenCode, Copilot and custom agents | Anthropic, OpenAI, Google Gemini, Amazon Bedrock, Microsoft Foundry, OpenRouter, Fireworks, Nebius, Cerebras, Z.ai, plus vLLM, Ollama and NVIDIA NIM | Yes: xpander cloud, your Kubernetes on any cloud, on-prem or fully air-gapped | 1,000 free credits; ~6 credits ($0.06) per session-hour; 1 credit per invocation, turn and tool call; bring your own Claude or ChatGPT subscription, or Enterprise license | One AI and MCP gateway, OIDC/SSO, per-user tool permissions, budgets and full audit log |
2. Amazon Bedrock AgentCore | AgentCore Harness or custom code (LangGraph, CrewAI, Strands) | Any model in or outside Amazon Bedrock | Runs in AWS Regions (including GovCloud); no on-prem or air-gapped install documented | Pay-per-use per service (Runtime, Gateway, Policy, Memory) | Cedar policies on AgentCore Gateway calls, IAM and CloudWatch OTel logs |
3. OpenAI Agents API | Managed Codex harness (or self-hosted Agents SDK in code) | OpenAI models (Agents SDK can wrap other providers in your own code) | OpenAI hosts the Agents API loop; sandboxes can run in your VPC or partner clouds | Model tokens plus hosted tool fees and Code Interpreter container time | OpenAI organization projects, usage limits and trace logs |
4. Microsoft Agent Framework / Foundry | Foundry Hosted Agents (prompt agents or containers you package) | OpenAI, Claude, Mistral, xAI and Azure catalog models | Azure cloud, or Foundry Local on Azure Local hardware | Billed by CPU and memory used by hosted agent containers, plus model tokens | Microsoft Entra Agent ID, Purview and Agent 365 registry ($15/user/mo) |
5. Open Managed Agents (OpenMA) | Open-source drop-in implementation of | Any model via adapters | Yes (open source, self-hosted on Postgres, queue and object storage) | Free open-source software; you pay for your own compute and model API keys | Self-managed database and infrastructure access controls |
6. TrueForge (TrueFoundry) | MIT-licensed agent harness | Any OpenAI-compatible or open-weight model | Yes (open source, bring your own sandbox and MCP servers) | Open-source MIT license, or TrueFoundry commercial platform plans | TrueFoundry gateway RBAC and MCP server routing |
7. Omnara | Apache 2.0 multi-user agent service and TypeScript SDK | Any model, including self-hosted models | Yes (Apache 2.0 on Postgres, Redis, S3 and shared filesystem) | Free open-source self-hosting, or Omnara managed cloud | Built-in multi-user access control for customer-facing apps |
8. LangSmith Deployment (Deep Agents) | Open-source Deep Agents harness on LangSmith Agent Server | Model-agnostic across LangChain providers | Self-hosted LangSmith Deployment requires an Enterprise license | LangSmith Plus/Enterprise per-seat and deployment-run pricing | LangSmith workspace RBAC, tracing and thread management |
The 8 alternatives in detail
1. xpander
xpander is an AI agent control plane built to run Claude Code, Codex, OpenCode and custom agents in governed sandboxes. Anyone can start in xpander cloud in minutes with 1,000 free credits (no credit card), connect their own Claude or ChatGPT subscription or pick from hosted models, and launch background sessions that keep running after the laptop closes.
Where it wins: Runs the actual coding harnesses teams already use (Claude Code, Codex, OpenCode, Copilot) on any model; lets users bring their own Claude or ChatGPT subscription at about 6 credits ($0.06) per session-hour; and deploys identically in xpander cloud, on your own Kubernetes cluster, on-premises or fully air-gapped.
Trade-off: Self-serve free accounts are for 1 user; adding a team with SSO or self-hosting in your own environment requires a license.
2. Amazon Bedrock AgentCore
Amazon Bedrock AgentCore is AWS's set of 13 managed services (Harness, Runtime, Gateway, Identity, Memory, Policy, Observability, Evaluations and Registry) for teams building custom agents on AWS.
Where it wins: Deep AWS VPC and IAM integration, AWS GovCloud availability, microVM isolation per session, and Cedar policy checks on calls through AgentCore Gateway.
Trade-off: It is a builder toolkit on AWS rather than a ready workspace for employees, and hosting coding agents like Claude Code on AgentCore Runtime is a custom engineering project.
3. OpenAI Agents API
OpenAI's Agents API runs long-running sessions on a managed Codex harness with context compaction and OpenAI-hosted or partner sandboxes (E2B, Daytona, Modal, Cloudflare, Vercel).
Where it wins: Native Codex harness managed by OpenAI with zero additional session-hour platform fee on top of OpenAI model tokens and tool container charges.
Trade-off: Tied to OpenAI's cloud control plane and models unless you switch to the lower-level Agents SDK and host the loop and storage yourself.
4. Microsoft Agent Framework and Foundry Hosted Agents
Microsoft Foundry runs prompt agents or custom container images you build with the Microsoft Agent Framework, paired with Entra Agent ID and Agent 365 for tenant-wide registry.
Where it wins: Fits Azure-committed enterprises that want Entra identities and Microsoft 365 integration.
Trade-off: Custom harnesses must be packaged as containers by your engineering team, and Agent 365 observes third-party agents without running them.
5. Open Managed Agents (OpenMA)
OpenMA is an open-source runtime that implements both the Claude Managed Agents /v1/ API and the OpenAI Agents API /openai/v1/ contract on top of your own Postgres, queue and object storage.
Where it wins: Teams that already wrote code against the Anthropic Managed Agents SDK can keep their SDK calls and self-host the backend.
Trade-off: You assemble and operate the database, queue, sandbox adapters and enterprise governance yourself.
6. TrueForge (TrueFoundry)
TrueForge is an MIT-licensed open-source agent harness from TrueFoundry that connects to OpenAI-compatible models, MCP servers and sandboxes.
Where it wins: Lightweight MIT-licensed harness for teams that want to route agent loops to open-weight models on their own infrastructure.
Trade-off: Enterprise governance, multi-team budgets and managed deployment require TrueFoundry's commercial platform or custom engineering.
7. Omnara
Omnara is an Apache 2.0 open-source agent server and TypeScript SDK designed for product teams embedding a multi-user agent service into their own applications.
Where it wins: Free to self-host on standard Postgres, Redis and S3 with no license key and built-in multi-user tenant isolation.
Trade-off: Built for developers embedding an agent API in a product rather than IT governing Claude Code, Codex and employee agents across a company.
8. LangSmith Deployment (Deep Agents)
LangChain's Deep Agents Deploy bundles the open-source Deep Agents harness with the LangSmith Agent Server, exposing threads, runs, streaming and MCP endpoints.
Where it wins: Best fit for engineering teams already standardized on LangGraph and LangSmith tracing.
Trade-off: Self-hosting LangSmith Deployment requires a commercial LangSmith Enterprise license.
When to choose which
If your priority is... | Best choice |
|---|---|
Run Claude Code, Codex and OpenCode in the cloud today (with your own subscription or credits) and move to your own Kubernetes or air-gapped later | xpander |
Keep your existing Anthropic SDK | Open Managed Agents (OpenMA) |
Assemble custom agent services inside AWS with Cedar tool policies | Amazon Bedrock AgentCore |
Run the managed Codex harness directly on OpenAI's cloud | OpenAI Agents API |
Host custom-coded C# or Python agent containers inside Azure with Entra ID | Microsoft Foundry |
Embed an Apache 2.0 agent server inside your own SaaS product | Omnara |
Deploy LangGraph / Deep Agents applications with LangSmith tracing | LangSmith Deployment |
Frequently asked questions
What is the best self-hosted alternative to Claude Managed Agents?
xpander is the most complete self-hosted alternative for enterprises: it runs Claude Code, Codex, OpenCode and custom agents inside your own Kubernetes cluster, on-premises or air-gapped, with one AI gateway, one MCP gateway, per-user permissions and an audit trail. You can also start in xpander cloud with 1,000 free credits before moving to your own cluster.
Can you use your own Claude or ChatGPT subscription instead of paying API token rates?
On Claude Managed Agents, no: every session bills API tokens plus $0.08 per session-hour. On xpander cloud, you can connect the Claude or ChatGPT subscription you already pay for and run your agents on it for 1 credit ($0.01) per invocation, 1 credit per turn, 1 credit per tool call and about 6 credits ($0.06) per session-hour.
Does Claude Managed Agents support non-Claude models or Codex?
No. Claude Managed Agents runs Anthropic's harness on Claude models only. xpander runs Claude Code, Codex, OpenCode and Copilot on models from Anthropic, OpenAI, Google Gemini, Amazon Bedrock, Microsoft Foundry, OpenRouter, Fireworks, Nebius, Cerebras and Z.ai, plus your own models on vLLM, Ollama or NVIDIA NIM.
Can Claude Managed Agents run fully air-gapped?
No. Even with self-hosted sandboxes, Claude Managed Agents keeps the control plane and session history in Anthropic's cloud. xpander's air-gapped deployment runs every component, runtime, gateways, database and vault, inside your network with no connection to an external cloud.
