News for hackers. Stuff that matters.
Re:Show HN: Ktx – Open-source executable context layer for d... by anentropic on Friday May 29, 2026 @02:18PM (#48327153)
This sounds like it might be exactly what I need!

Does `ktx setup` need Claude specifically?

> LLM - picks a Claude backend. The default uses your local Claude Code session, so no API key is required. You can also use an Anthropic API key or Vertex AI.

I'm currently on Copilot at work

Re:Show HN: Ktx – Open-source executable context layer for d... by anentropic on Friday May 29, 2026 @02:22PM (#48327209)
Next questions...

I'm skim reading the docs but I just want to know a bit more about the architecture

Does it produce artefacts that I can commit to version control and share with my team? Is it a tool that everyone runs locally in the project? Or there's a component (the wiki?) that I should deploy as an internal service?

Re:Show HN: Ktx – Open-source executable context layer for d... by anentropic on Friday May 29, 2026 @02:23PM (#48327229)
Sounds like it produces yaml and markdown files that I could commit as project documentation/config?
Re:Show HN: Ktx – Open-source executable context layer for d... by andreybavt on Friday May 29, 2026 @04:48PM (#48329040)
yes, exactly
Re:Show HN: Ktx – Open-source executable context layer for d... by andreybavt on Friday May 29, 2026 @04:26PM (#48328764)
When you install ktx, you'll have to initialize the project directory and ktx initializes a git repo there to assure the version controls.

ktx project directory is self-contained. The main 2 parts inside are :

- wiki: a collection of .md files

- semantic-layer: a collection of .yaml files

typically all these files are created/edited automatically during the ingestion, but you can also edit them by hand or even sync with a remote git.

ktx treats these files as sources and builds internal indexes in a sqlite db, located in projectDir/.ktx

The main way to use ktx is to start an mcp server by calling `ktx mcp start` it'll start an http server and multiple people will be able to connect it to their agents.

Hope this helps, happy to answer any other questions!

Re:Show HN: Ktx – Open-source executable context layer for d... by lucamrtl on Friday May 29, 2026 @04:21PM (#48328688)
We currently support anthropic models for the setup (whether through claude pro/max plan) or through API. Adding support for openai API / codex should be pretty straightforward - would love to get you in the community slack to get more details on your copilot setup
Re:Show HN: Ktx – Open-source executable context layer for d... by lucamrtl on Friday May 29, 2026 @04:26PM (#48328755)
Here's the community https://ktx.sh/slack
Re:Show HN: Ktx – Open-source executable context layer for d... by lucamrtl on Wednesday June 03, 2026 @06:48PM (#48391170)
Quick update - we just released support for codex as LLM backend :)