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.
| 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.
git clone https://github.com/domuk-k/open-managed-agents && cd open-managed-agents
docker compose up -dServer: http://localhost:8080. Set LLM endpoint in docker-compose.yml or env vars below.
curl -fsSL https://github.com/domuk-k/open-managed-agents/releases/latest/download/install.sh | bash
oma server startgo install github.com/domuk-k/open-managed-agents/cmd/oma@latest
# or
npm install -g @oma/cli
oma server start --port 8080Homebrew: domuk-k/homebrew-oma
# 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>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."
}'| 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) |
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.
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)
make build # → bin/oma
make dev # go run server
make test
make lint
make dockerPrerequisites: Go 1.26+, CGO (SQLite), Docker optional for sandboxing.
Linux and macOS only. Windows is not supported.
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.
- oh-my-workflow — orchestrate external agent CLIs as workflow nodes
- homebrew-oma — macOS tap
- domuk-k — more agent infrastructure projects