Hasty Briefsbeta

Bilingual

Show HN: AgentAPI – HTTP API for Claude Code, Goose, Aider, and Codex

a year ago
  • #coding-agents
  • #API
  • #automation
  • AgentAPI allows control of coding agents like Claude Code, Goose, Aider, and Codex via an HTTP API.
  • Use cases include building unified chat interfaces, MCP server backends, and pull request review tools.
  • Install via binary download or `go install github.com/coder/agentapi@latest`.
  • Run a server with `agentapi server -- claude` and interact via endpoints like `/message` and `/messages`.
  • Demo web chat interface available at https://coder.github.io/agentapi/chat.
  • Supports additional agents like Aider and Goose with specific arguments.
  • Exposes OpenAPI schema and documentation UI at `/openapi.json` and `/docs`.
  • Features terminal session attachment with `agentapi attach`.
  • Parses terminal output into user and agent messages, stripping unnecessary TUI elements.
  • Future plans include potential deprecation if standardized SDKs emerge or becoming a universal adapter.