openma
VerifiedOpen-source self-hosted implementation of Anthropic's Managed Agents API.
What is openma?
OpenMA is an open-source project that replicates Anthropic's Managed Agents API so teams can run it on their own infrastructure instead of using the managed service.
It achieves compatibility by matching the wire protocol of the official SDKs, letting existing code connect without modification while supporting deployment on Cloudflare Workers plus Durable Objects or on Node.
The tool is intended for developers and organizations that want to keep agent execution under their own control and avoid external managed dependencies.
Capabilities
What you can build with openma
Private agent hosting
Run Anthropic-compatible agents entirely within self-managed environments.
SDK-compatible migration
Switch from the official managed API to a local instance while keeping current SDK integrations intact.
Flexible runtime choice
Deploy the same agent code on either Cloudflare Workers with Durable Objects or a Node environment.
Install openma
AID=$(curl -s -X POST localhost:8787/v1/agents -H 'content-type: application/json' \
-d '{"name":"hello","model":"claude-sonnet-4-6","tools":[{"type":"agent_toolset_20260401"}]}' | jq -r .id)
SID=$(curl -s -X POST localhost:8787/v1/sessions -H 'content-type: application/json' \
-d "{\"agent\":\"$AID\"}" | jq -r .id)
curl -s -X POST localhost:8787/v1/sessions/$SID/events -H 'content-type: application/json' \
-d '{"events":[{"type":"user.message","content":[{"type":"text","text":"Run: uname -a"}]}]}'- 1Obtain the OpenMA source from its repository.
- 2Choose a runtime: Cloudflare Workers with Durable Objects or Node.
- 3Configure the environment variables required for the chosen platform.
- 4Start the service following the runtime-specific instructions.
- 5Point existing Anthropic SDK clients at the new self-hosted endpoint.
Works with
openma: pros & cons
Pros
- +Apache 2.0 license permits broad reuse and modification
- +Wire compatibility allows existing SDK code to work unchanged
- +Choice of Cloudflare Workers or Node deployment gives deployment flexibility
- +Self-hosted model keeps all agent traffic under user control
Cons
- –Users must handle their own hosting, scaling, and uptime
- –Feature parity depends on continued community maintenance
- –No built-in managed-service extras such as automatic scaling dashboards
Frequently asked questions
It matches the wire protocol of the official SDKs, so client code can connect without changes.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…