AI Coding Assistant
with Specialized Agents
Autonomous execution with validation. Analyzer → Planner → Editor → Validator. File validation prevents mistakes. Success criteria with auto-retry. $0-5/month vs $20-30/month subscriptions.
Autonomous Execution
chu do "task" orchestrates 4 specialized agents: Analyzer → Planner → Editor → Validator. Auto-retry with model switching when validation fails.
Validation & Safety
File validation prevents creating unintended files. Success criteria auto-verified. No surprise scripts or configs. Supervised vs autonomous modes.
Intelligent Context
Dependency graph + PageRank identifies relevant files. 5x token reduction (100k → 20k). ML intent classification (1ms routing).
Radically Affordable
$0-5/month vs $20-30/month subscriptions. Use Groq for speed, Ollama for free. Auto-selects best models per agent.
Interactive Modes
chu chat for conversations. chu run for tasks with follow-up. Context-aware from CLI or Neovim plugin.
Manual Workflow
Break down complex tasks: chu research → chu plan → chu implement. Full control when you need it.
How It Works
Orchestrated agents with validation and auto-retry
Understands codebase
Reads relevant files"] Analyzer --> Planner["Planner
Creates minimal plan
Lists files to modify"] Planner --> Validation["File Validation
Extracts allowed files
Blocks extras"] Validation --> Editor["Editor
Executes changes
ONLY planned files"] Editor --> Validator["Validator
Checks success criteria
Validates results"] Validator -->|Success| Done["Task Complete"] Validator -->|Fail| Retry["Auto-retry
with feedback"] Retry --> Editor style Analyzer fill:#3b82f6,color:#fff style Planner fill:#8b5cf6,color:#fff style Editor fill:#10b981,color:#fff style Validator fill:#f59e0b,color:#fff style Validation fill:#ef4444,color:#fff
Structured Workflow: Research → Plan → Implement
Go from feature idea to tested code with AI assistance at each step
Research
Understand your codebase before making changes
chu research "How does authentication work?"
Chuchu searches semantically, reads relevant files, and documents findings in ~/.chuchu/research/
Plan
Create detailed implementation plan with phases
chu plan "Add password reset feature"
Generates step-by-step plan with clear goals, file changes, and test requirements
Implement
Execute plan interactively or autonomously
chu implement plan.md
chu implement plan.md --auto
Interactive mode for control, autonomous mode for speed with automatic verification and retry
Quick Start
1. Install CLI
go install github.com/jadercorrea/chuchu/cmd/chu@latest
chu setup
2. Add Neovim Plugin
-- lazy.nvim
{
dir = "~/workspace/chuchu/neovim",
config = function()
require("chuchu").setup()
end,
keys = {
{ "<C-d>", "<cmd>ChuchuChat<cr>", desc = "Toggle Chat" },
{ "<C-m>", "<cmd>ChuchuModels<cr>", desc = "Profiles" },
}
}
3. Start Coding
chu chat "add user authentication with JWT"
chu research "best practices for error handling"
chu plan "implement rate limiting"
Features
Profile Management
Switch between model configurations instantly. Budget profile with Groq Llama 3.1 8B. Quality profile with GPT-4. Local profile with Ollama.
Cost Optimization
- Router agent: Fast, cheap model (Llama 3.1 8B @ $0.05/M tokens)
- Query agent: Balanced model (GPT-OSS 120B @ $0.15/M)
- Editor agent: Quality model (DeepSeek R1 @ $0.14/M)
- Research agent: Context-heavy model (Grok 4.1 @ free tier)
ML Intelligence
- Intent classifier: 1ms routing, 89% accuracy, smart LLM fallback
- Complexity detector: Auto-triggers planning for complex tasks
- Pure Go inference: No Python runtime required
Context Optimization
- Dependency graph analysis (Go, Python, JS/TS, Ruby, Rust)
- PageRank file importance ranking
- 1-hop neighbor expansion
- 5x token reduction with better accuracy
Neovim Features
- Floating chat window with syntax highlighting
- Model search UI (193+ Ollama models)
- Profile management interface
- LSP-aware code context
- Tree-sitter integration
Why Chuchu?
Most AI coding assistants lock you into expensive subscriptions ($20-30/month) with black-box model selection and no validation. Chuchu gives you:
- Specialized agents: 4 agents working together with validation
- Safety first: File validation + success criteria prevent mistakes
- Full control: Supervised vs autonomous modes, any OpenAI-compatible provider
- Radically affordable: $0-5/month vs $20-30/month subscriptions
- Local option: Run completely offline with Ollama for $0
- TDD support: Write tests first when you want (
chu tdd)
Read the full story: Why Chuchu?
Documentation
- Commands Reference – Complete CLI command guide
- Research Mode – Web search and documentation lookup
- Plan Mode – Planning and implementation workflow
- ML Features – Intent classification and complexity detection
- Compare Models – Interactive model comparison tool
- Blog – Configuration guides and best practices