FuzeAgent is a comprehensive AI team orchestration platform that creates and manages autonomous AI agents using Claude Code SDK and CrewAI. The system implements a distributed microservices architecture where multiple AI agents collaborate to complete complex software development tasks, coordinated by a digital CEO (IzzyAI).
- Full UI Implementation: Complete React-based management interface now fully functional
- Direct Database Integration: UI now communicates directly with the Hierarchy API service
- Separated Database Service: Database management moved to dedicated microservice for better scalability
- API-First Architecture: All UI functionality now backed by comprehensive REST API endpoints
- New Hierarchy API Service: Dedicated FastAPI service handling all UI-database communication
- Database Service Separation: PostgreSQL management now runs as independent microservice
- Direct API Integration: UI bypasses orchestrator for immediate database operations
- Streamlined Data Flow: Simplified architecture for better performance and reliability
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Management UI (React) β
β + WebSocket + D3.js β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β Direct API Communication
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Hierarchy API Service β
β (FastAPI + AsyncPG) β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β Direct Database Access
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Database Service β
β (PostgreSQL + pgvector) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Orchestration Layer β
β βββββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββ β
β β Orchestrator API β β Message Queue β β Agent Mgmt β β
β β (FastAPI) β β (RabbitMQ) β β (CrewAI) β β
β βββββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββ
β Agent Containers β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β IzzyAI CEO β β CTO Agent β β CPO Agent β ... β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β βFrontend Dev1β βFrontend Dev2β βBackend Dev1 β ... β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Direct UI-Database Communication: Management UI now connects directly to Hierarchy API service
- Separated Concerns: Database operations isolated from agent orchestration
- Better Performance: Eliminated unnecessary proxy layers for UI operations
- Independent Scaling: Database and orchestration services can scale independently
- Docker and Docker Compose
- OpenSSL (for generating secure passwords)
- curl (for API calls)
-
Clone and setup:
git clone <repository-url> cd FuzeAgent chmod +x setup.sh ./setup.sh
-
Add your API key:
- Edit
.envfile - Replace
your-api-key-herewith your actual Anthropic API key
- Edit
-
Start the system:
docker-compose up -d
-
Verify installation:
curl http://localhost:8000/health curl http://localhost:8000/agents
- PostgreSQL (port 5434): Primary database with pgvector for embeddings
- RabbitMQ (port 5672, management 15673): Message queue for agent communication
- Redis (port 6380): Caching and session storage
- Management UI (port 3001): React-based dashboard - Now Fully Functional β
- Hierarchy API (port 8006): FastAPI service handling UI-database operations - New β¨
- Database Service (port 5434): Dedicated PostgreSQL management service - New β¨
- Orchestrator (port 8000): FastAPI service managing agents and tasks
FuzeAgent includes a comprehensive Goals Management System for organizational planning and execution:
- Strategic Goal Setting: Create organizational objectives with deadlines and success criteria
- AI-Powered Planning: Automatic milestone and task generation from goals
- Conversation Support: AI-powered planning discussions and progress reviews
- Cross-functional Coordination: Tasks distributed across development, marketing, sales, and operations teams
- Real-time Tracking: Progress monitoring with risk assessment and automated alerts
# Create organizational goal
curl -X POST http://localhost:8000/organizations/WCG/goals \
-H "Content-Type: application/json" \
-d '{
"title": "Reach $100K MRR",
"description": "Achieve $100,000 monthly recurring revenue in 6 months",
"target_value": 100000,
"target_deadline": "2024-12-31",
"priority_level": 10
}'
# Generate execution plan with monthly milestones
curl -X POST http://localhost:8000/goals/{goal_id}/generate-execution-plan
# Create AI planning conversation
curl -X POST http://localhost:8000/goals/{goal_id}/conversations \
-d '{"conversation_type": "planning", "conversation_title": "Strategic Planning"}'
# Track progress
curl -X POST http://localhost:8000/goals/{goal_id}/track-progress \
-d '{"progress_percentage": 25.5, "current_value": 25500}'- IzzyAI (CEO): Strategic planning, resource allocation, team management
- CTO Agent: Technical architecture, developer coordination
- CPO Agent: Product planning, design oversight, quality assurance
- Frontend Developers: React, TypeScript, UI/UX implementation
- Backend Developers: FastAPI, database design, API development
- Full-Stack Developers: End-to-end feature implementation
- QA Engineers: Test generation, automation, bug reporting
- DevOps Engineers: Infrastructure, deployment, monitoring
- Designers: UI mockups, accessibility, design systems
# Create a new agent
POST /agents
{
"name": "Frontend Dev 1",
"role": "Senior React Developer",
"type": "developer",
"config": {
"goal": "Build responsive React components",
"tools": ["code_generation", "code_review"],
"model": "claude-sonnet-4-20250514"
}
}
# List all agents
GET /agents
# Get agent status
GET /agents/{agent_id}/status
# Assign task to agent
POST /agents/{agent_id}/tasks
{
"title": "Implement user dashboard",
"description": "Create a responsive dashboard component",
"type": "implement_feature"
}# List all tasks
GET /tasks
# Get specific task
GET /tasks/{task_id}# Create organizational goal
POST /organizations/{org_id}/goals
{
"title": "Reach $100K MRR",
"description": "Achieve revenue target in 6 months",
"goal_type": "business",
"target_value": 100000,
"target_deadline": "2024-12-31",
"priority_level": 10
}
# List organization goals
GET /organizations/{org_id}/goals?status=active&limit=25
# Get goal details
GET /goals/{goal_id}
# Update goal progress
PUT /goals/{goal_id}/progress
{
"progress_percentage": 25.5,
"current_value": 25000,
"notes": "Good progress this month"
}
# Generate execution plan
POST /goals/{goal_id}/generate-execution-plan
# Create planning conversation
POST /goals/{goal_id}/conversations
{
"conversation_type": "planning",
"conversation_title": "Strategic Planning Session"
}
# Track progress with risk assessment
POST /goals/{goal_id}/track-progress
{
"progress_percentage": 30.5,
"confidence_score": 0.8
}
# Get deadline risk assessment
GET /goals/{goal_id}/deadline-risk
# Organization dashboard
GET /organizations/{org_id}/goals-dashboard# Health check
GET /healthFuzeAgent/
βββ services/
β βββ orchestrator/ # FastAPI orchestration service
β βββ ui-react/ # React Management UI - NEW β¨
β βββ hierarchy_API/ # Hierarchy API service - NEW β¨
β βββ database_service/ # Database management service - NEW β¨
βββ containers/
β βββ base-agent/ # Base agent container
β βββ developer-agent/ # Developer-specific agent
β βββ executive-agent/ # Executive-specific agent (coming soon)
βββ docs/ # Documentation
βββ docker-compose.yml # Container orchestration
βββ init_db.sql # Database schema
βββ setup.sh # Quick setup script
- ui-react/: Complete React frontend with agent management, team hierarchies, goals tracking, and real-time monitoring
- hierarchy_API/: FastAPI service providing REST endpoints for UI operations with direct database access
- database_service/: Dedicated PostgreSQL service with optimized connection pooling and health monitoring
# Access the Management UI (NEW!)
open http://localhost:3001
# View service logs
docker-compose logs -f ui-react # React UI logs
docker-compose logs -f hierarchy_API # Hierarchy API logs
docker-compose logs -f database_service # Database service logs
docker-compose logs -f orchestrator # Orchestrator logs
# Restart services
docker-compose restart
docker-compose restart ui-react # Restart just the UI
docker-compose restart hierarchy_API # Restart just the API
# Stop all services
docker-compose down
# Build and restart (recommended after code changes)
docker-compose build && docker-compose up -d
# Database access (via dedicated service)
docker-compose exec database_service psql -U postgres -d ai_context
# API Health Checks
curl http://localhost:8006/health # Hierarchy API
curl http://localhost:8000/health # Orchestrator
curl http://localhost:3001 # UI (should show React app)
# RabbitMQ management
open http://localhost:15673 # admin/[password from .env]- Create new container directory:
containers/[agent-type]-agent/ - Extend
BaseAgentclass with specific functionality - Add agent type to orchestrator configuration
- Update database schema if needed
- Test agent creation and task execution
See .env.example for all configuration options:
ANTHROPIC_API_KEY: Your Claude API key (required)POSTGRES_PASSWORD: Database password (auto-generated)RABBITMQ_PASSWORD: Message queue password (auto-generated)JWT_SECRET: Security token secret (auto-generated)
The system uses both global and project-specific Claude Code configurations:
- Global:
~/.claude_code_config - Project:
./.claude_code_config
implement_feature: Create new functionality with tests and documentationfix_bug: Debug and resolve issues with regression testscode_review: Analyze code quality and provide recommendationsrefactor_code: Improve code structure and maintainability
strategic_planning: High-level project planning and architecture decisionsresource_allocation: Distribute tasks and manage team capacityteam_management: Coordinate agent activities and resolve conflicts
- Milestone Creation: AI automatically generates time-bound milestones from organizational goals
- Cross-Functional Tasks: Goals spawn tasks across development, marketing, sales, and operations teams
- Dynamic Assignment: Tasks automatically assigned to appropriate agents based on skills and availability
- Progress Coordination: Real-time progress updates flow from tasks β milestones β goals
- Risk Management: Automated risk assessment and mitigation strategy generation
- Management UI:
http://localhost:3001- Now Available β - Hierarchy API:
http://localhost:8006/health- New β¨ - Database Service:
docker-compose exec database_service pg_isready- Updated β¨ - Orchestrator:
http://localhost:8000/health - RabbitMQ:
http://localhost:15673
- Full UI Dashboard: Real-time agent monitoring, task tracking, and system metrics β
- Interactive Agent Management: Create, configure, and monitor agents through web interface β
- Knowledge Management: Upload documents and manage agent knowledge bases through UI β
- Team Hierarchies: Visual organization charts and team management β
- Goal Tracking: Complete goals management with progress visualization β
- Structured logging with correlation IDs
- Real-time WebSocket updates
- Task completion metrics
- Agent utilization tracking
- Non-root users in all containers
- Environment variable-based secrets
- JWT-based authentication
- Network isolation between services
- Regular security updates
- Rate limiting on critical endpoints
- Input validation for all requests
- Audit logging for administrative actions
- Secure default configurations
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests and documentation
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
UI Not Loading
- Verify React service is running:
docker-compose ps ui-react - Check UI logs:
docker-compose logs ui-react - Ensure port 3001 is available:
curl http://localhost:3001
API Endpoints Not Working
- Verify Hierarchy API is running:
curl http://localhost:8006/health - Check API logs:
docker-compose logs hierarchy_API - Ensure database service is connected:
docker-compose ps database_service
Agent Creation Fails
- Verify
ANTHROPIC_API_KEYis set correctly - Check database connectivity:
docker-compose ps database_service - Ensure RabbitMQ is running:
docker-compose ps rabbitmq - Try creating agent through UI at
http://localhost:3001/agents
Tasks Not Processing
- Check agent container status:
docker-compose ps - View orchestrator logs:
docker-compose logs orchestrator - Verify message queue: http://localhost:15673
Database Connection Issues
- Restart database service:
docker-compose restart database_service - Check database logs:
docker-compose logs database_service - Verify connection string in
.env - Test connection:
docker-compose exec database_service pg_isready
- Check the Management UI: http://localhost:3001 for visual system status
- API Health Checks:
- UI: http://localhost:3001
- Hierarchy API: http://localhost:8006/health
- Orchestrator: http://localhost:8000/health
- Service Logs:
docker-compose logs -f [service_name] - Database Status: Use UI or
curl http://localhost:8006/agents - Consult Documentation:
CLAUDE.mdfor detailed guidance
This major release transforms FuzeAgent from a backend-only system to a fully functional web application:
β
Complete React UI - Beautiful, responsive management interface
β
Direct Database Integration - Fast, reliable data operations
β
Microservice Architecture - Scalable, maintainable service separation
β
Real-time Monitoring - Live system status and agent management
β
Knowledge Management - Document upload and URL integration
β
Team Hierarchies - Visual organization management
β
Goal Tracking - Comprehensive goal and milestone management
Ready to use at: http://localhost:3001 π
Built with β€οΈ using Claude Code SDK and CrewAI