12 lines
652 B
Markdown
12 lines
652 B
Markdown
- **Use case**: a *“research assistant team”*:
|
|
- **Researcher** agent → searches the web / literature and gathers info
|
|
- **Writer** agent → turns notes into a clean answer
|
|
- **Critic** agent → reviews the draft and tightens it up
|
|
- **Supervisor** agent → decides which specialist to call and when
|
|
- Setup
|
|
- ```
|
|
python -m venv venv
|
|
.\venv\Scripts\Activate.ps1
|
|
pip install -U "langchain>=1.0" langchain-openai langchain-community
|
|
export OPENAI_API_KEY="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"
|
|
``` |