Skip to main content
This is a team reasoning example with knowledge tools.
Enabling the reasoning option on the team leader helps optimize delegation and enhances multi-agent collaboration by selectively invoking deeper reasoning when required.

Code

cookbook/reasoning/teams/knowledge_tool_team.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Set your API key

3

Install libraries

4

Run Example