- Open the public Cloudflare Pages demo
- Scope: credential-free, synthetic-data demo for reviewers and evaluators.
One orchestration harness, multiple coding-agent CLIs. Drive Gemini CLI or Qwen CLI from the same agents, workflows, prompts, hooks, MCP tools, and team primitives.
Multi-CLI Pilot is the successor to
gemini-pilotandqwen-pilot. Both repos have been consolidated here and the Gemini-only APIs are preserved as deprecated aliases — existinggp/gemini-pilotcommands continue to work.
A multi-agent CLI harness that shows how complex coding work can be coordinated without losing traceability.
| Area | Details |
|---|---|
| Users | Engineering teams, automation leads, and internal platform groups experimenting with agent-assisted development. |
| System scope | Prompt management, workflows, coordination, task queues, and MCP support in a reviewable CLI surface. |
| Operating boundary | Agent output remains advisory and approval-required; production repositories should keep human approval and CI gates. |
| Evaluation path | Run the local test/build scripts and inspect the workflow examples and coordination docs. |
- Start here: Run a simple workflow, then inspect how provider switching and team coordination are represented.
- Local demo: Run the installer or
npm install && npm run build, then use the CLI examples under Quick Start. - Checks: Run
npm run verify; it covers lint, typecheck, tests, and build.
- Service launch playbook maps the repository to its product scope, operating gates, operating boundaries, and risk controls.
- Architecture guide summarizes the system scope, first files to inspect, runtime commands, and known boundaries.
- Quality notes lists the local checks, CI surface, and release expectations for this repository.
- Enterprise readiness notes outlines security, data, operations, integration, and handoff expectations.
Coding-agent CLIs ship fast but each one ends up with its own agents, workflows, and tmux scripts. Multi-CLI Pilot abstracts the CLI behind a provider adapter so the harness, HUD, MCP server, and tool- reliability pipeline stay the same regardless of which CLI you target.
flowchart LR
subgraph UX["UX"]
CLI[mcp / gp]
HUD[HUD display]
end
subgraph Core["Multi-CLI Pilot Core"]
Config[Config + Env<br/>provider, models, approval]
Agents[16 Agents + Registry]
Workflows[10 Workflows]
Hooks[Hook Manager]
Team[Team Coordinator<br/>plan/execute/verify/fix]
Harness[Harness<br/>session + metrics + state]
MCP[MCP Server<br/>tools exported]
ToolRel[Tool-Call Reliability<br/>parser + middleware]
end
subgraph Providers["Provider Adapters"]
Gemini[Gemini CLI<br/>gemini]
Qwen[Qwen CLI<br/>qwen]
end
CLI --> Config
CLI --> Workflows
CLI --> Agents
Config --> Harness
Harness --> Providers
Workflows --> Harness
Team --> Harness
Hooks --> Harness
MCP --> Harness
HUD --> Harness
ToolRel --> Harness
- 16 Specialized Agents — architect, executor, debugger, architecture-reader, test-engineer, and more, each with a role prompt plus a tool-calling optimization prompt.
- 10 Built-in Workflows — autopilot, deep-plan, sprint, investigate, tdd, architecture-cycle, refactor, deploy-prep, clarification, team-sync.
- Provider Adapter — pick
geminiorqwenvia config or env. Swapping providers swaps the binary, default models, and install instructions. - Team Coordination — phase-based pipeline (Plan → Execute → Verify → Fix) with quality gates and shared state.
- Session Metrics — prompts sent, estimated tokens, latency samples, wall-clock elapsed — persisted to session state.
- Tool-Call Reliability — parser and middleware for hardening tool-call output across providers.
- Hook System — event-driven hooks for extending harness behavior (session-start, session-end, error, …).
- MCP Server — Model Context Protocol integration so the harness can be driven from any MCP-aware client.
- HUD Dashboard — real-time metrics display with tmux integration.
- State Persistence — JSON state, memory, and notepad stored in
.gemini-pilot/(directory name kept for backward compatibility).
- Download or clone this repo
- Double-click
Install-Mac.command - Open Terminal and type
mcp --help(or the legacygp --help)
- Download or clone this repo
- Double-click
Install-Windows.bat - Open CMD and type
mcp --help
git clone https://github.com/KIM3310/multi-cli-pilot.git
cd multi-cli-pilot
chmod +x Install-Linux.sh && ./Install-Linux.shnpm install
npm run build
npm linkThe npm registry package is not published. The repository is marked private until package ownership, release signing, and support policy are in place.
- Node.js ≥ 20.0.0
- One of the supported coding-agent CLIs on
$PATH:- Gemini —
npm install -g @google/gemini-cli(default,gemini-3.1-profamily) - Qwen —
npm install -g @qwen-code/qwen-code(qwen3-coder-plusfamily)
- Gemini —
# Run with the default provider (Gemini)
mcp
# Switch to Qwen for the current session
MCP_PROVIDER=qwen mcp
# Legacy aliases still work
gp
gemini-pilotThe provider is resolved from the first matching source:
MCP_PROVIDER(or the legacyGP_PROVIDER) environment variableproviderfield in.gemini-pilot/config.json(project)providerfield in~/.config/gemini-pilot/config.json(user)- Built-in default (
gemini)
Example project config:
When provider is set to qwen and models.* entries have not been
overridden, the loader substitutes Qwen tier defaults
(qwen3-coder-plus / qwen3-coder / qwen3-coder-flash)
automatically.
multi-cli-pilot/
AGENTS.md # Master orchestration contract
prompts/ # 16 agent role prompts (markdown)
workflows/ # 10 workflow definitions (markdown with frontmatter)
src/
agents/ # Agent registry
benchmark/ # Benchmark runner
cli/ # CLI entry point
config/ # Config loader, schema, provider resolution
errors/ # Error codes
harness/ # Session harness (provider-aware)
hooks/ # Event hook manager
hud/ # HUD renderer
init/ # `mcp init` templates
mcp/ # MCP server integration
metrics/ # Runtime session metrics tracker
plugins/ # Prompt/workflow plugin loader
prompts/ # Prompt file loader
providers/ # Provider adapter layer (Gemini, Qwen)
state/ # State manager and schema
team/ # Team coordinator (plan/execute/verify/fix)
tool-bench/ # Tool-calling benchmark harness
tool-reliability/ # Tool-call parser + middleware
utils/ # fs, logger, small helpers
workflows/ # Workflow runner
__tests__/ # Vitest unit and integration suite
| Command | Description |
|---|---|
mcp init |
Scaffold .gemini-pilot/ with config, memory, workflows |
mcp |
Launch an interactive session with the active provider |
mcp config show |
Print the resolved configuration |
mcp workflows list |
List available workflows |
mcp workflows run <name> |
Execute a workflow end-to-end |
mcp agents list |
List registered agents |
mcp team |
Start a tmux-based multi-agent team |
- The legacy binary aliases
gpandgemini-pilotcontinue to work in the source distribution. - Existing imports of
GeminiPilotConfig/GeminiPilotConfigSchemaare retained as deprecated type aliases pointing at the newMultiCliPilotConfig/MultiCliPilotConfigSchemanames. - The state directory is still
.gemini-pilot/so existing projects don't need to migrate anything.
npm install
npm run typecheck # strict TypeScript
npm test # Current config, harness, team, and MCP suites
npm run lint # biome
npm run build # emit to dist/MIT — see LICENSE.
- Cloud + AI architecture blueprint
- Machine-readable architecture manifest
- Validation command:
python3 scripts/validate_architecture_blueprint.py
- Product operating model defines the product scope, trust boundary, operating checks, and service path for this repository.
- System architecture maps the runtime boundary, data/control flow, cloud or local deployment surface, and operating assumptions for this repository.
- Service architecture defines the cloud resources, account information, cost controls, and production guardrails needed to turn this repo into a scoped service without publishing public financial assumptions.
- Public entry: free CLI recipes and demo tasks
- Paid boundary: team workflow library, hosted run history, and provider cost dashboard
- Canonical URL: https://multi-cli-pilot.pages.dev/
- Lead capture: https://kim3310-doeon-kim-portfolio.pages.dev/?offer=multi-cli-pilot&inquiry=agent-reliability-audit#private-inquiry
- Resource route: https://kim3310-doeon-kim-portfolio.pages.dev/resources/multi-cli-pilot/
- Commercial route: https://kim3310-doeon-kim-portfolio.pages.dev/?offer=multi-cli-pilot#service-offers
- Machine-readable offer: docs/service-offer.json
- Search growth implementation: docs/search-growth-implementation.md
- Revenue architecture: docs/revenue-architecture.md
- Public utility and architecture checklist
- Revenue model: contextual advertising on the policy-eligible central resource page.
- Aggregate value: anonymous aggregate CLI reliability topic interest and worksheet usage counts
- Boundary: ads allowed only on public CLI reliability resources; command traces, terminal logs, and diagnostics are ad-free
- Consent defaults off, DNT/GPC fail closed, and personal or sensitive data is never sold.
{ "provider": "qwen", "session": { "approvalMode": "auto", "defaultTier": "balanced" } }