Show HN: Komi-learn – continuous memory and self-improvement for coding agents

rainxchzed1 pts0 comments

GitHub - kurikomi-labs/komi-learn: Continuous memory + self-improvement for AI agents. Learns how you work, recalls it automatically, no commands. Claude Code & Codex. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

kurikomi-labs

komi-learn

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>40 Commits<br>40 Commits

.claude-plugin

.claude-plugin

.github/workflows

.github/workflows

examples

examples

hooks

hooks

komi

komi

pool-repo-template

pool-repo-template

tests

tests

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

pyproject.toml

pyproject.toml

View all files

Repository files navigation

komi-learn

Continuous memory and self-improvement for coding agents. It learns how you work and recalls it automatically, with no commands. Works with Claude Code and Codex.

It watches a session, distills durable lessons in the background (your style, your stack, fixes that worked), and loads the relevant ones at the start of the next session. No slash commands, nothing to save by hand.

The idea is from Hermes Agent; this is my own take, generalized across hosts with an optional shared layer (the community pool, below).

It's early. The core loop is built and CI-tested, but it hasn't been battle-tested across a lot of real sessions yet. Feedback and bug reports are welcome.

Install

pip install komi-learn<br>komi-learn install # or: komi-learn install --host codex

install runs a short interactive setup, then recall and background learning start in your next session. If you already use Claude Code you're already logged in. For scripts, komi-learn install --yes takes the defaults.

From source:

git clone https://github.com/kurikomi-labs/komi-learn<br>cd komi-learn<br>pip install -e .

Commands

`)<br>komi-learn sync # pull the latest community learnings<br>komi-learn queue # review/approve/reject what you'd contribute to the pool<br>komi-learn forget # erase learnings matching (archive, or --hard to delete)<br>komi-learn uninstall # remove the hooks (keeps your data; --purge to wipe)">komi-learn doctor # check the install and what to fix<br>komi-learn status # config + how much it has learned<br>komi-learn config # change any setting (menu, or `config set `)<br>komi-learn sync # pull the latest community learnings<br>komi-learn queue # review/approve/reject what you'd contribute to the pool<br>komi-learn forget x> # erase learnings matching (archive, or --hard to delete)<br>komi-learn uninstall # remove the hooks (keeps your data; --purge to wipe)

You can change anything after install, e.g. komi-learn config set recall.semantic false or leave the pool with komi-learn config set pool.repo_url "".

How it works

Recall: at session start, learnings relevant to the current context are loaded.

Distill: after the session, a background pass reads the transcript and extracts durable lessons (corrections, techniques, fixes).

Curate: over time it merges overlapping lessons and archives stale ones.

Share (optional): general lessons can be contributed to the community pool, but only ones you approve.

It tries not to learn the wrong things. Secrets, machine-specific paths, one-off failures, and "tool X is broken" complaints are filtered out by a deterministic check before the LLM ever sees them.

Community pool (optional)

A public pool of general agent lessons, stored as a GitHub repo of signed Markdown files (no server). If you opt in, you get lessons other people's agents figured out, and you can contribute your own.

Contributions are scrubbed of anything identifying and never leave your machine without your approval (each one opens a PR you reviewed). Learnings are content-addressed (BLAKE3) and signed (Ed25519); one signed by more distinct GitHub accounts ranks higher when pulled. That account count is Sybil-resistant but not Sybil-proof, so it's an advisory signal, not a hard trust gate. Recalled community items are labelled and treated as untrusted input. Details: pool-repo-template/CONTRIBUTING.md.

Try it offline

No...

komi learn pool install session github

Related Articles