ccish: Google's Antigravity Agent, Claude Code's Terminal UI
Terminal coding agents differ enough in UX that muscle memory alone can push developers back to a familiar tool even when another agent's model is stronger. ccish shows how a structured protocol like ACP makes interface preference separable from agent choice, so users can mix and match without waiting for vendors to copy each other's UIs.
ccish is an open-source terminal tool that runs Google's Antigravity CLI (`agy`) through the Agent Client Protocol (ACP) and renders the session with a Claude Code-style interface. The underlying agent and its Gemini model stay untouched; only the terminal presentation, keybindings, permission prompts, and command menu change. No API key is required, the locally installed agy keeps its credentials, and no telemetry leaves the machine.
The implementation deliberately avoids screen-scraping. ccish consumes the structured ACP event stream agy exposes via `agy acp`, normalizes agy's spec deviations through a per-agent profile, and drives an Ink-based React terminal UI. Instead of approximating Claude Code's look from memory, real Claude Code sessions were measured in a pseudo-terminal and compiled into style tokens; every color, glyph, indentation, and animation value is read from those tokens. Testing spans replay of recorded sessions, seeded property tests for invariants like line width and cursor alignment, pseudo-terminal end-to-end acceptance checks (314 items currently passing), and monkey tests where a fake agent spams random output.
The architecture separates pure core logic, drivers, and per-agent profiles, so adding another ACP-compliant agent mostly means writing a new profile. MIT-licensed and currently targeting agy, ccish is designed for other ACP agents to plug in.
Measuring real Claude Code's rendering through pseudo-terminal replay and compiling it into machine-readable style tokens is a more reliable way to clone a UI than hardcoding hex colors and spacing; it gives the project a spec to test against rather than a vibe to approximate.
A wrapper doesn't need to reproduce everything; passing through to agy's own UI for anything ccish can't render, like `/usage`, keeps the surface area small and the fallback honest.
Structured event consumption over screen-scraping keeps the wrapper maintainable, but it puts ccish at the mercy of agy keeping `agy acp` stable, since every spec deviation must be tracked in a profile.