Using a Toolkit
Agno provides many pre-built toolkits that you can add to your Agents. For example, let’s use the DuckDuckGo toolkit to search the web.1
Create Web Search Agent
Create a file
web_search.pyweb_search.py
2
Run the agent
Install librariesRun the agent
Writing your own Tools
For more control, write your own python functions and add them as tools to an Agent. For example, here’s how to add aget_top_hackernews_stories tool to an Agent.
hn_agent.py
Developer Resources
- View the Agent schema
- View the Knowledge schema
- View Cookbook