Download toolCallAgent.py from hibanail/First_agent_template: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/hibanail/First_agent_template/resolve/main/toolCallAgent.py
- Command line
-
hf download hf://hibanail/First_agent_template/toolCallAgent.py
-
curl -L -o toolCallAgent.py https://huggingface.co/hibanail/First_agent_template/resolve/main/toolCallAgent.py
249 Bytes
| from smolagents import DuckDuckGoSearchTool, ToolCallingAgent | |
| from model import model | |
| agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=model) | |
| agent.run("Search for the best music recommendations for a party at the Wayne's mansion.") | |