IdeaCredIdeaCred

coder/agentapi

91

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

What's novel

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

Code Analysis

12 files read · 4 rounds

Provides an HTTP API and web chat interface to control CLI coding agents (Claude, Goose, Aider, Codex, etc.) by spawning them in a pseudo-terminal, polling the screen at 40fps, using screen diffing to detect responses, and parsing TUI output to extract clean conversation messages.

Strengths

Genuinely novel PTY-based approach to agent control with sophisticated message parsing that handles 11 different agent TUI layouts, excellent test coverage with deterministic mock-clock testing, and clean separation of concerns across termexec, screentracker, msgfmt, and httpapi packages.

Weaknesses

Relies on a fragile HACK that accesses xpty internal implementation, uses heuristic-based fuzzy matching with arbitrary constants for message parsing that may break when agent UIs change, and lacks integration tests with real agents.

Score Breakdown

Innovation
6 (25%)
Craft
75 (35%)
Traction
80 (15%)
Scope
96 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+2
Concept Novelty+2

Craft

Ci+5
Tests-5
Polish+1
Releases+5
Has License+5
Code Quality+27
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+20
Stars+30
Hn Points+15
Watchers+10
Early Traction+0
Devto Reactions+0
Community Contribs+5

Scope

Commits+8
Languages+8
Subsystems+15
Bloat Penalty+0
Completeness+7
Contributors+8
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

271

Contributors

9

Files

302

Active weeks

40

TestsCI/CDREADMELicenseContributing

Repository

Language

Go

Stars

1275

Forks

108

License

MIT