Skip to main content
Many advanced use-cases will require writing custom Toolkits. Here’s the general flow:
  1. Create a class inheriting the phi.tools.Toolkit class.
  2. Add your functions to the class.
  3. Important: Register the functions using self.register(function_name)
Now your Toolkit is ready to use with an Agent. For example:
shell_toolkit.py