Skip to main content
DuckDbTools enable an Agent to run SQL and analyze data using DuckDb.

Prerequisites

The following example requires DuckDB library. To install DuckDB, run the following command:
For more installation options, please refer to DuckDB documentation.

Example

The following agent will analyze the movies file using SQL and return the result.
cookbook/14_tools/duckdb_tools.py

Toolkit Params

Toolkit Functions

You can use include_tools or exclude_tools to modify the list of tools the agent has access to. Learn more about selecting tools.

Developer Resources