Skip to main content
This example shows how to create and use your own custom tool with Agno. You can replace the Hacker News functionality with any API or service you want! Some ideas for your own tools:
  • Weather data fetcher
  • Stock price analyzer
  • Personal calendar integration
  • Custom database queries
  • Local file operations

Code

custom_tools.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run the agent