You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi-Agent Orchestration powered by Mixture of Agents (MoA). Multiple specialized models analyze your task in parallel, an aggregator synthesizes their perspectives, and you get one high-quality response. Based on Hermes Agent MoA by Nous Research.
⚡ Get Started (30 seconds)
MoA is based on Hermes Agent by Nous Research. Reference models run in parallel, an aggregator synthesizes their advice into one response.
# 1. Clone
git clone https://github.com/Franzferdinan51/Agent-Teams.git &&cd Agent-Teams
# 2. Install
npm install
# 3. Run MoA — ask anything, multiple models answer at once
node council-cli.js moa "should I refactor auth as microservices?"
# Via CLI — ask anything
node council-cli.js moa "should I refactor the auth system?"# With a specific preset
node council-cli.js moa "audit this code" --preset security
# List all presets
node council-cli.js moa list
# Via REST API
curl -X POST http://localhost:3003/api/moa/run \
-H "Content-Type: application/json" \
-d '{"prompt": "explain this code", "preset": "coding"}'# Via JavaScript
node -e "const {runMoA}=require('./moa/runtime'); runMoA('your prompt','default',[]).then(console.log)"
Start a Deliberation
# Via API
curl -X POST http://localhost:3003/api/session/start \
-H "Content-Type: application/json" \
-d '{"topic":"Should AI have rights?","mode":"proposal"}'# Watch in WebUI
open http://localhost:3131
MoA Presets
Preset
References
Aggregator
Best For
default
qwen3.5-9b, gemma-26b, gemma-12b
ornith 35B
General analysis
coding
qwopus coder, qwen3.5-9b
ornith 35B
Architecture, code review
security
gemma-26b, ornith 35B
ornith 35B
Security audits
Switch LLM Provider
# Use LM Studio (local)
curl -X POST http://localhost:3003/api/llm/provider \
-H "Content-Type: application/json" \
-d '{"provider":"lmstudio"}'# Check status
curl http://localhost:3003/api/llm/status
CLI Commands
npm run start:council # Start Council only
npm run start:webui # Start WebUI only
npm run start:all # Start both
npm run hive:status # Check Hive status
1. PROBLEM identified
↓
2. COUNCIL debates (46 diverse voices)
↓
3. Council reaches consensus
↓
4. SENATE passes decree (THE LAW - binding)
↓
5. TEAMS execute per decree
# Run all tests
node scripts/hive-execute.js
# Test API endpoints
curl http://localhost:3131/api/dashboard
curl http://localhost:3131/api/decrees
curl http://localhost:3131/api/teams
# Verify persistence# Restart server, data should survive
🦆 Branding
Mascots: 🦆 Duck | 🐝 Bee | 🦞 Lobster
Parties:
🦆 Quack Party — Research & Analysis (blue)
🐝 Honey Party — Development & Security (gold)
🦞 Claw Party — Planning & Communication (red)
📜 License
MIT License
Version 2.0.1 — Built for production multi-agent governance 🏛️⚖️🦆
📁 Complete File Structure
Agent-Teams/
├── 📦 Core Council (v2.1.0)
│ ├── council-server.js # LLM-powered deliberation API
│ ├── councilors.json # 46 councilor definitions
│ ├── council-app.tsx # React frontend for Council
│ └── council-mcp-server.js # MCP tool server
│
├── 📦 Agent System
│ └── agent-api-server/ # Agent API server
│ ├── api_server.py # Main API
│ └── package.json
│
├── 🌐 WebUI
│ ├── webui/server.js # Web dashboard server
│ └── webui/public/ # Frontend files
│
├── 🧠 Hive Scripts (80+)
│ ├── hive-council.js # Council integration
│ ├── hive-senate.js # Senate system
│ └── scripts/hive-*.js # All hive scripts
│
└── 📚 Documentation
├── docs/ # Full documentation
└── README.md
🧪 Testing the Full System
1. Test Council API
npm run council:status
npm run council:test
npm run council:providers
2. Start Full Council App
npm run start:council-app
# Opens React UI on port 3002
3. Start Agent API
npm run start:agent-api
4. Start MCP Server (for tools)
npm run start:mcp
5. Start Deliberation
npm run council:deliberate
🔧 Full Setup for All Features
# 1. Clone and install
git clone https://github.com/Franzferdinan51/Agent-Teams.git
cd Agent-Teams
npm install
# 2. Set environment variablesexport MINIMAX_API_KEY=your_key
export LMSTUDIO_KEY=sk-lm-any-key
# 3. Start everything
./start-all.sh
# 4. Optionally start additional services
npm run start:council-app # React UI (port 3002)
npm run start:agent-api # Agent API
npm run start:mcp # MCP tools
📊 All Available Ports
Service
Port
Description
Council API
3007
LLM deliberation
Council App
3002
React frontend
WebUI
3131
Hive dashboard
Agent API
8080
Agent server
MCP Server
3850
Tool protocol
Mesh API
4000
P2P mesh
🎨 Complete Feature List (v2.1.0)
Core Council Features
Feature
Description
Status
LLM-Powered Deliberation
Real AI-generated debate
✅
46 Councilors
Diverse AI perspectives
✅
Multi-Provider LLM
MiniMax, LM Studio, OpenRouter
✅
Real Voting
LLM-determined vote outcomes
✅
SSE Streaming
Live updates to WebUI
✅
9 Deliberation Modes
proposal, deliberation, swarm, etc.
✅
React UI Components (council-components/)
Component
Description
ChatMessage.tsx
Chat message with avatars
ChatWindow.tsx
Main chat interface
CouncilorDeck.tsx
Councilor selection cards
LiveSession.tsx
Live deliberation view
LiveWatcher.tsx
Real-time watcher mode
MessageInput.tsx
Message input with auto-complete
OrchestrationPanel.tsx
Swarm task orchestration
CodingInterface.tsx
Code generation interface
SettingsPanel.tsx
LLM provider settings
Toast.tsx
Notification toasts
Server Features (council-server.js)
Endpoint
Description
GET /api/health
Health check with provider status
GET /api/llm/providers
List all LLM providers
GET /api/llm/status
Current LLM status
POST /api/llm/test
Test LLM connection
POST /api/llm/provider
Switch LLM provider
GET /api/session
Get current session
POST /api/session/start
Start deliberation
GET /api/session/messages
Get all messages
POST /api/session/event
Push session event
GET /api/councilors
List all councilors
GET /api/events
SSE event stream
Additional Services
Service
Port
Description
council-server.js
3007
Main Council API
council-api-server.cjs
3001
Full API + MCP
council-mcp-server.js
3850
MCP tool server
webui/server.js
3131
Hive Dashboard
agent-api-server/
8080
Agent system
React App (council-app.tsx)
Full Council React UI (50KB)
Live session watching
Councilor deck selection
Message input with councilor selection
Settings panel for LLM providers
Documentation
File
Description
docs/COUNCILORS.md
Councilor profiles
docs/VISION-COUNCIL.md
Vision analysis system
docs/SWARM-CODING.md
Swarm coding mode
docs/COUNCIL-QUICKSTART.md
Quick start guide
🚀 Quick Command Reference
# Start all services
npm run start:all
# Start individual services
npm run start:council # Council API (3007)
npm run start:webui # WebUI (3131)
npm run start:council-app # React app (3002)
npm run start:council-api # Full API (3001)
npm run start:mcp # MCP tools (3850)# Test Council
npm run council:status # Check health
npm run council:test # Test LLM
npm run council:deliberate # Start deliberation
npm run council:providers # List providers
npm run council:list # Count councilors
📊 Services & Ports
Port
Service
File
3001
Full API + MCP
council-api-server.cjs
3002
React App
(needs npm install)
3007
Council API
council-server.js
3131
Hive WebUI
webui/server.js
3850
MCP Server
council-mcp-server.js
8080
Agent API
agent-api-server/
🔧 Environment Variables
# Required for LLM
MINIMAX_API_KEY=your_key # MiniMax (primary)# Optional
OPENROUTER_API_KEY=your_key # OpenRouter
LMSTUDIO_KEY=sk-lm-any # LM Studio (local)
LMSTUDIO_URL=http://localhost:1234/v1
PORT=3007 # Council port