# coder/agentapi

HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex

Repository: https://github.com/coder/agentapi
Canonical: https://ross.abutalabs.com/products/agentapi
Language: Go
License: MIT
License Family: permissive
Last push: 2026-05-27T15:06:20+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 84, release rhythm 86, longevity 36
- inputs: {"age_days": 513, "days_push": 98, "days_rel": 98, "gap_med": 6, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1489, forks 136 (observed 2026-08-28T04:04:52.235531+00:00)

## What it is
AgentAPI is a Go-based HTTP server that exposes a unified REST API for controlling terminal coding agents like Claude Code, Aider, Goose, Gemini CLI, Codex, and Cursor CLI. It also ships a built-in chat web interface and can serve as a backend for MCP servers that let one agent control another.

## Use cases
- control claude code from an http api
- build a unified chat interface for coding agents
- let one ai agent control another coding agent via mcp
- automate submitting pull request reviews to a coding agent
- programmatically send messages and read conversation history from aider or goose
- integrate terminal coding agents into ci pipelines

## When to choose
- you need programmatic HTTP access to terminal-based coding agents
- you want one consistent API across multiple agent CLIs like Claude Code, Codex, and Aider
- you're building an MCP server or chat UI on top of coding agents

## When to avoid
- you only use a single coding agent and its native API or SDK suffices
- you need a fully managed cloud service rather than a self-hosted binary
- your agents don't run in a terminal

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, agent-framework, mcp, chat-interface, cli
- domain: large-language-models, developer-tools, apis
- platform: windows, cli, go, self-hosted
- tags: coding-agents, claude-code, aider, gemini-cli, codex, http-api, terminal-agents, ai-agents, automation, linux, macos

## Member repositories
- coder/agentapi (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.235531+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:40.626045+00:00, confidence not recorded.
  - readme: https://github.com/coder/agentapi (fetched 2026-08-28T04:04:52.235531+00:00, sha 4fe390025f82)
- Data as of 2026-08-30T08:39:29.467469+00:00.
