Open Agent API

Open Agent API is a self-hosted gateway that turns agents into an API, so any OpenAI, Claude, or Gemini SDK client can call a complete agent with its own tools and permissions instead of a bare model. Change the base URL, put an agent name such as agent/research in the model field, and each request becomes a task that loops through tools, remembers earlier turns, and stops when a sensitive action needs sign-off. Behind a name you can run a built-in agent on Ollama, DeepSeek, OpenAI, Anthropic, Gemini, or OpenRouter, or wrap Codex, Claude Code, an ACP agent, or a remote A2A agent. The web console opens on the tasks waiting for you, lists every run with status filters, and expands one into a timeline showing the command it wants to run beside Approve and Reject buttons. Runs can be cancelled and resumed, repeated calls with an Idempotency-Key execute once, and signed webhooks, cron schedules, and inbound triggers start or report work. Agents keep searchable memory across sessions and stream artifacts back to the caller. Callers can force a tool choice, request schema-validated JSON, and attach images for agents that accept them. Turn on the developer platform and outside developers register, create their own keys in a portal, and call the agents you list, billed in credits per task. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Open Agent API
Open Agent API
Open Agent API
Open Agent API
Open Agent API
Open Agent API
Open Agent API

Benefits

  • Call agents with existing SDKs
  • Official OpenAI, Anthropic, and Google SDKs, plus MCP clients, work unchanged: only the base URL and an agent name in the model field differ, so adoption needs no client rewrite.
  • Human approval before risky actions
  • A run that reaches a sensitive tool call parks in requires_action until someone approves it in the console, terminal, desktop tray, or API, and then the same task finishes.
  • Tasks survive crashes and retries
  • Every call becomes a durable task with checkpoints, cancel and resume, and Idempotency-Key protection, so a retried request cannot run the same work twice.
  • Offer agents as a platform
  • The optional developer portal lets outside developers sign up, create scoped sk-oaa keys, and call the agents you list, with per-task prices held from a credit balance.

Features

  • Four Protocols, One Gateway
  • Serves OpenAI Chat Completions and Responses, Claude Messages, Gemini generateContent, and MCP from one endpoint, accepting Bearer, x-api-key, and x-goog-api-key headers.
  • Agents From Many Engines
  • Runs agents written in OAA-Lang or JSON on the built-in kernel, or wraps Codex CLI, Claude Code, Antigravity, ACP agents, custom adapters, and remote A2A agents.
  • Console and Task Inspector
  • The browser console offers an overview, a filterable task list, a timeline inspector with approvals, a workbench for test calls, and one-click MCP bridges for Claude Desktop, Cursor, and Windsurf.
  • Scheduling, Webhooks, Memory
  • Cron and SHA-256-authenticated webhook triggers start runs, signed webhooks report them, and SQLite FTS5 memory tools let agents read, write, and search context across sessions.
  • Structured Output and Images
  • Enforces schema-validated JSON through response_format and its Claude and Gemini equivalents, forces tool_choice, and accepts image input on every endpoint for agents that support it.
  • Observability and Docker
  • Exposes Prometheus /metrics and W3C traceparent, ships a Docker Compose file with a persistent /data volume, and keeps state in a single SQLite database.

Apps Similar to Open Agent API