Skip to content

Entry Points Toolset

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

Basic Usage

agents:
  my_agent:
    model: openai:gpt-5-mini
    tools:
      - type: entry_points
        module: my_package

How It Works

A package registers a tools entry point in the agentpool group of its pyproject.toml, pointing to a function that returns the tool callables:

[project.entry-points.agentpool]
tools = "my_package.tools:get_tools"

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
tools:
- type: entry_points
  module: myapp.tools  # Python module path to load tools from via entry points.
  namespace: null  # Optional namespace prefix for tool names