#8484th of 101 in RAG, knowledge and searchFor data and documents, data analysis

ktx

Builds a semantic layer and wiki so agents query your warehouse accurately

Releases and problems feed (RSS)

Stars
1.6k
License
Apache-2.0
Last commit
Jul 2026
Last release
Jul 2026
Language
TypeScript
Stars, last 28 weeks+1,633
10 May 2026: 5 stars17 May 2026: 6 stars24 May 2026: 107 stars31 May 2026: 702 stars7 Jun 2026: 937 stars14 Jun 2026: 1,192 stars21 Jun 2026: 1,328 stars28 Jun 2026: 1,410 stars5 Jul 2026: 1,446 stars12 Jul 2026: 1,467 stars19 Jul 2026: 1,492 stars26 Jul 2026: 1,501 stars2 Aug 2026: 1,514 stars9 Aug 2026: 1,524 stars16 Aug 2026: 1,534 stars23 Aug 2026: 1,550 stars30 Aug 2026: 1,560 stars6 Sept 2026: 1,571 stars13 Sept 2026: 1,580 stars20 Sept 2026: 1,593 stars27 Sept 2026: 1,599 stars4 Oct 2026: 1,608 stars11 Oct 2026: 1,614 stars18 Oct 2026: 1,617 stars25 Oct 2026: 1,624 stars1 Nov 2026: 1,632 stars8 Nov 2026: 1,634 stars15 Nov 2026: 1,636 stars22 Nov 2026: 1,638 stars

5 on 10 May 20261,638 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

ktx is a TypeScript CLI that ingests warehouse metadata, dbt/Looker/Metabase models and wiki content, then builds a semantic layer (YAML) and Markdown wiki. Agents query it through an MCP server or CLI, with full-text and semantic search. Metrics compile to read-only SQL, using a join graph that resolves fan and chasm traps.

Who it is for: Data teams giving coding agents accurate, governed access to a SQL warehouse

Strengths

  • Supports PostgreSQL, Snowflake, BigQuery, ClickHouse, MySQL, SQL Server, DuckDB, Athena, MongoDB and more
  • Ingests dbt, MetricFlow, LookML, Looker, Metabase, Sigma, Notion and Google Drive
  • Read-only warehouse connections; runs locally with no hosted service
  • Context is plain YAML and Markdown files that can be committed to git

Weaknesses

  • Requires an LLM provider (Anthropic, Vertex AI, AI Gateway, Claude Code or Codex sign-in)
  • No local open-weight model backend listed among supported LLMs
  • Needs an existing SQL warehouse; not useful for one-off queries
  • Collects usage telemetry by default; opt-out is documented separately

What it needs

  • no GPU
  • Needs Node.js/npm, LLM provider API or local Claude Code/Codex sign-in, SQL warehouse, Embeddings provider
  • Models: Anthropic API, Google Vertex AI, AI Gateway, Claude Code session, Codex

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in RAG, knowledge and search

See all 101
Also in RAG, knowledge and search
RankProjectScore
#82jamaibaseRAG backend with spreadsheet-style tables over SQLite and LanceDB Live demo ↗ (opens in a new tab)1.1k starsApache-2.039 out of 100
#83swirl-searchFederated search and RAG that queries your apps live, without copying data3k starsApache-2.037 out of 100
#85langchain-chatchatLocal knowledge-base Q&A and agent app built on LangChain38.7k stars+90 (+0.2%) in 30 daysApache-2.0no commits in a year36 out of 100
#86autoflowGraph RAG knowledge base with conversational search, built on TiDB Vector Live demo ↗ (opens in a new tab)3k starsApache-2.035 out of 100
#87atomspaceIn-RAM typed metagraph database with a pattern-matching query and rewriting engine1k starscustom license35 out of 100