AgentDock

1.7k

Aider

Use Aider with the Dock workspace. Aider does not speak MCP, so the integration runs through the CLI. Combine `aider` for code edits with `agentdock` for documents, citations, and publishing in the same terminal session.

Aider is a terminal-first coding agent. It does not speak MCP. The integration with the Dock workspace runs through the AgentDock CLI, which sits alongside aider in your shell.

This means you do not get the "Aider calls AgentDock as a tool" pattern. You get the "you drive both from one terminal" pattern, which is the original Aider promise.

npm install -g agentdockai
agentdock login

Approve the device in the browser. The CLI stores an ak_usr_* token under ~/.agentdock/config.json.

Confirm:

agentdock whoami
Screenshot
terminal split with aider in the top pane and agentdock in the bottom pane.

Pane 1: Aider, doing code work

aider apps/api/src/stream/handler.ts

Pane 2: AgentDock, doing prose work

agentdock docs prompts
agentdock docs list            # copy the target document's id
agentdock docs read <doc-id>

The handoff between them is markdown. When Aider finishes a code change, copy the diff context, switch panes, and:

agentdock docs write <doc-id> /tmp/diff-summary.md

Or use the suggest-mode flow so you can review the prose change:

agentdock docs suggest <doc-id> "OLD TEXT" "NEW TEXT"

The suggestion lands in your AgentDock library. Accept or reject from the editor.

When the doc is ready:

agentdock docs publish <doc-id> \
  --seo-title "Streaming SSE Patterns for AI Agents" \
  --slug streaming-sse-patterns \
  --seo-description "How to ship reliable streaming responses from agent backends."

The page goes live at /p/streaming-sse-patterns. No browser needed.

Video
60-second screencast of the Aider + AgentDock terminal flow ending in a published page.

Aider is opinionated about being a single-purpose CLI for code. It does not load MCP servers, by design. The CLI is the integration point. If you want full MCP-driven workflows, use Claude Code or Cursor for the prose work and keep Aider for the code.

agentdock: command not found. The npm global bin is not on your PATH. Run npm config get prefix and add <prefix>/bin to PATH in your shell rc.

401 from agentdock. Token expired. agentdock login again.

Tried to use Aider's /run to call agentdock and the diff swallowed everything. Aider's /run captures output as context, which can be huge if you call agentdock docs read. Run AgentDock commands in the other pane instead.