Gadugi is a multi-agent system for AI-assisted coding. It takes its name from the Cherokee word (gah-DOO-gee) that means communal work - where community members come together to accomplish tasks that benefit everyone, sharing collective wisdom and mutual support.
Step 1: Download the Gadugi updater
curl -fsSL https://raw.githubusercontent.com/rysweet/gadugi/main/install.sh | sh
This downloads the gadugi-updater
agent to .claude/agents/
.
Step 2: Install Gadugi
/agent:gadugi-updater install
The gadugi-updater will:
- Download and run the installation script
- Install all Gadugi agents to
.claude/agents/
- Set up Python environment in
.claude/gadugi/.venv/
- Configure the system
- Keep everything isolated from your project
After installation, you can use any Gadugi agent:
/agent:orchestrator-agent # Coordinate parallel workflows
/agent:workflow-manager # Execute development workflows
/agent:code-reviewer # Review code changes
/agent:gadugi-updater update # Update agents to latest versions
/agent:gadugi-updater status # Check installation status
/agent:gadugi-updater uninstall # Remove Gadugi (keeps updater)
/agent:gadugi-updater help # Show available commands
A first draft-ish version helps with automated coding using Claude Code. It could be adapted to GH Copilot or Roo Code pretty easily - thats coming. It is already capable of self-hosting - I used a previous draft to rebuild itself into this one, and its now busy building a few versions of the next ones. I gaurantee its buggy and messy and that there are massive inconsistencies and quality gaps, but its starting to be functional. This version is integrated with GitHub, ADO coming soon.
This initial release of Gadugi provides a multi-agent system for AI-assisted software development. The v0.1 milestone includes 27 completed issues establishing core functionality. The system uses an orchestrator to coordinate task execution across isolated git worktrees. Development follows an 11-phase process from issue creation through code review.
The release includes VS Code integration, GitHub workflow automation, and support for UV Python projects with testing integration. Multiple specialized agents handle different development tasks - writing prompts, creating tests, and reviewing code. The system includes pre-commit hooks and automated testing to help maintain code quality.
Gadugi provides a collection of reusable AI agents that work together (and in parallel) to enhance software development workflows. While currently implemented for Claude Code, the architecture is designed to be agent-host neutral and can be adapted to other AI coding assistants.
The Cherokee concept of Gadugi represents:
- ᎦᏚᎩ (Gadugi) - Communal Work: Agents working together for mutual benefit
- ᎠᏓᏅᏙ (Adanvdo) - Collective Wisdom: Sharing patterns and knowledge
- ᎠᎵᏍᏕᎸᏗ (Alisgelvdi) - Mutual Support: Agents helping each other
- ᎤᏂᎦᏚ (Unigadv) - Shared Resources: Pooling tools and capabilities
Gadugi implements a sophisticated multi-agent architecture with four distinct layers, each serving specific roles in the development workflow:
graph TD
subgraph "🔵 Orchestration Layer"
direction TB
OA[orchestrator-agent<br/>🎯 Main Coordinator<br/>Parallel execution planning]
TA[task-analyzer<br/>🧠 Dependency Analysis<br/>Task decomposition]
WM[worktree-manager<br/>🌿 Environment Isolation<br/>Git worktree lifecycle]
EM[execution-monitor<br/>📊 Progress Tracking<br/>Parallel monitoring]
OA --> TA
OA --> WM
OA --> EM
end
subgraph "🟢 Implementation Layer"
direction TB
WF[workflow-manager<br/>⚡ 11-Phase Executor<br/>Complete workflows]
PW[prompt-writer<br/>📝 Structured Prompts<br/>Template creation]
TW[test-writer<br/>🧪 Test Generation<br/>Comprehensive suites]
TS[test-solver<br/>🔧 Test Diagnosis<br/>Failure resolution]
TFA[type-fix-agent<br/>🔍 Type Resolution<br/>Error correction]
end
subgraph "🟣 Review Layer"
direction TB
CR[code-reviewer<br/>👥 PR Reviews<br/>Quality assurance]
CRR[code-review-response<br/>💬 Feedback Processing<br/>Change implementation]
SDR[system-design-reviewer<br/>🏗️ Architecture Review<br/>Design validation]
end
subgraph "🟠 Maintenance Layer"
direction TB
PBM[pr-backlog-manager<br/>📋 PR Queue Management<br/>Readiness assessment]
AU[agent-updater<br/>🔄 Version Management<br/>Agent updates]
MM[memory-manager<br/>🧠 Memory Curation<br/>State synchronization]
RA[readme-agent<br/>📄 Documentation<br/>README maintenance]
CSU[claude-settings-update<br/>⚙️ Configuration<br/>Settings merger]
end
%% Inter-layer connections
OA -.-> WF
WF -.-> CR
CR -.-> CRR
WF -.-> MM
%% Styling
classDef orchestration fill:#3498db,stroke:#2980b9,color:#fff,stroke-width:2px
classDef implementation fill:#2ecc71,stroke:#27ae60,color:#fff,stroke-width:2px
classDef review fill:#9b59b6,stroke:#8e44ad,color:#fff,stroke-width:2px
classDef maintenance fill:#e67e22,stroke:#d35400,color:#fff,stroke-width:2px
class OA,TA,WM,EM orchestration
class WF,PW,TW,TS,TFA implementation
class CR,CRR,SDR review
class PBM,AU,MM,RA,CSU maintenance
The WorkflowManager orchestrates a complete 11-phase development lifecycle, ensuring consistent quality and delivery:
flowchart TD
Start([🚀 Workflow Start]) --> P1[📋 Phase 1: Initial Setup<br/>Environment validation<br/>Task initialization]
P1 --> P2[🎫 Phase 2: Issue Creation<br/>GitHub issue generation<br/>Milestone assignment]
P2 --> P3[🌿 Phase 3: Branch Management<br/>Feature branch creation<br/>Git worktree setup]
P3 --> P4[🔍 Phase 4: Research & Planning<br/>Codebase analysis<br/>Implementation strategy]
P4 --> P5[⚡ Phase 5: Implementation<br/>Code changes<br/>Feature development]
P5 --> P6{🧪 Phase 6: Testing<br/>Quality Gates}
P6 -->|Tests Pass| P7[📚 Phase 7: Documentation<br/>Updates & comments<br/>API documentation]
P6 -->|Tests Fail| P6Fix[🔧 Fix Tests<br/>Debug failures<br/>Resolve issues]
P6Fix --> P6
P7 --> P8[📨 Phase 8: Pull Request<br/>PR creation<br/>Detailed description]
P8 --> Timer[⏱️ 30-Second Timer<br/>PR propagation delay]
Timer --> P9[👥 Phase 9: Code Review<br/>🚨 MANDATORY<br/>Automated reviewer invocation]
P9 --> P9Check{Review Posted?}
P9Check -->|Yes| P10[💬 Phase 10: Review Response<br/>Feedback processing<br/>Change implementation]
P9Check -->|No| P9Retry[🔄 Retry Review<br/>Force reviewer invocation]
P9Retry --> P9
P10 --> P11[⚙️ Phase 11: Settings Update<br/>Configuration sync<br/>Claude settings merge]
P11 --> Complete([✅ Workflow Complete<br/>Feature delivered<br/>Issues closed])
%% Styling
classDef setup fill:#3498db,stroke:#2980b9,color:#fff,stroke-width:2px
classDef development fill:#2ecc71,stroke:#27ae60,color:#fff,stroke-width:2px
classDef review fill:#9b59b6,stroke:#8e44ad,color:#fff,stroke-width:2px
classDef finalization fill:#e67e22,stroke:#d35400,color:#fff,stroke-width:2px
classDef mandatory fill:#e74c3c,stroke:#c0392b,color:#fff,stroke-width:3px
classDef decision fill:#f39c12,stroke:#e67e22,color:#fff,stroke-width:2px
class P1,P2,P3 setup
class P4,P5,P6,P6Fix,P7 development
class P8,P9,P9Retry,P10 review
class P11,Complete finalization
class P9,P9Check mandatory
class Timer,P6,P9Check decision
- 🔵 Orchestration Layer: Coordinates parallel execution and manages system-wide concerns
- 🟢 Implementation Layer: Handles core development tasks and code generation
- 🟣 Review Layer: Ensures quality through automated and systematic reviews
- 🟠 Maintenance Layer: Manages system health, updates, and administrative tasks
Mandatory Phase 9 Enforcement: The system includes multiple mechanisms to ensure code review is never skipped, including automatic timers, validation checks, and retry logic.
gadugi/
├── .claude/
│ ├── agents/ # All agents stored here
│ │ ├── workflow-manager.md # Main workflow orchestrator
│ │ ├── orchestrator-agent.md # Parallel execution coordinator
│ │ ├── code-reviewer.md # Code review automation
│ │ ├── code-review-response.md # Review feedback processing
│ │ ├── prompt-writer.md # Structured prompt creation
│ │ ├── agent-manager.md # Agent repository management
│ │ ├── task-analyzer.md # Task dependency analysis
│ │ ├── task-bounds-eval.md # Task complexity evaluation
│ │ ├── task-decomposer.md # Task breakdown specialist
│ │ ├── task-research-agent.md # Research and planning
│ │ ├── worktree-manager.md # Git worktree lifecycle
│ │ ├── execution-monitor.md # Parallel execution tracking
│ │ ├── team-coach.md # Team coordination & analytics
│ │ ├── teamcoach-agent.md # Alternative team coaching
│ │ ├── pr-backlog-manager.md # PR readiness management
│ │ ├── program-manager.md # Project health & strategy
│ │ ├── memory-manager.md # Memory.md synchronization
│ │ ├── test-solver.md # Test failure diagnosis
│ │ ├── test-writer.md # Test suite creation
│ │ ├── xpia-defense-agent.md # Security protection
│ │ └── workflow-manager-phase9-enforcement.md # Review enforcement
│ ├── shared/ # Shared utilities and modules
│ ├── docs/ # Additional documentation
│ └── templates/ # Workflow templates
├── .github/
│ ├── Memory.md # AI assistant persistent memory
│ └── workflows/ # GitHub Actions workflows
├── prompts/ # Prompt templates
├── docs/ # Documentation
│ ├── architecture/
│ │ ├── AGENT_HIERARCHY.md # Agent system hierarchy
│ │ └── SYSTEM_DESIGN.md # System design documentation
│ └── templates/
│ └── CLAUDE_TEMPLATE.md # Claude instruction template
├── scripts/ # Utility scripts
│ ├── claude # Claude CLI executable
│ ├── claude-worktree-manager.sh # Worktree management
│ └── launch-claude-*.sh # Launch helpers
├── config/ # Configuration files
│ ├── manifest.yaml # Agent registry and versions
│ └── vscode-claude-terminals.json # VSCode configuration
├── compat/ # Compatibility shims for legacy imports
├── types/ # Type definitions and stubs
├── CLAUDE.md # Project-specific AI instructions
├── claude-generic-instructions.md # Generic Claude Code best practices
├── LICENSE # MIT License
└── README.md # This file
For development work on Gadugi itself:
git clone https://github.com/rysweet/gadugi.git
cd gadugi
uv sync --extra dev
uv run pytest tests/ -v
Once installed, invoke agents as needed:
/agent:orchestrator-agent
- For coordinating multiple parallel workflows/agent:workflow-manager
- For complete development workflows (issue → code → PR)
/agent:code-reviewer
- For comprehensive code reviews/agent:code-review-response
- For processing review feedback/agent:prompt-writer
- For creating structured prompts/agent:test-writer
- For generating test suites/agent:test-solver
- For diagnosing test failures
# Create a new feature with complete workflow
/agent:workflow-manager
Task: Add new authentication endpoint with JWT tokens
Description: Implement /api/auth/login endpoint that validates credentials
and returns JWT tokens for authenticated sessions
The WorkflowManager will:
- Create a GitHub issue
- Set up a feature branch
- Research the codebase
- Implement the feature
- Write tests
- Create documentation
- Open a pull request
- Invoke code review
- Process feedback
- Update settings
Gadugi includes a VS Code extension for enhanced development experience. The extension provides:
- Resource Monitoring: Real-time CPU and memory usage tracking
- Agent Status Display: Active agent monitoring in status bar
- Workflow Progress: Live progress tracking for multi-phase workflows
- Terminal Integration: Automatic terminal spawning for Claude sessions
- Quick Actions: Command palette integration for common tasks
# Search and install via VS Code Extensions view
1. Open VS Code
2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
3. Search for "Gadugi Multi-Agent Development"
4. Click "Install" on the Gadugi extension
5. Reload VS Code when prompted
For development or beta versions:
1. Download the latest .vsix file from releases
2. Open VS Code
3. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
4. Click "..." menu → "Install from VSIX..."
5. Select the downloaded .vsix file
For contributors or advanced users:
1. Clone the repository
2. Navigate to the project root
3. Run: npm install
4. Run: npm run compile
5. Press F5 to launch Extension Development Host
Configure the extension through VS Code settings:
{
"gadugi.updateInterval": 3000,
"gadugi.claudeCommand": "claude --resume",
"gadugi.showResourceUsage": true
}
- Agent Hierarchy - Understanding agent relationships and responsibilities
- System Design - Architecture overview and design principles
- Enhanced Separation Architecture - Migration to shared module architecture
- Shared Module Architecture - Understanding shared components
- UV Installation Guide - Installing and configuring UV package manager
- UV Migration Guide - Migrating from pip to UV
- UV Cheat Sheet - Quick reference for UV commands
- Pre-commit Setup - Setting up code quality hooks
- Workflows Guide - Understanding workflow patterns and execution
- Testing Workflow - Testing strategy and practices
- Test Agents Guide - Using test-writer and test-solver agents
- Enhanced WorkflowMaster Guide - Advanced workflow management
- Agents Overview - Introduction to available agents
- PR Backlog Manager Guide - Managing pull request backlogs
- System Design Reviewer Integration - Architecture review automation
- Task Decomposition Analyzer Guide - Breaking down complex tasks
- Event Service Guide - Understanding the event-driven architecture
- Enhanced Separation Migration Guide - Migration to shared module architecture
- Shared Module Architecture - Understanding shared components
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Clone your fork
- Install dependencies with UV:
uv sync --extra dev
- Run tests:
uv run pytest tests/ -v
- Create a feature branch
- Make your changes
- Submit a pull request
- Issues: GitHub Issues
- Discussions: GitHub Discussions
This project is licensed under the MIT License - see the LICENSE file for details.
- The Cherokee Nation for the inspiring concept of Gadugi
- The Claude team at Anthropic for enabling AI-assisted development
- All contributors who have helped shape this project
Gadugi - Where AI agents work together like a community, sharing wisdom and supporting each other to build better software.