Skip to main content
This is a multi-agent team reasoning example with reasoning 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/reasoning_finance_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