A multi-agent AI system template powered by Gemini CLI.
Automate your daily operations with 10 specialized AI agents that collaborate, plan, and execute tasks β from GitHub project management to Gmail classification.
- 10 specialized sub-agents β each with a distinct role (strategist, executor, debugger, etc.)
- Gemini CLI native β runs directly in your terminal, no extra infrastructure needed
- GitHub Project v2 integration β automated task sync with Google Tasks
- Gmail auto-classification β sorts emails into actionable categories using Gemini AI
- PDCA self-improvement β agents log failures and learn from past mistakes
- Hook system β pre/post tool execution guards (secret detection, git safety, etc.)
Supported OS: Linux, macOS, Windows (WSL2 / Ubuntu recommended)
| Tool | Version | Purpose |
|---|---|---|
| Gemini CLI | latest | Core runtime |
| Node.js | v18+ | Gemini CLI dependency |
| Python | 3.10+ | Scripts & hooks |
| GitHub CLI | latest | GitHub integration |
| Git | latest | Version control |
Windows users: Tested on WSL2 (Ubuntu). Native PowerShell is not supported. See Windows automated setup below.
Required services:
- Google Workspace (Gmail, Google Drive, Google Tasks)
- GitHub account with Project v2
- Gemini API key (Get one here)
Right-click setup/setup-windows.bat β Run as administrator. The script will automatically install WSL, Ubuntu, Node.js, Gemini CLI, and GitHub CLI β then walk you through the rest.
β οΈ Security software notice: Some antivirus software (Norton, Windows Defender SmartScreen, etc.) may block.batfiles from running. If this happens:
- Allow the script in your security software, or
- Follow the manual setup below (Linux / macOS) using WSL terminal directly.
# 1. Clone this template
git clone https://github.com/YOUR_USERNAME/phantom-template.git
cd phantom-template
# 2. Run the setup wizard
bash setup.sh
# 3. Configure your API keys
# Edit .gemini/.env with your credentials
# 4. Install Gemini CLI (if not already installed)
npm install -g @google/gemini-cli
# 5. Launch!
bash phantom_startup.sh
tmux attach -t phantom:main
# To quit: type /quit in Gemini CLI, then:
bash phantom_shutdown.shπ‘ Once Navi starts, type
/initial_setup! Navi will guide you through Google OAuth, GitHub Secrets, and enabling scheduled Actions β step by step. You can skip or pause any step and resume later by running/initial_setupagain.
| Agent | Role | Specialty |
|---|---|---|
| Navi π°οΈ | Orchestrator | Coordinates all agents, talks to you |
| Queen π | Strategist | Mission planning & quality checks |
| Mona π± | Manager | Task decomposition & PR reviews |
| Skull π | Engineer | Git operations & shell execution |
| Panther π | Writer | Documentation & reports |
| Wolf πΊ | Backend | APIs & server-side code |
| Fox π¦ | Frontend | UI & client-side code |
| Noir π | Tester | Test creation & verification |
| Violet π» | Researcher | Technical research & comparison |
| Crow πͺΆ | Debugger | Bug analysis & diagnosis |
| Sophie π‘οΈ | Security | Security audits & risk checks |
phantom-template/
βββ .gemini/
β βββ system.md # Navi's core system prompt
β βββ agents/ # 10 sub-agent definitions
β βββ hooks/ # Pre/post execution guards
β βββ commands/ # Custom slash commands (/mission, /plan, etc.)
β βββ skills/ # Reusable skill documentation
βββ scripts/ # Automation scripts (sync, cleanup, etc.)
βββ phantom-antenna/ # Gmail classification module
β βββ src/skills/
βββ .github/workflows/ # GitHub Actions for scheduled tasks
- ζ₯ζ¬θͺγγγ₯γ‘γ³γ (README_ja.md)
- π° Quickstart for Beginners (Japanese)
- Prerequisites & Setup
- Google OAuth Setup
- GitHub Project v2 Setup
- Gemini CLI Setup
MIT License β see LICENSE for details.