KTX is an open-source context layer that helps AI coding assistants answer data questions accurately and consistently. Instead of letting AI make up its own metric definitions or re-explore your database on every question, KTX builds a knowledge base from your existing data tools (databases, dbt models, Notion docs, BI dashboards) and serves this context to AI assistants at query time. The result is that when you ask your AI assistant about revenue, churn, or any business metric, it uses your company's official definitions rather than inventing its own.
How It Works
You need to know something about your company's revenue, customers, or metrics - but your AI assistant keeps giving you different answers each time.
You point KTX at your database, your dbt models, your Notion docs, and your BI tools - everything that holds your company's business knowledge.
KTX reads through everything, figures out which tables connect to which, learns your approved metric definitions, and organizes all your company knowledge.
KTX creates a searchable wiki and a semantic layer with your official definitions - things like 'revenue means net revenue after refunds' and 'ARR is contract-first'.
Install the KTX integration directly into your coding assistant's configuration
Use KTX as a tool your assistant can call on whenever you ask data questions
Now when you ask 'what was our ARR last quarter?' your AI assistant searches your wiki, finds your official definition, queries the right tables, and gives you the same answer everyone else gets.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.