Skip to main content

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 under reports/.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kbtransfer-0.1.1.tar.gz (157.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kbtransfer-0.1.1-py3-none-any.whl (113.6 kB view details)

Uploaded Python 3

File details

Details for the file kbtransfer-0.1.1.tar.gz.

File metadata

  • Download URL: kbtransfer-0.1.1.tar.gz
  • Upload date:
  • Size: 157.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kbtransfer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5ca9492e6e29da83ae061901550a5f68a7e9e80c5911fbde30df70ab1b0b767f
MD5 7799ef7ae8687c53a9b9456dae591c2f
BLAKE2b-256 c3f28253855ba6d42c1c0de2274cbe99b2fefcde7b74dce0f0311005dc0effc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for kbtransfer-0.1.1.tar.gz:

Publisher: release.yml on kbtransfer/kbtransfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kbtransfer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kbtransfer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 113.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kbtransfer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43a6b9493de74d1a8192c5804171a14295ff3a4684be250ca25cde9ed02c7e90
MD5 ca532635a8932761dda3a85974240146
BLAKE2b-256 1f9cd5164bf0db10a0f0345723ad1bcc2f8f1d45ff5330c97e72205ee35cd305

See more details on using hashes here.

Provenance

The following attestation bundles were made for kbtransfer-0.1.1-py3-none-any.whl:

Publisher: release.yml on kbtransfer/kbtransfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page