Introducing ktx - the open-source context layer that makes data agents reliable on your warehouse. Agents like Claude Code write SQL that looks correct but quietly uses the wrong joins, filters, or metric logic. Skills and markdown docs make agents guess. Semantic layers were built for legacy BI, not agents. ktx ingests your data stack and docs continuously and produces an executable semantic layer with a wiki-style knowledge base. Agents query ktx, it returns accurate SQL. In the demo, ktx answers in under 30s. Claude Code with direct warehouse access gets it wrong, takes 7× longer, burns 10× more tokens. Apache 2.0. Works with Claude Code, Codex, Cursor, or any agent. 🚀 Install: npm install -g @kaelio/ktx 🔗 GitHub: 📚 Docs: 💬 Slack: #OpenSource #TextToSQL #ContextLayer #DataAgent Kaelio: YC Spring 2025: Kaelio: Open-source context layer for data agents