KiroGraph’s data module indexes structured data files alongside your source code so the agent can query rows, compute aggregations, join datasets, and detect quality issues — all without loading raw data into the context window. Every computation runs in SQLite; only the result enters the model’s context. All tools requireDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davide-desio-eleva/kirograph/llms.txt
Use this file to discover all available pages before exploring further.
enableData: true in .kirograph/config.json.
Supported file formats: CSV, JSON (array-of-objects), Excel (
.xlsx/.xls), Parquet, and PDF (table extraction). Files are discovered automatically during kirograph index. Re-run kirograph data reindex after adding or updating data files.kirograph_data_list
List all indexed datasets with their file paths, formats, row counts, column counts, and sizes. Use this as your first call to discover what data is available and to obtain dataset IDs for subsequent tools.
Project root path. Defaults to the current working directory.
Example
Example output
kirograph_data_describe
Return a full schema profile for a dataset: column names, inferred types, cardinality, null percentages, min/max values, sample values, and any inferred validation rules. Pass column for a deep-dive on a single column.
Dataset ID from
kirograph_data_list.Column name for a single-column deep-dive (type, cardinality, null rate, min, max, mean, samples).
Project root path. Defaults to the current working directory.
kirograph_data_query
Retrieve filtered rows from a dataset. Multiple filters are ANDed together. Supports a rich set of operators and column projection to minimise context usage.
Dataset ID from
kirograph_data_list.Array of filter objects:
{ "column": "status", "op": "eq", "value": "active" }.Available operators: eq, neq, gt, gte, lt, lte, contains, in, is_null, between.Column projection — only these columns are returned. Defaults to all columns.
Maximum rows to return. Defaults to
100; hard-capped at 500.Pagination offset. Defaults to
0.Project root path. Defaults to the current working directory.
Example: recent high-value orders
kirograph_data_aggregate
Server-side GROUP BY aggregation entirely within SQLite — only the group results enter the context window. Essential for summarising large datasets without pagination.
Dataset ID from
kirograph_data_list.Columns to group by.
Array of metric objects:
{ "column": "amount", "op": "sum" }.Available ops: count, sum, avg, min, max, count_distinct.Pre-aggregation row filters (same format as
kirograph_data_query).Project root path. Defaults to the current working directory.
Example: total revenue per status
Example output
kirograph_data_search
Search column names and sample values within a dataset by keyword. Useful for discovering which columns hold a particular type of data when you don’t know the schema upfront.
Dataset ID from
kirograph_data_list.Search keyword to match against column names and sample values.
Project root path. Defaults to the current working directory.
Example: find columns related to email
kirograph_data_join
SQL JOIN across two indexed datasets using a shared key column. Results are capped at 500 rows; use columns projection to control context size.
Left dataset ID.
Right dataset ID.
Join column from the left dataset.
Join column from the right dataset.
Join type:
inner (default), left, or right.Column projection. Prefix column names with the dataset ID to disambiguate (e.g.
orders.amount).Maximum rows. Hard-capped at
500.Project root path. Defaults to the current working directory.
Example: join orders with users
kirograph_data_correlations
Compute pairwise Pearson correlations between all numeric columns in a dataset. Only pairs with an absolute correlation above threshold are returned.
Dataset ID from
kirograph_data_list.Minimum absolute correlation to include. Defaults to
0.3.Project root path. Defaults to the current working directory.
Example: strong correlations in orders
Example output
kirograph_data_quality
Data quality triage: ranks columns by a composite risk score derived from null rates, cardinality anomalies, and type mismatches. Returns only the columns with issues.
Dataset ID from
kirograph_data_list.Project root path. Defaults to the current working directory.
Example
Example output
kirograph_data_drift
Detect schema drift by comparing the current dataset profile against the most recently recorded snapshot. Reports added/removed columns, type changes, and row count deltas.
Dataset ID from
kirograph_data_list.Project root path. Defaults to the current working directory.
Example
kirograph_data_history
Return a chronological list of schema snapshots for a dataset. Each snapshot records the column schema, row count, and the timestamp when it was captured during indexing. Use this to understand how a dataset has evolved over time.
Dataset ID from
kirograph_data_list.Maximum number of snapshots to return. Defaults to
10, capped at 50.Project root path. Defaults to the current working directory.
Example
Example output
Complete Data Exploration Example
A typical workflow to understand a new dataset before writing analysis code:Profile the schema
