Autonomous Multi-Agent Development Framework
Kollaborate orchestrates multiple AI agents working in parallel on complex software projects. It's a general-purpose LLM CLI management framework designed for massive parallelization and autonomous operations.
Remote Installation (Recommended)
curl -fsSL https://raw.githubusercontent.com/maarco/kollaborate/main/install.sh | zsh
source ~/.zshrc # or ~/.bashrcLocal Installation
git clone https://github.com/maarco/kollaborate.git
cd kollaborate
./install.sh
source ~/.zshrc # or ~/.bashrcThe same script works for both remote and local installation, automatically detecting the method and installing to ~/.kollaborate.
cd your-project
kollaborate initkollaborate start 3 2 # 3 task agents, 2 spec agents- Multi-LLM Support: Switch between Claude, Gemini, Crush, Codex, OpenCode, Cursor with one command
- 17 Typed Task System: Specialized prompts for features, refactors, bugs, tests, docs, performance, architecture, security, hotfixes, migrations, integrations, chores, experiments, UX, validation, workflows, and exploration
- Parallel Agent Execution: Multiple agents work simultaneously on different tasks
- Automatic Spec Generation: Agents create detailed specifications before implementation
- Activity Monitoring: 3-strike idle detection with automatic cleanup
- Task State Management: NEW → WORKING → DONE/QA workflow
- Global Installation: Runs from ~/.kollaborate without per-project file copying
- TMUX Orchestration: Full agent lifecycle management with tglm, tlist, tcapture, tmsg, tstop
| Type | Prefix | Description |
|---|---|---|
| Feature | F## | New functionality implementation |
| Refactor | R## | Code quality improvements, restructuring |
| Bug | B## | Fixes and corrections |
| Test | T## | Test coverage, test improvements |
| Doc | D## | Documentation, API docs, comments |
| Perf | P## | Performance optimization, profiling |
| Arch | A## | Architecture, design patterns, setup |
| Security | S## | Security hardening, vulnerability fixes |
| Hotfix | H## | URGENT production fixes only |
| Migration | M## | Database migrations, data transformations |
| Integration | I## | Third-party service integrations |
| Chore | C## | Dependency updates, maintenance |
| Experiment | E## | POC/spike work, research experiments |
| UX | U## | User experience, accessibility |
| Validation | V## | Input validation, schema enforcement |
| Workflow | W## | CI/CD, automation pipelines |
| Exploration | X## | Research, analysis, investigation |
# Initialize in current directory
kollaborate init
# Switch LLM backend
kollaborate use # Show current backend and options
kollaborate use gemini # Switch to Google Gemini
kollaborate use claude # Switch to Anthropic Claude
kollaborate use crush # Switch to Crush AI
kollaborate use codex # Switch to Codex
# Start daemon with 3 task agents and 2 spec agents
kollaborate start 3 2
# Check status
kollaborate status
# Add tasks with types
kollaborate add feature "User authentication" src/auth.js
kollaborate add test "API integration tests" tests/api.test.js
kollaborate add bug "Fix memory leak" src/pool.js
# Show help
kollaborate help- NEW tasks trigger specification agent creation
- Spec agents generate detailed requirements (minimum 50 lines)
- Task agents spawn once valid specs exist
- Activity monitoring tracks agent progress via output hashing
- Cleanup occurs when tasks transition to DONE/QA
NEW → WORKING → DONE/QA
↓ ↓
BLOCKED ← (recycled if agent goes idle)
~/.kollaborate/ # Global installation
├── kollaborate # CLI entry point
├── kollaborate.sh # Agent watcher daemon
└── kollaborate.md # Framework documentation
your-project/
├── TASK_TRACKING.md # Task state manifest
└── specs/ # Generated specifications
├── F01-user-auth.md
├── R02-api-refactor.md
└── T03-integration-tests.md
Kollaborate supports multiple LLM CLI tools through the unified glm wrapper:
| Backend | CLI | Auto-Accept Flag | Command |
|---|---|---|---|
| Claude | claude |
--dangerously-skip-permissions |
kollaborate use claude |
| Gemini | gemini |
--yolo |
kollaborate use gemini |
| Crush | crush |
--yolo |
kollaborate use crush |
| Codex | codex |
--sandbox danger-full-access |
kollaborate use codex |
| OpenCode | opencode |
(none) | kollaborate use opencode |
| Cursor | cursor |
(generic) | kollaborate use cursor |
Switch backends anytime:
kollaborate use gemini # Switch to Gemini
glm "your prompt" # Uses current backendKollaborate uses TMUX-based agent orchestration with these commands:
tglm "$agent_name" "$prompt"- Spawn agent sessiontlist- List active agentstcapture "$agent"- View agent outputtmsg "$agent" "$message"- Send message to agenttstop "$agent"- Terminate agent
All commands work with any configured LLM backend.
Edit kollaborate.sh to customize:
MAX_AGENTS=3 # Maximum concurrent task agents
MAX_SPEC_AGENTS=2 # Maximum spec generation agents
CHECK_INTERVAL=60 # Monitoring cycle (seconds)
NEW_TASK_REQUIRED=5 # Minimum task queue size
SPEC_TIMEOUT=300 # Spec generation timeout (seconds)- zsh or bash shell
- External agent system (e.g., tglm, Claude API, OpenAI API)
- Standard Unix utilities (sed, grep, awk)
MIT
Contributions welcome! Please submit issues and pull requests to the GitHub repository.