What is AgentDock?
AgentDock's architecture: a local desktop shell around the coding-agent CLIs you install and authenticate yourself.
AgentDock is a native desktop shell built on Electron and React. It does not run any AI model itself and does not provide accounts, API keys, or billing — it spawns and manages coding-agent CLIs that are already installed on your machine, and gives them a unified conversation UI.
How it's put together
AgentDock's Electron main process owns everything CLI-related: it detects installed agent CLIs on your system, spawns them as child processes, and maps each agent's own event or output format into a shared internal event model. It talks to each agent differently under the hood:
- Claude Code and Codex are driven through their official SDKs (
@anthropic-ai/claude-agent-sdkand@openai/codex-sdk), which give AgentDock structured, typed events. - Antigravity is driven through a PTY (pseudo-terminal) session using
node-pty, since it has no SDK — AgentDock classifies the raw terminal output to detect things like permission prompts and authentication errors.
The renderer (the React UI you interact with) subscribes to that event stream over Electron IPC and renders it as a conversation, without needing to know which agent produced it. That's what makes the chat experience consistent across Claude Code, Codex, and Antigravity even though the three CLIs work very differently internally.
What runs where
Note
Everything happens on your machine. AgentDock stores session, workspace, and message data locally in a SQLite database (via sql.js) inside your OS's per-user application data directory. There is no remote backend, no account system, and no telemetry.
Model access, usage limits, billing, and authentication are entirely between you and each agent's own provider (Anthropic, OpenAI, or Google). See Connecting your coding agents for what that means in practice.
Git integration
Where AgentDock does shell out to a real external tool is Git: the Git changes drawer uses the git executable configured in Settings (git on PATH by default) to show diffs and revert files for your active workspace.