You already have a .env.example file with an Anthropic key. Create a proper .env file:
cp .env.example .envThen edit .env and add your OpenAI key:
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=sk-ant-api03-... (already there)
npm installTry this example:
npm start "build me a REST API for a blog with posts and comments"The system will:
- Analyst breaks down your requirements
- Architect designs the system
- Coder creates implementation plan
- QA reviews everything for consistency
- Lead Architect makes final approval/rejection
The output will show:
- Each agent's step in the pipeline
- Token usage per agent
- Final APPROVED or REJECTED decision
- Complete deliverable or revision instructions
Edit config/agents.config.json to change which models each agent uses:
{
"analyst": {
"model": "claude-3-5-sonnet-20241022",
"provider": "anthropic"
},
"architect": {
"model": "gpt-4o",
"provider": "openai"
}
// ... etc
}You can mix and match OpenAI and Claude models for different agents!
npm start "design a microservices architecture for an e-commerce platform"npm start "implement user authentication with JWT tokens"npm start "review a database schema for a social media app"npm start "plan the tech stack for a real-time multiplayer game"- All agents agreed the plan is solid
- You get a complete, validated deliverable
- Exit code: 0
- Agents found inconsistencies or issues
- You get specific revision instructions
- Exit code: 1
- Try different prompts
- Experiment with different model combinations
- Observe how agents collaborate and review each other
- Use the output as a starting point for your projects
Check the full README.md for:
- Detailed architecture explanation
- Troubleshooting guide
- Future enhancement roadmap
- Project structure details