Open-source context layer for data agents that auto-builds a governed metric and business-context layer from your data stack for accurate agent queries.
ktx is an open-source tool from Kaelio that sits between a data warehouse and AI agents, auto-building a context layer from warehouses, BI tools, dbt models, and documentation. Agents query ktx to access approved metric definitions, business context, join graphs, and governed SQL compilation instead of writing raw SQL from scratch. Updates are emitted as YAML or Markdown diffs for git review. Compatible with Claude Code, Codex, Cursor, and any MCP-compatible agent. Warehouses supported include PostgreSQL, Snowflake, BigQuery, ClickHouse, and more. ktx is a product of Kaelio.
For people
For agents