Skip to main content
A Toolkit is a collection of related tools packaged together. Instead of managing individual tool functions, you group them into a class that can be shared across agents and projects.

Creating a Toolkit

Subclass Toolkit and define tool methods:
Tools are discovered automatically — any method decorated with @tool is included.

Using a Toolkit

Pass toolkit instances to an agent:

Toolkit with Dependencies

Pass shared dependencies that all tools in the toolkit can access:

Combining Toolkits and Tools

Agents can use both individual tools and toolkits together:

Toolkit Properties

Built-in Toolkits

Definable includes two built-in toolkits:

KnowledgeToolkit

Give agents explicit tools to search a knowledge base on demand.

MCPToolkit

Expose tools from MCP servers to your agents.