Using a Toolkit
Agno provides many pre-built toolkits that you can add to your Agents. For example, let’s use the HackerNews toolkit to fetch tech news.1
Create News Agent
Create a file
news_agent.pynews_agent.py
2
Run the agent
Install dependenciesRun 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