Skip to main content
Create an agent with multiple tools. The agent decides which tools to call based on the user’s message.
1

Create the agent

agent_tools.py
2

Install dependencies

3

Export your API key

4

Run

The agent will call calculate and get_weather in parallel, then combine the results into a single response.