Skip to main content
Give the agent several advisors, each with a description of what it is good at. The agent can pick the right advisor for the question with ask_advisor, or poll all of them at once with ask_all_advisors.
multi_advisor.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as multi_advisor.py, then run:
Full source: cookbook/91_tools/advisor_tools/02_multi_advisor.py