Status:
v0.1.0public preview — seeKNOWN_ISSUES.mdfor the path to v1.0.0.
Cloudflare Multi-Agent is a production-ready multi-agent AI platform built on Cloudflare Workers infrastructure. It provides a generic, flexible, and portable platform for AI-powered services that can be consumed by any authenticated application.
Organization (e.g., Acme Corp)
└── Instance (like a VM - "production", "staging")
├── API Keys (shared across projects)
├── Rate Limits (shared pool)
├── Workers (dedicated deployments)
│ ├── Image Generation (Ideogram)
│ └── Text Generation (OpenAI, Anthropic)
└── Projects (logical groupings)
Project Manager (Human)
├── Team Leader 1: Infrastructure (Phase 1 - Sequential)
│ ├── Agent 1.1: Database Schema
│ ├── Agent 1.2: Config Service Worker
│ ├── Agent 1.3: Authentication Middleware
│ └── Agent 1.4: Instance Lookup Logic
├── Team Leaders 2 & 3: Workers + Ops (Phase 2 - Parallel)
│ ├── Team 2: Worker Implementation
│ │ ├── Agent 2.1: Provider Adapter Framework
│ │ ├── Agent 2.2: Rate Limiter (Durable Objects)
│ │ ├── Agent 2.3: R2 Storage Manager
│ │ └── Agent 2.4: Image Generation Worker
│ └── Team 3: Operations
│ ├── Agent 3.1: Error Handling & Retries
│ ├── Agent 3.2: Logging System
│ ├── Agent 3.3: Deployment Scripts
│ └── Agent 3.4: GitHub Actions CI/CD
└── Team Leader 4: Interfaces (Phase 3 - Sequential)
├── Agent 4.1: Testing GUI
├── Agent 4.2: Admin Interface
├── Agent 4.3: Documentation
└── Agent 4.4: Monitoring Dashboard
npm install -g wrangler)# Clone repository
git clone https://github.com/Logos-Flux/cloudflare-multiagent.git
cd cloudflare-multiagent
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your Cloudflare credentials
# Deploy infrastructure
npm run deploy-instance -- --config instances/production.json
/
├── docs/ # Documentation and specifications
│ └── specs/ # Shared specs for all agents
├── infrastructure/ # Core infrastructure components
│ ├── database/ # D1 schema and migrations
│ ├── config-service/ # Central config management
│ ├── auth/ # Authentication middleware
│ └── lookup/ # Instance resolution
├── workers/ # Cloudflare Workers
│ ├── shared/ # Shared utilities
│ │ ├── provider-adapters/
│ │ ├── rate-limiter/
│ │ ├── r2-manager/
│ │ ├── error-handling/
│ │ └── logging/
│ ├── image-gen/ # Image generation worker
│ └── text-gen/ # Text generation worker
├── interfaces/ # User-facing interfaces
│ ├── testing-gui/ # Image generation testing
│ ├── text-testing-gui/ # Text generation testing
│ ├── admin-panel/ # Instance management
│ └── monitoring/ # Dashboard
├── scripts/ # Deployment automation
├── tests/ # Test suites
└── prompts/ # Multi-agent prompts
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # With coverage
npm run wrangler:dev # Local development
npm run wrangler:deploy # Deploy to Cloudflare
npm run deploy-instance -- --config config.json
npm run deploy-all # Deploy all instances
Track multi-agent development:
# Watch git commits from all agents
git log --all --oneline --graph
# Count completed agents
git log --all --grep="\[AGENT.*complete" | wc -l
# Check for escalations
git log --all --grep="ESCALATION"
MIT
This project is built autonomously by AI agents. Human oversight for: - Final approval before production merge - Architectural decisions - Credential management - Monitoring and incident response
When creating a new worker or service:
1. Add it to the Admin Panel Services page - See interfaces/admin-panel/ADDING_SERVICES.md
2. Follow the PR template - Complete the "New Service Checklist"
3. Document your API - Include endpoints, examples, and usage instructions
4. Create a Testing GUI (if user-facing) - Make it easy for others to try your service
This ensures all services are discoverable and properly documented for the team.
Built with Claude Code | Powered by Cloudflare Workers | Autonomous Multi-Agent Development
$ claude mcp add cloudflare-multiagent \
-- python -m otcore.mcp_server <graph>