#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
- Stars
- 1.6k
- License
- Apache-2.0
- Last commit
- Jul 2026
- Last release
- Jul 2026
- Language
- TypeScript
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
- [bug] package-artifacts fails on Windows when spawning pnpm from Node child processes ↗ (opens in a new tab)0 reactions · closed 26 May 2026Fixed by fix(scripts): make package artifacts pnpm launch work on Windows ↗ (opens in a new tab)
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| Rank | Project | Score |
|---|---|---|
| #82 | jamaibaseRAG backend with spreadsheet-style tables over SQLite and LanceDB | 39 out of 100 |
| #83 | swirl-searchFederated search and RAG that queries your apps live, without copying data | 37 out of 100 |
| #85 | langchain-chatchatLocal knowledge-base Q&A and agent app built on LangChain | 36 out of 100 |
| #86 | autoflowGraph RAG knowledge base with conversational search, built on TiDB Vector | 35 out of 100 |
| #87 | atomspaceIn-RAM typed metagraph database with a pattern-matching query and rewriting engine | 35 out of 100 |