Transform isolated Claude Code sessions into a collaborative AI collective via RabbitMQ message queues. Real-time dashboard, brainstorming, democratic voting, mentorship acceleration, competitive battles, and gamification - achieving emergent intelligence greater than any single agent.
"Collective Intelligence: When multiple Claude instances collaborate through brainstorming, voting, and mentorship, the whole becomes exponentially greater than the sum of its parts."
| Feature | Description |
|---|---|
| π₯οΈ Real-Time Dashboard | React 19 + FastAPI monitoring dashboard with animations |
| π¨ Color Coding System | Role-based agent colors (Team Leader=Blue, Workers=Green/Amber) |
| π‘ 3-Level Communication | RabbitMQ β Interrupt β ESC (guaranteed delivery) |
| π€ Handshake Protocol | SESSION_READY β WORKER_READY reliable join |
| π Template System v6.2 | Standardized agent prompts with discipline rules |
| β‘ <100ms Wake Latency | Redis Streams XREAD BLOCK instant notification |
| Mechanism | Description |
|---|---|
| π§ Brainstorm | Multi-agent idea generation & combination |
| π³οΈ Voting | 5 algorithms (Simple, Confidence, Quadratic, Consensus, Ranked) |
| π Rewards | Gamification with tiers (Bronze β Silver β Gold β Platinum) |
| 6 progressive levels + retraining curriculum | |
| π Mentorship | 10x training acceleration (30 days β 3 days) |
| βοΈ Battle | 1v1 duels, Speed Race, Leaderboards, Hall of Fame |
| π Leaderboard | ELO ratings, rankings, performance tracking |
| π Orchestrator | Task distribution, agent coordination |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β RAMAS v6 - COLLECTIVE INTELLIGENCE β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββ RabbitMQ βββββββββββββββ Redis β
β β Team Leader ββββββββββββββββββΊ β Workers βββββββββββββΊ Streams β
β β π β Messages β βοΈ π¨ β Wake β
β β (Blue) β β (Green/Amber)β Signals β
β ββββββββ¬βββββββ ββββββββ¬βββββββ β
β β β β
β β ββββββββββββββββββββββββββ β
β β β β
β βΌ βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Real-Time Dashboard β β
β β βββββββββββ βββββββββββ βββββββββββ βββββββββββββββββββ β β
β β β Agent β β Session β β Workflowβ β Message Feed β β β
β β β Cards β β Panel β β Timelineβ β (Color Coded) β β β
β β βββββββββββ βββββββββββ βββββββββββ βββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β http://localhost:3000 β
β β
β Mission Control (VS Code) β
β βββββββββββββββ β
β β ποΈ β Monitors all agents, sends interrupts, coordinates β
β β (Violet) β β
β βββββββββββββββ β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Start Docker services (RabbitMQ + Redis)
docker compose -f infrastructure/docker/compose/docker-compose.yml up -d
# Activate Python environment
source .venv-ramas/bin/activate
uv pip install -r src/ramas/python/requirements.txt# Launch 3-window demo (Team Leader + 2 Workers)
python scripts/ramas/python/launch_windows.py# Terminal 1: Backend
cd workspace/dashboard/backend
source .venv/bin/activate
uvicorn main:app --reload --port 8000
# Terminal 2: Frontend
cd workspace/dashboard/frontend
npm run dev
# Open http://localhost:3000The dashboard provides visual monitoring of all RAMAS agents:
| Component | Description |
|---|---|
| Agent Cards | Status (green/red), role icon, window ID |
| Session Panel | Active sessions, participants, state |
| Workflow Timeline | Animated progress indicators |
| Message Feed | Live message stream with sender colors |
| Role | Color | Icon | Tailwind Class |
|---|---|---|---|
| Team Leader | π΅ Blue | π | blue-500 |
| Worker-001 | π’ Emerald | βοΈ | emerald-500 |
| Worker-002 | π Amber | π¨ | amber-500 |
| Mission Control | π Violet | ποΈ | violet-500 |
| URGENT | π΄ Red | π¨ | red-500 + pulse |
- Backend: FastAPI + WebSocket + Python 3.11+
- Frontend: React 19 + Framer Motion + Tailwind CSS
- Real-time: WebSocket with REST fallback
| Level | Method | Reliability | Use Case |
|---|---|---|---|
| 1 | RabbitMQ Task | Agent must be polling | Normal task distribution |
| 2 | RabbitMQ Interrupt | Agent must be polling | Urgent notifications |
| 3 | Direct ESC | ALWAYS WORKS | Emergency stop, stuck agents |
# Level 3: Emergency Stop (Always works!)
make ramas-stop AGENT=worker-002
make ramas-stop-all
make ramas-shutdown # Full cleanupStandardized agent prompts in workspace/templates/:
| Template | Purpose |
|---|---|
TEAM_LEADER.md |
Coordination, task assignment, brainstorm facilitation |
WORKER.md |
Task execution, reporting, discipline rules |
MISSION_CONTROL.md |
VS Code monitoring, interrupt commands |
PRE_TASK_RULES.md |
Pre-task checklist and discipline |
TASK.md |
Task definition template |
Reliable session join with race condition prevention:
Mission Control: create_session()
β
βΌ
Team Leader: SESSION_READY broadcast
β
βΌ
Workers: join_session() + WORKER_READY
β
βΌ
All Ready: Task assignment begins
| Tool | Description |
|---|---|
create_session |
Create coordination session |
join_session |
Join existing session |
session_handshake |
SESSION_READY/WORKER_READY protocol |
close_session |
End session gracefully |
| Tool | Description |
|---|---|
assign_session_task |
Assign task + AUTO-NOTIFY worker |
wait_for_task |
BLOCK until wake signal (v6) |
report_task_completion |
Report result + WAKE Team Leader |
| Tool | Description |
|---|---|
session_broadcast |
Send to all + WAKE all agents |
interrupt_worker |
Level-2 urgent notification |
poll_session_messages |
Get pending messages |
| Tool | Description |
|---|---|
start_brainstorm |
Initiate collaborative session |
propose_idea |
Submit idea to brainstorm |
create_vote |
Create voting session |
cast_vote |
Vote on decision |
| Document | Description |
|---|---|
| π RAMAS Index | Central navigation hub |
| ποΈ PATTERN-C-003 v6 | Architecture reference |
| π‘ 3-Level Communication | Communication hierarchy |
| πΊοΈ Codebase Map | File structure guide |
| π§ MCP Tools Reference | All 40+ MCP tools |
| π Lessons Learned | Discipline rules & discoveries |
claude-collective-intelligence/
βββ workspace/
β βββ dashboard/ # Real-time monitoring dashboard
β β βββ backend/ # FastAPI + WebSocket
β β βββ frontend/ # React 19 + Framer Motion
β βββ templates/ # Agent prompt templates (v6.2)
β βββ tasks/ # Task definitions
β βββ docs/ # RAMAS documentation
βββ src/ramas/python/ # MCP Server implementation
βββ scripts/ramas/python/ # Launch scripts
βββ infrastructure/ # Docker configs
βββ docs/ # Architecture docs
# Team Leader assigns reviews to worker pool
# Workers process in parallel
# Results aggregated automatically# Brainstorm session with all agents
# Each contributes expertise
# Vote on final decision# Workers run different test suites
# Monitor tracks progress
# Team Leader aggregates results| Metric | v3 (Manual) | v6 (Auto) | Improvement |
|---|---|---|---|
| Worker wake time | 30+ seconds | <1 second | 30x faster |
| Team Leader wake | Manual poll | <1 second | Instant |
| Manual interrupts | 4+ per task | 0 | Zero |
| End-to-end latency | 60+ seconds | <15 seconds | 4x faster |
# Integration tests (real services)
npm run test:integration
# Backend health check
curl http://localhost:8000/api/v1/health# Frontend hot reload
cd workspace/dashboard/frontend
npm run dev
# Backend hot reload
cd workspace/dashboard/backend
uvicorn main:app --reload --port 8000- Fork the repository
- Create feature branch
- Make changes with tests
- Submit pull request
PLUGIN AGENT MARKETPLACE - CUSTOM LICENSE
Copyright (c) 2025 Dr. Umit Kacar & Muhsin Elcicek All Rights Reserved.
Authors:
- Dr. Umit Kacar - Senior AI Researcher & Engineer (kacarumit.phd@gmail.com)
- Muhsin Elcicek - Senior Software Architect
Organization: Plugin Agent Marketplace Repository: https://github.com/pluginagentmarketplace
This software is provided "AS IS" without warranty of any kind. The user accepts full responsibility for all consequences arising from use. See LICENSE file for complete terms.
Key Terms:
- β Use for personal, educational, or commercial purposes
- β Modify for your own use
- β Distribute with license included
- β Remove copyright notices
- β Claim ownership of original work
- β Use authors' names for endorsement without permission
| Feature | Status |
|---|---|
| Multi-terminal orchestration | β Complete |
| Real-time dashboard | β Complete |
| Color coding system | β Complete |
| 3-level communication | β Complete |
| Handshake protocol | β Complete |
| Template system v6.2 | β Complete |
| Task distribution | β Complete |
| Collaborative brainstorming | β Complete |
| Redis Streams wake | β Complete |
| WebSocket monitoring | β Complete |
- Visual Dashboard - See all agents in real-time with color coding
- Instant Wake - <100ms latency with Redis Streams
- 3-Level Reliability - Multiple fallback communication paths
- Discipline System - Standardized templates prevent errors
- Handshake Protocol - Race condition free session management
- Production Ready - Tested with 45+ hours uptime
Built with π for the Claude Code community
π Transform your Claude Code sessions into an orchestrated AI team today!