Agent Deck

Keep the way you work consistent across coding agents and workspaces. Agent Deck gives every agent the right playbooks, tools, and credentials from one governed source of truth.

Watch the 100-second overview — one playbook across agents and workspaces.
Why · Quick Start · How learning works · Delegate · Everyday commands · Docs
Bringing a friend (or starting cold)? Follow the one-page friend path: cold machine → first deck switch → first Dealer issue.
Why
You teach one coding agent how you work: how to open a PR, write a ticket, check a release, or use your knowledge base. Then you switch to another agent and teach it all again.
- Consistency across agents. The same playbook can guide Claude Code, Codex, Cursor, or another MCP client. You maintain one procedure instead of separate copies for every agent.
- Consistency across workspaces. Reusable PR rules, ticketing procedures, UI principles, and knowledge-base workflows live in one collection. Attach them to the decks that need them instead of duplicating them across repositories.
- One governed source of truth. A deck bundles the MCP services, credentials, and playbooks for one context. The agent sees only that deck. Switch decks instead of rewiring agents; improve a playbook once and reuse the lesson everywhere.
One MCP endpoint, registered once.
The execution half is agent-dealer: queue tasks against a deck, approve the plan before anything runs, execute headless under budget caps, review results, and gate every outbound send — Dealer runs consume deck playbooks and file patch proposals back.
Quick Start
The local desktop quick start uses macOS Keychain. For single-owner Linux hosting, see Deployment.
Requirements: Node.js 22+ · npm · Dashboard via agent-deck start / agent-deck open (listens on 127.0.0.1:1111) · Agent Deck MCP http://127.0.0.1:1110/mcp
1. Install and launch (managed install — auto-updates, keeps existing ~/.agent-deck data):
npx @agent-deck/cli@latest install
export PATH="$HOME/.local/bin:$PATH"
agent-deck start --daemon
2. Register Agent Deck in your agent (once per machine; <client> is codex, cursor, claude, or muse):
agent-deck setup --client <client>
Per-client details, restart and verify steps, and what setup installs: Agent harness.
3. Create a deck in the dashboard (My Decks → create a deck → drag cards from My Collection), or ask the agent in chat to create one.
4. Register playbooks (agent-first). Describe the procedure in chat — e.g. “Add a release checklist playbook with trigger ‘ship to npm’.” Let the agent register it and attach it to your deck.
5. Add external MCP servers and API keys (Linear, Notion, Slack, …) in the dashboard — OAuth in the browser, API keys pasted once into Keychain — then drag the cards onto your deck.
6. Check the session’s deck. Tell the agent which deck — “use the dev deck”, or mid-session “switch to my personal deck” — and approve the switch as This session only or This workspace by default. The connection needs no per-folder setup: sessions without a folder pin bind to your default deck (agent-deck default <deck> sets it); existing agent-deck use pins stay valid and keep precedence. See session binding.
Same decks on another machine: keep ~/.agent-deck/ in a private Git repository you own, push and pull it yourself, then run agent-deck reindex — see Store format.
How learning works
When you correct a playbook-driven result, Agent Deck turns the lesson into a reviewable patch proposal so future sessions start from what you taught it. Corrections become proposals you review in the dashboard (Playbook patches); accepted changes update the deck. Every run makes the next one better.
Agents discover the bound deck’s triggers at runtime and fetch matching playbooks. Accepted edits require no stub refresh.
Delegate to another agent