Skip to content
openma logo

openma

Verified

Open-source self-hosted implementation of Anthropic's Managed Agents API.

Autonomous AgentsAgent Frameworks 179Open source
View on GitHub
Updated 2026-06-15
openma GitHub repository

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

implement managed agents api
run self-hosted agents
support cloudflare workers
support durable objects
run on node
provide sdk wire compatibility

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

Quick start
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"}]}]}'
  1. 1Obtain the OpenMA source from its repository.
  2. 2Choose a runtime: Cloudflare Workers with Durable Objects or Node.
  3. 3Configure the environment variables required for the chosen platform.
  4. 4Start the service following the runtime-specific instructions.
  5. 5Point existing Anthropic SDK clients at the new self-hosted endpoint.

Works with

Cloudflare WorkersDurable ObjectsNode

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
Did you find this helpful?

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…

Sign in to review

Promote openma

Add this badge to your website, or share the tool.

DFeatured on Dhanasviopenma 0