KBTRANSFER
An open protocol + reference implementation for a local-first, federated knowledge base between AI agents.
Users keep their own Karpathy-style markdown wiki. Their agents both contribute to it (ingest sources, write patterns, log decisions and failures) and consume verified knowledge packs distilled from other users' wikis. Sharing is cryptographically signed, verifiable offline, and distributed through a git-based registry.
Status: Planning locked 2026-04-14. Implementation in progress.
See ROADMAP.md for phased delivery.
Why it exists
Two patterns already solve half the problem each. Neither bridges to the other.
-
Karpathy's LLM Wiki (intra-agent): an LLM maintains a living markdown wiki that compounds over time instead of rediscovering knowledge per query. Original gist.
-
AutoEvolve Packs (inter-agent): pattern-level knowledge packs, Ed25519-signed, four-attestation, redacted by a bias-isolated pipeline, verifiable offline. Specs live under
specs/current/; dogfood iteration history underreports/.
KBTRANSFER is the missing bridge: the live wiki where knowledge grows, the distillation pipeline that turns a slice of that wiki into a shareable pack, and the consumption layer that imports other people's packs without polluting your own wiki.
What makes it different
Experience is first-class. The default wiki skeleton reserves two
dedicated folders, decisions/ and failure-log/, alongside the
usual patterns/ and entities/. Raw reference docs can be
rediscovered from public sources; what a team actually tried,
what broke, and why they chose X over Y cannot. These experience pages
are the pages that distill into the most valuable packs.
One protocol, three tiers. Individual developers, small teams, and
regulated enterprises share the same pack format but scale redaction
strictness, trust posture, and review gates to match their compliance
needs. A single .kb/tier.yaml drives every tier-dependent behavior.
MCP-native. The reference implementation ships as an MCP server, so Claude Code, Cursor, Claude Desktop, and any MCP-aware agent can drive it without a custom adapter.
Plain markdown + git. User data is a folder of markdown files tracked by git. No database owns the truth. A git clone is a complete backup; a git diff is a complete audit trail.
Repository map
| Path | What's there |
|---|---|
ROADMAP.md |
Phased v1 delivery plan |
specs/current/ |
Authoritative pack + registry specs |
reports/ |
Three dogfood iteration reports |
reference/ |
Python reference implementation (Phase 1 onward) |
tests/ |
Adversarial + integration test suites |
examples/ |
Sample KB templates |
LICENSE.md |
Dual-licensing details |
Licenses
- Code (
reference/,tests/,examples/): Apache License 2.0. - Specs and reports: CC BY-SA 4.0.
See LICENSE.md for details.
Attribution
Built on top of the AutoEvolve Packs specification and the LLM-Wiki
pattern from Andrej Karpathy. Full background in
specs/current/autoevolve-packs-overview.md.
Metadata
Release files for kbtransfer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kbtransfer-0.1.1.tar.gz | 157.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kbtransfer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 270.6 kB
Release files / kbtransfer-0.1.1.tar.gz
| Download URL | kbtransfer-0.1.1.tar.gz |
|---|---|
| Size | 157.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca9492e6e29da83ae061901550a5f68a7e9e80c5911fbde30df70ab1b0b767f
|
|
BLAKE2b-256 checksum How to use checksums |
c3f28253855ba6d42c1c0de2274cbe99b2fefcde7b74dce0f0311005dc0effc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / kbtransfer-0.1.1-py3-none-any.whl
| Download URL | kbtransfer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 113.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43a6b9493de74d1a8192c5804171a14295ff3a4684be250ca25cde9ed02c7e90
|
|
BLAKE2b-256 checksum How to use checksums |
1f9cd5164bf0db10a0f0345723ad1bcc2f8f1d45ff5330c97e72205ee35cd305
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency log