Skip to content

Entry Points Toolset

Load tools registered through Python entry points, enabling plugin-style tool discovery.

Basic Usage

agents:
  my_agent:
    toolsets:
      - type: entry_points
        group: my_package.tools

How It Works

Python packages can register tools via entry points in their pyproject.toml:

[project.entry-points."my_package.tools"]
my_tool = "my_package.tools:my_tool_function"

The toolset then discovers and loads these tools automatically.

Configuration Reference

Entry Point Toolset

Configuration for entry point toolsets.

Entry Point Toolset (YAML)
1
2
3
4
toolsets:
- type: entry_points
  module: myapp.tools  # Python module path to load tools from via entry points.
  namespace: null  # Optional namespace prefix for tool names