Skip to content

About

Open-source Claude Managed Agents clone in Go. Provider-agnostic, self-hosted, single binary.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

open-managed-agents (OMA)

CI Go License: MIT

Self-hosted managed agents platform — create, run, and orchestrate AI agents with sandboxed environments. Single Go binary, provider-agnostic LLM, REST + SSE.

Open-source alternative to Claude Managed Agents. Bring your own model endpoint (Ollama, LM Studio, vLLM, OpenAI, Anthropic via proxy) and keep execution on your infrastructure.


Why OMA?

Need OMA
Run agents on your servers Single binary + SQLite, no managed cloud lock-in
Any OpenAI-compatible API Swap OMA_LLM_BASE_URL — local or cloud
Sandboxed tool execution Docker or local sandbox backends
Integrate via HTTP REST CRUD + SSE session streaming
Ship fast docker compose up or oma server start

Built-in tools: bash, file read/write/edit, glob, grep. MCP client integration included.


Quick start

Docker (recommended)

git clone https://github.com/domuk-k/open-managed-agents && cd open-managed-agents
docker compose up -d

Server: http://localhost:8080. Set LLM endpoint in docker-compose.yml or env vars below.

Install script

curl -fsSL https://github.com/domuk-k/open-managed-agents/releases/latest/download/install.sh | bash
oma server start

Go / npm

go install github.com/domuk-k/open-managed-agents/cmd/oma@latest
# or
npm install -g @oma/cli

oma server start --port 8080

Homebrew: domuk-k/homebrew-oma


CLI walkthrough

# 1. Start server
oma server start --port 8080

# 2. Create agent + environment + session
oma agents create --name "Coder" --model "openai/gpt-4o" --system "You are a coder"
oma env create --name "sandbox" --type docker
oma sessions create --agent <agent-id> --env <environment-id>

# 3. Stream events (SSE)
oma sessions stream <session-id>

REST example

curl -X POST http://localhost:8080/v1/agents \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Coder",
    "model": "openai/gpt-4o",
    "system_prompt": "You are a helpful coding assistant."
  }'

Configuration

Variable Description Default
OMA_PORT HTTP port 8080
OMA_DB_PATH SQLite path ./data/oma.db
OMA_SANDBOX_TYPE local or docker local
OMA_LLM_BASE_URL OpenAI-compatible base URL http://localhost:1234/v1
OMA_LLM_MODEL Default model qwen3.5-35b-a3b
OMA_LLM_API_KEY Provider API key (empty)
OMA_API_KEY Protect OMA server itself (empty)

API surface

All routes under /v1.

Resource Highlights
Agents CRUD, archive, version history
Environments Docker or local sandbox profiles
Sessions Create, post events, SSE stream, pause/resume, evaluation

See route handlers under internal/api/ for the full OpenAPI-shaped surface.


Architecture

cmd/oma/              CLI entrypoint (cobra)
cli/                  server, agents, environments, sessions
internal/
  api/                Echo HTTP + SSE
  session/            Session engine, EventBus
  llm/                Provider interface (OpenAI-compatible)
  sandbox/            Docker / local backends
  tools/              bash, file_*, glob, grep
  mcp/                MCP client
  store/              SQLite (sqlc)

Development

make build    # → bin/oma
make dev      # go run server
make test
make lint
make docker

Prerequisites: Go 1.26+, CGO (SQLite), Docker optional for sandboxing.

Linux and macOS only. Windows is not supported.


Status & roadmap

OMA is early but runnable — suitable for self-hosted experiments and internal tooling. Not a drop-in production replacement for Anthropic Managed Agents yet; API and UX will evolve.

Next: hardened auth, richer evaluation hooks, workflow import from oh-my-workflow.

Related

License

MIT

About

Open-source Claude Managed Agents clone in Go. Provider-agnostic, self-hosted, single binary.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages