This release is a pre-release and may not be stable for production use.
Koinome
Koinome is a local-first, plain-Markdown system for creating and maintaining a personal knowledge corpus for a person and their AI agents, with a deterministic validation gate.
Koinome is the product and tooling. A corpus is a portable, governed body of knowledge maintained by an individual and usable by that individual and their authorised AI agents. The
koinomecommand creates and maintains corpora.
Koinome currently provides a complete local-first corpus for individual use.
The individual corpus and its local tooling are free and open-source and are intended to remain so.
Current scope
The current Koinome release manages individual corpora, one corpus at a time. Cross-corpus sharing, transfer, combination, and federation are not implemented.
Free and open-source commitment
Koinome for individual use is a complete local-first product, not a limited edition of a hosted service. The individual corpus format, local tooling, validation, agent workflows, imports, exports, synthesis, migration, synchronisation, backup, and recovery are free and open-source and are intended to remain so.
You can create, maintain, and use local corpora without a Koinome account, subscription, or hosted service.
The problem
AI agents are amnesiac. Every session starts from zero, so context, decisions, and durable facts evaporate between sessions.
Judge any fix with the turn-it-off test: delete the tooling. With Koinome, delete every script and the corpus still works — notes open in any editor, git still diffs them, grep still finds them.
Memory corruption compounds quietly. For work knowledge, decisions, and governance records, the rule is absolute: nothing rewrites authoritative knowledge while you sleep.
The idea
The files are the product. Three commitments follow:
- Open standards only. CommonMark, YAML frontmatter, git, and todo.txt. Any human or agent can read a corpus with no adapter.
- Governed, not free-form. Deterministic validation and an optional git hook enforce the corpus contract. AI assists around the gate, never inside it.
- Authored, not compiled. Derived synthesis pages cite sources and pass the same gate as authored notes.
Guarantees
- Every note opens as plain text with no Koinome tooling installed.
- Validation is deterministic. No model, no network, no server.
- AI assists around the gate, never inside it. With every agent offline you can still read, write, validate, and commit.
- No Koinome process rewrites your notes unattended. The optional scheduled job is git sync only.
- Derived pages cite their sources. The validator rejects synthesis without provenance.
- Sensitive boundaries are physical. Keep sensitive material in a separate private corpus on a path no agent reaches.
Quick start
# run in place, no install
./koinome-cli new
# or install the command
pipx install . # or: uv tool install .
koinome new
Interactive, or fully scriptable:
koinome new --name my-work --path ~/my-work
Or pass domains when the layout is already known:
koinome new --name my-work --path ~/my-work \
--domain 10-projects=projects \
--domain 20-governance=governance
This creates the corpus, installs the git hook, and sets up shared folders. Point your agent at it and run the koinome-init skill to finish setup. Requires Python 3.10+ and PyYAML.
End-to-end individual workflow
- Install —
uv tool install .or run./koinome-cli. - Create a corpus —
koinome new --name my-corpus --path ~/my-corpus. - Connect an agent — open the corpus in Claude Code, Codex, Gemini CLI, or Cursor; run
koinome-init. - Author or import — add notes, import exports with
koinome seed, or distill seeds withkoinome-distill-seeds. - Validate —
koinome doctor ~/my-corpusorpython3 .scripts/validate_corpus.py --allinside the corpus. - Retrieve and synthesise — use MOCs, grep, and
koinome-synthesizefor provenance-backed synthesis. - Synchronise — commit and push with git; optional
koinome_sync.pyfor automated sync. - Upgrade safely —
koinome upgrade ~/my-corpusrefreshes managed tooling without touching your notes. - Recover — roll back from
.koinome/backups/or git history; validation failures block bad commits. - Remove tooling — delete Koinome scripts; your Markdown and git history remain.
Commands
| command | what it does |
|---|---|
koinome new |
Create a new corpus |
koinome seed |
Normalise a provider export to an import staging area |
koinome doctor CORPUS |
Validate a corpus and refresh navigation maps |
koinome check CORPUS |
Read-only conformance check (CI-safe) |
koinome upgrade CORPUS |
Upgrade Koinome-managed tooling without modifying user-authored knowledge |
See docs/USAGE.md for full reference.
Migrating from AuxMem
If you have an existing AuxMem folder, run koinome upgrade — see docs/MIGRATION.md.
Licence
MIT — see LICENSE.
Metadata
Release files for koinome 0.0.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| koinome-0.0.0a1.tar.gz | 115.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| koinome-0.0.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 233.9 kB
Release files / koinome-0.0.0a1.tar.gz
| Download URL | koinome-0.0.0a1.tar.gz |
|---|---|
| Size | 115.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f16ba64e4000875d4dcb56ef7cebc40c425c4e40534049c4c64ab7f39230dc28
|
|
BLAKE2b-256 checksum How to use checksums |
09d50f2c10402e572b9a84d916d0bf55d567321f91e85a4df9dfc56ef74f1773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / koinome-0.0.0a1-py3-none-any.whl
| Download URL | koinome-0.0.0a1-py3-none-any.whl |
|---|---|
| Size | 118.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efd1bced4580f80338462fc57a6309834d699090d0d6a22670173d64a04561e5
|
|
BLAKE2b-256 checksum How to use checksums |
e90d0acb1a87a115d21240f7af19ae1427588940871bcd23770db0f0a8ea5c7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|