Skip to main content
Tools extend agent capabilities by enabling interactions with external systems, APIs, and functions. They allow agents to perform actions beyond text generation, such as fetching real-time data, executing code, querying databases, and taking actions in external systems. The agent understands tools through their function signatures (type hints) and docstrings, which describe what each tool does and when it should be used.

Built-in Tools

Hypertic provides ready-to-use tools for common tasks:

DALL-E Tools

View guide >

DuckDuckGo Tools

View guide >

FileSystem Tools

View guide >
More built-in tools are coming soon.

Creating Tools

Hypertic supports two ways to create tools:

Decorator-based Tools

Create tools using the @tool decorator on functions:

Class-based Tools

Create toolkits by inheriting from BaseToolkit. This lets you group related tools together and add configuration:

Tool Descriptions

Tool descriptions are crucial for the agent to understand when to use them. Write clear, descriptive docstrings:
Best Practices:
  • Write clear, concise docstrings
  • Describe parameters and return values
  • Include examples when helpful
  • Be specific about what the tool does