This project implements a multi-agent system where two agents (Creative Brainstormer and Harsh Critic) autonomously debate a complex problem for multiple rounds before an Editor agent produces a final structured solution.
- Multi-agent orchestration (LangGraph)
- Explicit state management
- Conditional routing logic
- Autonomous back-and-forth reasoning
- Final synthesis agent
Creative -> Critic -> Creative -> Critic -> ... -> Editor -> END
State includes:
- problem
- history
- round counter
- max rounds
- last speaker
Routing is controlled by the route_next() function.
Open one_day_multi_agent.ipynb and run all cells.
python app.py
Design a 2-week plan to ship an MVP for an AI-powered project risk predictor.
You need a Groq API Key to run the agent.
- Get a free key from Groq.
- Create a
.envfile in the root directory:GROQ_API_KEY=""
macOS / Linux
# Set up Python environment
pyenv local 3.11.3
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txtWindows (PowerShell)
# Set up Python environment
pyenv local 3.11.3
python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt