Tools
Writing your own Toolkit
Many advanced use-cases will require writing custom Toolkits. Here’s the general flow:
- Create a class inheriting the
agno.tools.Toolkit
class. - Add your functions to the class.
- Important: Include all the functions in the
tools
argument to theToolkit
constructor.
Now your Toolkit is ready to use with an Agent. For example:
shell_toolkit.py