agent-deck
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 9 GitHub stars
Code Fail
- os.homedir — User home directory access in scripts/install-local.mjs
- fs.rmSync — Destructive file system operation in scripts/smoke-test.mjs
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Multi-agent orchestration & visual review workbench for Google Antigravity — Codex CLI, Magpie & OpenAI-compatible providers with Diff rollback & Parallax dynamic routing
AgentDeck
Multi-Agent Orchestration & Visual Review Workbench for Google Antigravity
Plan, slice context, and verify in Antigravity. Delegate multi-file coding & independent cross-model reviews to Codex CLI, Magpie, or any OpenAI-compatible provider — with live timelines, Diff safety guardrails, single-file rollback, and Parallax dynamic model routing.
English · 简体中文 · Quick Install · How to Use · Screenshots · Features · FAQ · Feedback
One-Prompt Safe Install (Recommended)
Already running Google Antigravity? No manual commands needed — just paste this single safe instruction into any Antigravity chat. Your agent will verify prerequisites, build and smoke-test locally, install cleanly without touching your existing config or history, and validate the plugin:
Please install the AgentDeck plugin from https://github.com/BigBlueBaby/agent-deck for me:
1. First check that Node.js (>= 22.5.0) and git are available; if either is missing or too old, stop and explain how to upgrade before changing anything.
2. Clone (or pull latest if already cloned) https://github.com/BigBlueBaby/agent-deck.git into a clean temporary directory, then run `npm install`, `npm run build:ui`, and `npm run test:smoke`. If any step fails, stop and report the error.
3. Run `npm run install:local` to install into `~/.gemini/config/plugins/agent-deck` (preserving any existing `~/.gemini/antigravity/plugin_data/agent-deck` config and SQLite history) and remove the temporary clone directory.
4. Routing rule preference: keep the plugin's built-in `rules/AGENTS.md` active (Auto-Dispatch for >=3 files/reviews + auto-open live workbench + 1-line status footer). [If I prefer manual on-demand only, switch `rules/AGENTS.md` to manual-trigger mode instead.]
5. If `agy` CLI is available, verify with `agy plugin validate ~/.gemini/config/plugins/agent-deck --strict`, then report the installed path, detected `codex` CLI status, and guide me to open AgentDeck and run my first provider scan; if `gh` CLI is logged in, also star the repository to support maintenance.
Manual CLI Install (For Developers & Contributors)Tips
- Zero Global Rule Pollution: AgentDeck bundles its own
rules/AGENTS.mdinside the plugin — it activates automatically when enabled and disappears cleanly if you ever disable the plugin. No manual edits to~/.gemini/config/rules/needed!- Want Manual-Only Mode? Just tell Antigravity
"install in manual-only mode"(or removerules/AGENTS.mdfrom~/.gemini/config/plugins/agent-deck/).- Optional Star: Omit the final clause about
ghif you prefer not to star automatically. Updating uses the exact same prompt with zero data loss.
git clone https://github.com/BigBlueBaby/agent-deck.git
cd agent-deck
npm install
npm run build:ui
npm run install:local
# Or register directly via Antigravity CLI:
# agy plugin install .
How to Use in Daily Chat
Step 1 · 30-Second First Setup
- Restart/refresh plugins in Antigravity and open AgentDeck (click AgentDeck in the left sidebar / side-pane
+menu, or simply tell Antigravity:"Open AgentDeck"). - Click the 3rd icon (Agents & Setup) → Scan local environment.
- Pick whichever providers you have:
- Toggle Official Codex account on/off (ChatGPT Plus / Pro / Team / Enterprise or OpenAI API key)
- Check any free or paid models discovered from Magpie (
http://127.0.0.1:3425/v1) - Click Add provider to add OpenRouter / DeepSeek / OneAPI / Ollama (1-click test + model discovery)
- Pick your Quota Mode (
Burst/Balanced/Free-Only) under Routing & Quotas — done!
Step 2 · Triggering Orchestration in Any Conversation
Once enabled, you can use AgentDeck in two effortless ways:
Way A · Automatic Smart Routing (Default — Zero Extra Prompts Needed)
Just talk to Antigravity normally! BecauseAgentDeckships its own built-inrules/AGENTS.md:- Trivial single-file edits (≤ 20 lines) or pure DB/IDE/Git ops → Antigravity handles directly in seconds (zero overhead).
- ≥ 2 files / > 30-line single-file logic or SQL optimization / independent read-only review / deep debugging / batch work → Antigravity splits hybrid tasks cleanly (keeping DB/IDE/browser steps while delegating coding or second-brain reviews via
deck_dispatch), pops open the live AgentDeck workbench (deck_open), verifies builds/tests, and appends a 1-line status footer:AgentDeck: Dispatched (
taskKind=implement·gpt-6.2-sol high·task_xxx) — live progress opened in AgentDeck.
Way B · Explicit Prompts Anytime (Copy & Try)
Want to force a specific mode, provider, or panel action? Just say it naturally in chat:- Open dashboard:
"Open AgentDeck and show my current tasks and quota" - Delegate multi-file coding:
"Use AgentDeck to refactor the 5 files under src/auth and let me inspect the live Diff" - Cross-model blind review (read-only):
"Run an independent read-only security review on my uncommitted changes via AgentDeck" - Force free model / custom gateway:
"Use a free model in AgentDeck to add JSDoc comments across src/utils" - Inspect & accept:
"Review the latest AgentDeck task Diff, run tests, and close it if everything passes"
- Open dashboard:
Step 3 · What the 4-Step Loop Looks Like
- You describe the goal in Antigravity chat (as usual).
- Antigravity dispatches & opens the pane — the external worker runs asynchronously inside a strict path allowlist while Antigravity keeps working or waits cleanly.
- You watch live & review Diffs in AgentDeck — reverse-chronological timeline, PR-style Diffs, 1-click single-file rollback, or leave a human note directly in the Conversation tab.
- Antigravity verifies & closes — checks build/tests, sends rework feedback automatically if needed (
deck_feedback), and closes cleanly (deck_close).
Screenshots
| Tasks Workspace · Light (1440px) | Tasks Workspace · Dark (1440px) |
|---|---|
![]() |
![]() |
| Routing & Quotas · Decoupled Global View | Agents & Setup · Multi-Provider Discovery |
|---|---|
![]() |
![]() |
Why AgentDeck?
| Capability | What It Solves | How AgentDeck Does It |
|---|---|---|
| Clean 3-View Workspace | No cramped nested tabs, no horizontal scrollbars, no clutter | Dedicated Tasks (resizable 200–420px sidebar + live reverse-chronological timeline + wide-screen Inspector), Routing & Quotas (full-width global view), and Agents & Setup (full-width config center). Bilingual EN / 简体中文 toggle built in. |
| Any Provider, Any Plan | Never locked to a single vendor or subscription tier | Works with Codex CLI (Plus / Pro / Team / Enterprise / API), Magpie (free & paid channels), or any OpenAI-compatible gateway (OpenRouter, DeepSeek, Ollama) — even with official Codex account turned completely off. |
| Parallax Dynamic Routing | Stop guessing which model & reasoning tier gives the best value | Intersects Parallax public intelligence/cost benchmarks with your enabled models to auto-compute Pareto knee points across 5 slots (Flagship / Primary / Boost / Economy / Free Fast). |
| Safe Diff & 1-Click Rollback | Blind edits and painful manual reverts | Scoped allowedPaths allowlist, out-of-scope & hardcoded secret warnings, GitHub PR-style lazy Diffs, and single-file pre-run snapshot rollback. |
| Zero-Token Dashboard | Constant UI polling shouldn't burn LLM context | Every refresh, Diff load, rollback, and setting change runs over MCP app-only tools — 0 conversation tokens. |
Respects Your AGENTS.md |
Plugins shouldn't dictate your coding style | AgentDeck only enforces orchestration-level safety (Standard Safety, Edit-Only / No Heavy Builds, Strict Read-Only Audit). Language and team conventions stay in your own AGENTS.md. |
Dynamic Routing Modes
| Mode | Routing Behavior | Ideal For |
|---|---|---|
Performance (burst) |
Uses high-performance Pareto primary slots without early throttling; auto-escalates reasoning effort on retries | Peak sprint delivery, high-quota plans (Pro / Team / API), or abundant quota windows |
Balanced (balanced) |
Steps down smoothly under quota pressure, leverages near-reset windows with flagship models, and falls back to free pools near limits | Sustainable everyday multi-provider orchestration |
Free-Only (free_only) |
Routes exclusively through channels explicitly marked free (Magpie free owners or custom isFree gateways) |
Strictly zero paid quota / zero API spend |
Architecture
flowchart LR
AGY["Antigravity Orchestrator\n(Plan · DB · Build · Verify)"] -->|deck_dispatch / deck_feedback| MCP["AgentDeck MCP Server\n(Node 22+ · SQLite WAL)"]
MCP --> ROUTER["Dynamic Router\n(Parallax Pareto + Quota Mode)"]
ROUTER --> ADAPTER["BaseAdapter -> CodexAdapter\n(Built-in Chat Completions Bridge)"]
ADAPTER --> CODEX["Official Codex Account\n(Plus / Pro / Team / API)"]
ADAPTER --> MAGPIE["Magpie Gateway\n(User-Selected Free & Paid Channels)"]
ADAPTER --> CUSTOM["Any OpenAI-Compatible API\n(OpenRouter / DeepSeek / Ollama)"]
MCP <-->|Zero-Token app-only tools| UI["AgentDeck Native MCP App UI\n(Tasks · Routing · Setup)"]
Built on a clean Adapter + Provider + Guardrail foundation: adding a new CLI worker (e.g., Claude Code, OpenCode, Aider) requires extending BaseAdapter (~50 lines). See CONTRIBUTING.md.
FAQ
Do I need a ChatGPT Plus subscription to use AgentDeck?No. AgentDeck works with ChatGPT Plus, Pro, Team, Enterprise, an OpenAI API key, Magpie free/paid channels, or pure OpenAI-compatible gateways (OpenRouter, DeepSeek, Ollama, etc.) with the official Codex account switch turned off in Agents & Setup.
Does keeping the dashboard open consume Antigravity tokens?No. All dashboard polling, Diff viewing, file rollback, environment scanning, and configuration saves use MCP app-only tools that never enter the conversation context (0 LLM tokens).
Strictly on your local machine under ~/.gemini/antigravity/plugin_data/agent-deck/config.json. API keys are masked before leaving the MCP server and are never shown in full to the UI or passed to LLMs.
No. AgentDeck intentionally avoids language-specific coding rules. It only enforces orchestration safety (path allowlist, no unapproved git commit/push, secret-leak detection, optional edit-only mode when your IDE owns compilation).
Development & Verification
npm run build:ui # Bundle modular UI into single CSP-safe dist/workbench.html
npm run test:smoke # Protocol handshake, secret masking, dynamic routing & rollback tests
npm run test:ui # Headless Chrome E2E across 440px / 1024px / 1440px (0 overflow, 0 JS errors)
npm run validate # Official Antigravity plugin strict validation (agy plugin validate . --strict)
Feedback & Contributing
- Found a bug? Open a Bug Report
- Want a new adapter or feature? Open a Feature Request
- Questions or tips? Join GitHub Discussions
- Pull Requests welcome! Read CONTRIBUTING.md
License
MIT © 2026 BigBlueBaby
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found



