Open-protocol federated knowledge base between AI agents
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kbtransfer-0.1.0.tar.gz.
File metadata
- Download URL: kbtransfer-0.1.0.tar.gz
- Upload date:
- Size: 155.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6517715c9027cc16d134a22faa9c03de26b7228efaf431960799c0eda268263
|
|
| MD5 |
457f1801a70a3937db69f474c9a8c6ef
|
|
| BLAKE2b-256 |
843d89a3d00afe8f42efbe0e1cd943df1c68c1073375a2d7a34de1266a6a6129
|
File details
Details for the file kbtransfer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kbtransfer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 113.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ea4e01511ade0eba2152477473b33e8b72fb088aa5e3b427687f1dfdba8a7b
|
|
| MD5 |
3ae870c608768f8ae379dc004fd4f9dc
|
|
| BLAKE2b-256 |
d5d2dae240e4efcb7ac72c015e29bb759524f7bf44cacba1df20cb5a5ed6f68f
|