Show HN: AgentAPI – HTTP API for Claude Code, Goose, Aider, and Codex
Published on: 2025-04-22 21:54:58
AgentAPI
Control Claude Code, Goose, Aider, and Codex with an HTTP API.
You can use AgentAPI:
to build a unified chat interface for coding agents
as a backend in an MCP server that lets one agent control another coding agent
to create a tool that submits pull request reviews to an agent
and much more!
Quickstart
Install agentapi by either: Downloading the latest release binary from the releases page
Or building from source: go install github.com/coder/agentapi@latest Verify the installation: agentapi --help On macOS, if you're prompted that the system was unable to verify the binary, go to System Settings -> Privacy & Security , click "Open Anyway", and run the command again. Run a Claude Code server (assumes claude is installed on your system and in the PATH ): agentapi server -- claude If you're getting an error that claude is not in the PATH but you can run it from your shell, try which claude to get the full path and use that instead. Send a message to the agent: curl -X P
... Read full article.