Any model. Any harness. Any sandbox. Any cloud.
$ npx -y skills add openma-ai/open-managed-agents --agent claude-code
Any model. Any harness. Any sandbox. Any cloud.
OpenMA handles sessions, execution and recovery, so you can build and run agents with any model, any harness, any sandbox, on any cloud. An open-source, self-hostable alternative to Claude Managed Agents and OpenAI Agents API.
Your choice of infrastructure, too. Use built-in adapters or plug in your own database, queue, and object storage.
Try hosted · Self-host · For agents · API examples · Documentation · Apache-2.0 · 中文
Actual Console UI with synthetic demo data. Integration statuses and configurations are illustrative. Click a screenshot to view it at full size.
Create an agent, give it work, and return to the same session later. OpenMA provides:
If OpenMA is useful to you, give the repository a Star. Use Watch → Custom → Releases for release notifications.
Install the deployment skill for your coding agent:
npx skills add openma-ai/open-managed-agents --skill deploy-openma
Then ask: “Deploy OpenMA on this machine.” Your agent checks the environment, prepares configuration, deploys the platform, and verifies the Console and an agent task. It asks for the target, login or credentials when needed, and confirms paid cloud resources before creating them. The command installs the guide; deployment starts when you ask your agent.
| Layer | Existing integrations and extension points |
|---|---|
| Models | Anthropic, OpenAI, DeepSeek, OpenRouter and other Pi providers; custom endpoints through Model Cards |
| Harnesses | Built-in Pi; Claude Code, Codex and other agents through ACP adapters; custom harnesses |
| Sandboxes | E2B, Daytona, LiteBox, Cloudflare Sandbox and more; see provider capabilities |
| Deployment | Native Node.js, Docker, Fly.io, Vercel (Beta), Cloudflare; deployment paths |
| Database | SQLite, PostgreSQL, MySQL, Cloudflare D1 and Durable Object SQL adapters; SQL client and Store interfaces |
| Queue | SQL-backed queues, Cloudflare Queues and an in-memory adapter; Queue and dead-letter contracts |
| Object storage | S3-compatible storage, Cloudflare R2, local filesystem and in-memory blob adapters; BlobStore |
Use the included adapters or implement an extension. “Any” means you can extend these interfaces; available features and setup depend on the selected adapters. Follow the linked provider and deployment guides for requirements.
OpenMA is a meta-harness: it manages the resources and lifecycle around an agent loop. Choose the execution path that fits your agent.
Run the model loop outside the sandbox and use the sandbox to execute tools. Keep session history separate from both, so a sandbox failure does not erase the conversation and a replacement harness can rebuild context from durable events. Manage execution resources without coupling them to the lifetime of the agent loop.
Use the built-in Pi harness or implement the host-side harness interface. Workspace restoration depends on the configured persistence and provider; the Runtime Host guide describes ownership and recovery.
Bring Claude Code, Codex, or another established harness into a managed sandbox. Reuse its agent loop, context management, tools, and skills rather than rebuilding those capabilities. OpenMA supplies the surrounding work lifecycle, workspace persistence, and output collection.
The ACP runtime provides existing integrations, including versioned harness installation independent of the sandbox image. Custom harnesses can use the supervisor contract; ACP is one option. Native features and session resume depend on the selected adapter.
| Capability | What you can use |
|---|---|
| Code and files | Shell execution, file read/write/edit, glob and text search |
| Web research | Web search and page fetching |
| Browser automation | Navigation, clicks, text input, page reading and screenshots; opt in and configure a browser backend |
| MCP and Skills | External tool servers and reusable task instructions; Pi supports deferred tool discovery and on-demand skill loading |
| Session resources | Attach repositories, files, and persistent memory stores with session-scoped access |
| Workplace integrations | GitHub issues and PRs, Linear issues, Slack threads, and Feishu chats |
Combine repository tools with GitHub for issue investigation, or web tools with Slack for a research assistant. Reuse the same tools and skills across more agents instead of building a new integration stack for each workflow. Configure the required service credentials and permissions; in-sandbox harnesses use their native tools and adapter-provided capabilities.
Built-in tools · Browser · MCP and Skills · Integrations
Tool reuse helps you add workflows. For more concurrent sessions, Node deployments can use shared PostgreSQL or MySQL and compatible storage/runtime services across replicas. For harnesses outside the sandbox, replicas claim different sessions in parallel through a durable execution outbox, renewable leases, and fencing; work within a session stays ordered. In-sandbox harnesses use the separate Environment Work claim, rather than nesting a second Session execution claim.
The single-host SQLite quickstart is a separate deployment choice. Capacity depends on the database, storage, sandbox provider, and model limits; see session execution and scaling.
Integration status: OpenMatter implements the Loop runtime. Unified Bond/Loop hosting in this OpenMA revision remains a proposed integration.
OpenMatter connects work events to authorized context, agent turns, and recorded results delivered back to the work system. OpenMA supplies the agent execution infrastructure.
Work event → authorized context → agent execution → result delivery
↑ │
└──────────────── follow-up feedback ────────────────┘
An issue-to-PR workflow can investigate an issue, prepare a change, post the result, then use review feedback for the next turn. The same pattern can support OpenMA's own development. This is a workflow to compose with application-defined permissions and approvals, not a preconfigured auto-merge bot.
| Deployment | Setup | Notes |
|---|---|---|
| Native Node.js / Docker | Quickstart below · Node guide | Configure isolated execution and persistent storage |
| Fly.io | Fly guide | Node control plane with a pinned server image |
| Vercel (Beta) | Configurator · Adapter | Separate database, object storage, and sandbox setup; serverless runtime boundaries apply |
| Cloudflare | Setup wizard | Provisions resources in your account |
Use the deployment skill to let your coding agent handle setup, or follow the manual steps below.
Install Docker with Compose, then:
git clone https://github.com/openma-ai/open-managed-agents.git
cd open-managed-agents
cp .env.example .env
Edit .env before starting:
BETTER_AUTH_SECRET with openssl rand -hex 32 and PLATFORM_ROOT_SECRET with openssl rand -base64 32. Store both securely; back up the encryption root with your data.SANDBOX_PROVIDER and supply its configuration. The deployment does not fall back to running agent commands in an unisolated host subprocess.open-managed-agents is a Claude Code plugin with 3 hand-picked skills, indexed on Flowy in the AI & Agents category. Install it with the command on its page. It includes create-agent, deploy-openma, openma. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it