OSS
Ktx Ships Open-Source Context Layer for Data Agents — Self-Improving Business Logic Makes SQL Queries Accurate
Ktx (77 HN points) is an open-source Apache 2.0 context layer that gives data agents approved metric definitions, joinable columns, warehouse metadata, and query history they don't get from direct warehouse access. It self-improves by learning from query patterns and corrections. Supported backends include Anthropic API, Google Vertex AI, and Claude Agent SDK. Install is one command (npm install -g @kaelio/ktx). Addresses the #1 data agent failure mode: syntactically valid but semantically wrong SQL.
Source
↳ Follow the thread