A team-shared, git-native knowledge base for AI coding sessions.
Built up in your repo, reviewed and versioned like code, with no extra infrastructure to run.
How it works · Installation · Daily use · Knowledge packs · Troubleshooting
Coding assistants forget about everything in past sessions. Kenkeep creates a system that salvages the gold nuggets in your past conversations, and discards the rest. This way, the assistant can use that important detail you shared two weeks ago, without you even worrying about it.
Kenkeep is a team-shared, git-native knowledge base for AI coding assistants.
Your AI conversations produce a steady stream of project-specific knowledge (conventions, gotchas, named modules, decision rationale), and most of it evaporates when the session ends. This tool captures it, asks a human to curate it, commits it to the repo, and injects it back into every future session.
|
|
|
|
|
|
|
The knowledge base grows in your repo as plain markdown, one node per fact, accumulated from real coding sessions. The |
Nothing reaches the knowledge base without a human approving it. Every addition or change is an ordinary git diff you review in a commit or PR, with the full history there to inspect, blame, or revert like any other code. |
|
No daemons, services, databases, or vector stores. kenkeep is just Node and git, so there is nothing to provision, host, or keep alive, and nothing new to secure. |
It all runs from within the assistant of your choice, on the subscription you already pay for. There is no separate API key to obtain, store, or rotate. |
kenkeep runs a loop around your AI sessions. Capture and recall happen on their own; you trigger curation, and you decide what to keep:
- Capture (automatic): when a session ends, a hook saves the transcript.
- Curate (you run
/kk-curate): the AI drafts proposed notes undernodes/, then walks you through any contradictions with an existing note. - Review (you decide): inspect the notes with
git diff, then commit the ones you want to keep. - Recall (automatic): at the start of every session a hook injects only the root index; the assistant descends by relevance, opening just the notes it needs (progressive disclosure), so the payload stays small as the base grows.
Full walkthrough: How it works.
npx kenkeep init --harnesses claude
npx kenkeep doctorSwap claude for codex, cursor, opencode, or copilot (or pass a comma-separated list). For GitHub Copilot CLI, npx kenkeep init --harnesses copilot installs the skills under .github/skills/ (Copilot's documented project skill location) and keeps the adapter's hook scripts under the project-local .copilot/ directory, registering them in the repo-level .github/hooks/kk.json (Copilot loads repo-level hooks before user-level; nothing is written to ~/.copilot/).
Then code normally. When you want to turn captured material into knowledge nodes, run /kk-curate inside your harness session (also /kk-add, /kk-bootstrap). The skills are context-aware and walk you through conflict resolution. New nodes appear in nodes/; review with git diff and commit the ones you want to keep.
|
If your repo already has READMEs, ADRs, or module docs, seed the knowledge base from them. Inside a harness session: The scan walks the repo root, filtered by |
At any time during a session you can use Example: |
Knowledge packs let teams publish a reviewed .ai/kenkeep/nodes/ tree for a
framework, platform, or shared domain and graft it into another project as one
isolated branch:
npx kenkeep pack import e0ipso/kenkeep-pack-drupal
npx kenkeep pack import https://github.com/e0ipso/kenkeep-pack-drupal --as drupalImports are deterministic and LLM-free. Colliding node ids are skipped with a warning, and any structural rebalancing happens later through the normal curation workflow. See the full guide: Knowledge packs.
Full documentation: https://kenkeep.canpicasoft.com
For maintainers of this package itself, see CONTRIBUTING.md.


