Purpose
Open Managed Agents (OpenMA) is an open-source, self-hosted agent runtime platform positioned as an alternative implementation of Claude Managed Agents and the OpenAI Agents API. It is aimed at users who want to run agents within their own deployment boundary and use their own model credentials, providing capabilities such as persistent sessions, sandboxed tools, memory storage, encrypted credentials, and crash recovery.
Key Capabilities
- Compatible APIs: Both hosts provide Claude-compatible /v1/agents and /v1/sessions APIs, as well as the OpenAI Agents API's /openai/v1 endpoint, and come with a Console UI.
- Two ways to run: The same harness, business logic, and event log model can run self-hosted (Node.js / Docker) or on Cloudflare; the hosted version is located at https://app.openma.dev . Cloudflare deployment requires a Workers Paid plan (for Durable Objects and Containers).
- Session capabilities: Supports text and function calls (waiting for the application to return results); the Node host additionally supports dynamic sub-agents: after setting agent.multi_agent.enabled: true, the main agent can delegate subtasks, and sub-agents have independent conversations and share the parent's files, but cannot create further sub-agents.
- Long-lived sessions: GET /v1/sessions/$SESSION/events/stream can replay history on connection and never closes.
- Memory storage: A store attached to a session is mounted into the sandbox at /mnt/memory/<store_name>/, and the agent reads and writes through standard file tools (bash/read/write/edit/glob/grep); there are no dedicated memory_* tools. R2 stores the raw content (with keys <store_id>/<memory_path>), D1 stores the index and audit trail, and eventual consistency is maintained through R2 event notifications → Cloudflare Queue → Consumer. A single memory entry is capped at 100KB, versions are retained for 30 days with the latest version always retained; rollback means taking the content of a certain version and writing it as a new revision.
- MCP support: OMA registers any Model Context Protocol server attached to an agent, upstream tools are exposed as mcp__<server>__<tool>, with a maximum of 20 servers per agent; tool discovery times out after 15 seconds per server, and a single server failure is logged and skipped.
- Skills: A skill consists of a SKILL.md plus reference files. At session start, the platform mounts it at /home/user/.skills/{name}/ and inlines the SKILL.md content directly into the system prompt, in a format compatible with Anthropic's Claude Code skills. Four built-in skills—xlsx, pdf, docx, and pptx—can be attached directly.
- Credentials and Vaults: When the sandbox initiates an HTTP request, the outbound resolver (self-hosted as oma-vault sidecar, Cloudflare is the outboundByHost interceptor for the agent worker) matches the session vault by hostname, strips the incoming Authorization / x-api-key / x-goog-api-key, and injects the real credentials. Each vault holds at most 20 credentials.
- Third-party integrations: Agents can be published as Linear workspace members, GitHub Apps (independent bot identity, triggered by labels), and Slack bots (per-channel sessions).
- Model Cards: Manage LLM credentials per tenant; agents reference them via agent.model = "<model_id>"; keys are stored encrypted with AES-256-GCM under PLATFORM_ROOT_SECRET, and listings show only the last 4 characters.
- Model request controls: Controls such as model.effort and model.speed=fast are versioned with the Agent and inherited by the Session; model.inference_geo is retained in the official API but currently does not participate in runtime routing.
Usage
- Self-hosting (Docker) allows end-to-end smoke testing; Cloudflare deployment requires a Workers Paid plan.
- OpenAI Agents API quick start: use the hosted version of OpenMA or start a Node server with Docker, create an API key and configure a model, then install a supported OpenAI SDK version and point the client at your OpenMA server.
- Official documentation sites docs.openma.ai / docs.openma.dev are provided (built with Astro Starlight); the repository root docs/ holds internal design RFCs.
- Model cards can be managed via Console → Model Cards or CLI/REST (POST /v1/oma/model_cards, etc.).
- Installation help and self-hosting discussion are available through the Discord community, and reproducible bugs and feature requests are tracked using GitHub Issues.
Use cases
- Teams that need a self-hosted Claude Managed Agents API implementation.
- Node users who need OpenAI Agents API support and want persistent sessions, function continuations, and sub-agent control.
- Open-source self-hosted workflows that need BYOK model credentials.
- Scenarios that want to use MCP, private tools, encrypted vaults, and persistent sessions within their own deployment boundary.
Limitations
- The hosted version and Node support sandbox-free sessions; advanced environment and plugin settings, as well as some MCP and model options, are not yet supported, so the supported features and limitations documentation should be consulted before migrating.
- stdio server env values obtained from the environment enter the sandbox, so only restricted values should be used; control-plane credentials should not be copied into the sandbox.
- The environment (rather than the Agent declaration) is responsible for stdio dependencies; OpenMA does not infer or install packages based on the command, and a missing executable will cause a visible MCP startup failure.
- The specific configuration and operational details of the Linear, GitHub, and Slack integrations are described in the corresponding documentation and in the explanatory files under the skills directory; Slack installation requires GATEWAY_ORIGIN to point to a publicly accessible HTTPS host.
- The specific terms in the repository security policy file are not expanded in the provided materials, and the specific requirements are not yet available.