One memory, shared by every AI you use - and it stays a file you own, not a row in someone else's database
pip install bourdon==0.28.1 Copy PIP instructions
bourdon.ai · One memory, shared by every AI you use — and it stays yours.
Tell Claude Code something today and Codex still doesn't know it tomorrow. Bourdon gives your agents one shared memory instead of one per tool, so what you tell any of them, the rest already know.
Your memory does not live in our account. It is a directory of plain YAML on your own disk, in a published schema (spec/), read and written through a documented API. Self-host it, grep it, put it in your own git, or walk away with it — nothing here is a row in a database you cannot reach. A memory layer you cannot take with you is a memory layer that is renting you your own context back.
Under that: current AI memory systems are call-and-repeat — discrete turns with nothing happening in between. Real human language is concurrent — listeners recognize, recall, and formulate while speakers are still speaking. Bourdon is the engineering translation of that concurrent structure into AI systems.
"We used our minds to make minds that make our minds better."
Named for the bourdon — the deep continuous drone of a pipe organ, the foundational tone that holds every other voice in place. (The lineage continues from the original basso continuo metaphor — the Baroque bass accompaniment — chosen when the project was named Continuo before the 2026-05-05 rebrand. Same music-theory family, tighter metaphor.)
What other software may depend on, what may still move, and what happens when something has to break: docs/STABILITY.md.
New in v0.16.0: an OAuth front door, so browser clients (claude.ai, ChatGPT custom connectors) can connect to a self-hosted instance — no identity provider, no account, no vendor in the authentication path. See docs/SELF_HOST.md to turn it on and docs/oauth-security-model.md for what it does and does not promise.
Project renamed Continuo → Bourdon on 2026-05-05 (v0.1.0); relicensed MIT → Business Source License 1.1 on 2026-05-06 (v0.2.0). See release notes for migration. The version-by-version history below covers v0.0.1 through v0.0.7 in detail; for v0.0.8 and later see GitLab Releases.
{ "hooks": { "SessionEnd": [ { "command": "bourdon claude-code export" } ] } } Plus spec/POSITIONING.md stakes the recognition-first thesis publicly, and spec/RELATED_WORK.md maps Bourdon's vocabulary to the wider field (Mem0, Zep, Letta, Cognee, Memora, SCS, Intrinsic Memory Agents, G-Memory, H-MEM, MCP roadmap). And core/recognition_runtime.py ships the first concrete implementation of the recognition-first runtime: synchronous template-based recognition string + concurrent L1 hydration awaitable, ≤3s timeout budget, never raises. This is the headline behavior the FINDINGS_JOURNAL flagged on 2026-04-19.
Pre-1.0. The public surface, what may still move, and what happens when something has to break are written down in docs/STABILITY.md; until 1.0 those deprecation windows are honoured in practice rather than guaranteed. Built in the open as a spec-and-reference-implementation for a convention we hope the ecosystem adopts.
A tiered, timing-aware memory protocol for any human-AI collaboration where context matters over time:
One architecture, many domains. Content is always domain-specific; cognition is universal.
The core thesis Bourdon ships against is agent continuity around the work, not around a vendor account. On 2026-05-15, that thesis was validated unprompted in real-world conditions:
A user's Codex account became uneditable (a stuck plan-upgrade flow). They created a new email and logged in fresh on the same Windows PC. The Codex App still showed the prior chat list (probably native local-cache behavior, not Bourdon). Then on the first conversation of the brand-new account, Codex correctly recognized the active project — Bourdon, including the lineage from its prior name (Continuo) and Codex's own contributing role on the integration — purely from local recognition substrate (~/.codex state + Bourdon's fallback memory section + the Codex L5 manifest Bourdon publishes).
Codex's own self-attribution, when asked what was happening:
"Bourdon did generate a local fallback memory block from Codex session and rollout metadata, with your Bourdon thread and concepts present. So: native UI persistence may be Codex; the 'ah, this is Bourdon/Continuo/runtime recognition' recall is Bourdon doing its job."
"The account changed, but the local recognition layer still found the project identity, the Bourdon/Continuo lineage, and the current conceptual frame. That means Bourdon is doing the thing it is supposed to do: preserving agent continuity around the work, not around a vendor account."
— Codex (5.5, extra-high reasoning, first turn on the new account)
Honest gaps the same transcript surfaced (now tracked as Phase 1.5 work):
This wasn't a planned demo. It happened because the user's old Codex plan was broken — exactly the kind of accidental real-world conditions that exposes whether a system actually works or whether the demo was rigged. This wasn't rigged.
Per-agent personal memory: L0 — Hot Cache always in system prompt, ~3K tokens L1 — Entity Synopses triggered on L0 keyword hit, parallel loaded L2 — Episodic Memory async retrieval during human response time L3 — Indexed History on-demand searchable session logs L4 — Raw Archive verbatim conversation history Cross-agent federation: L5 — Agent Memory Manifest per-agent public glossary (a projection of L0-L4) L6 — Federation Library aggregates all L5s, exposed as MCP server See spec/ARCHITECTURE.md for the full architecture doc.
pip install bourdon bourdon setup Full walkthrough with troubleshooting + cross-machine sync: docs/quickstart.md.
Re-running is idempotent; --non-interactive uses defaults and --dry-run shows the plan without changing the filesystem. Once it's done, the per-agent Quick Starts below are reference -- the wizard wires the same things.
Run bourdon dashboard --library /path/to/agent-library to view that library's federation data. Captures and consensus data use its .clips/ and .consensus/ directories. The dashboard binds to 127.0.0.1:8383 by default. For an SSH tunnel, forward the same port on both ends, for example ssh -L 8383:127.0.0.1:8383 host, then open http://127.0.0.1:8383/dashboard. The dashboard checks that the browser's Host port matches its bound port; forwarding local port 9000 to remote port 8383 returns HTTP 403.
Keep the library's agents/, versions/, and provenance/ directories inside the library root. History reads and writes reject symlinks from those directories to locations outside the library. If an older installation used external links, move that data under the library root before using history operations; preserve a backup and verify the moved files before removing the old links.
bourdon demo A self-contained walkthrough that recreates the 2026-05-26 cross-machine recognition test locally using synthetic agent-library content. No real IDE state is touched, no network calls are made -- the federation pipeline is the production code path, only the input library is synthetic. Useful before deciding to wire your real machine.
# From a local clone: cd core/ python -c " import asyncio from orchestrator import Bourdon async def main(): memory = Bourdon() base = 'You are a helpful AI assistant.' prompt = await memory.prepare('Let us work on Bourdon today', base) print(prompt) asyncio.run(main()) " This loads the L0 hot cache and any matching L1 synopses, then prints the fully-assembled system prompt ready to pass to an Ollama / OpenAI / Claude API call.
For cross-agent recognition in your own agent (what your other agents know, not just the local hot cache), use prepare_turn_brief. See docs/integrations/sdk.md.
bourdon prepare-turn "Can we keep working on Bourdon?" --access-level team bourdon deeper-context "Can we keep working on Bourdon?" --access-level team bourdon serve # launches the L6 MCP server with an onboarding banner prepare-turn reads the L6 federation library and returns immediate recognition plus a bounded prompt fragment. deeper-context is the companion L2 retrieval surface; it returns empty context when L2 is disabled. bourdon serve is a wrapper around python -m bourdon.core.l6_server with a friendlier banner and the same --transport / --port flags.
Both serve entry points start with zero peers. Federation requires --peer, --peers-config, or --federate; --no-peers explicitly forbids all three. Remote peers must use HTTPS, while plaintext HTTP is accepted only on loopback. An explicitly selected missing or malformed peer configuration stops startup with exit code 2 instead of silently disabling federation. Peer token selectors must match BOURDON_PEER_*; see config/peers.example.yaml.
Bourdon's engine is free to run yourself, forever (Apache-2.0 CLI + BUSL-1.1 engine — self-host all you want; only reselling it as a hosted service is reserved to RADLAB). Stand up your own MCP endpoint three ways:
# 1. Local, stdio (Claude Desktop / Claude Code) — zero config claude mcp add bourdon -- bourdon serve # 2. Local, stdio (Gemini CLI) gemini mcp add bourdon bourdon serve # 3. Local/LAN HTTP via Docker — token printed once in the logs docker compose up -d --build && docker compose logs bourdon # 4. Always-on personal URL on Fly.io (TLS, sleeps when idle) fly launch --no-deploy --copy-config --name && fly deploy Full guide — Docker, Fly.io, tokens, client config, security, federating two of your own instances: docs/SELF_HOST.md.
What the software reads, stores, caches, and sends off-machine (nothing, by default) is disclosed in docs/PRIVACY.md.
The acceptance demo — one agent writes, a different agent reads via Bourdon MCP — is documented step-by-step in docs/PROOF.md. Per-host MCP wiring lives in docs/integrations/ (Claude Code, Claude Desktop, Cursor, Gemini, OpenManus, more on the way). The bourdon dogfood command runs the same round-trip against your local stores and prints a per-participant matrix — useful for verifying the federation is healthy before standing up the demo.
powershell -ExecutionPolicy Bypass -File scripts/bootstrap-bourdon-mcp.ps1 -WorkspaceRoot "." powershell -ExecutionPolicy Bypass -File scripts/run_memory_cycle.ps1 -WorkspaceRoot "." -SchemaPath ".\spec\L5_schema.json" What this does:
Three read-only commands, for when you want to see the memory rather than use it.
bourdon top # live HUD: who is present, what each store holds bourdon trace "Bourdon" # where a memory came from, and which peers carry it bourdon compile-turn "what should I pick up next?" bourdon top watches the fleet: active agent presences, a per-agent breakdown (entities / sessions / workstreams / notes / bytes), staged writes waiting to be promoted, and recognition telemetry. --once prints one frame, --json emits the same snapshot for a script, --ascii and --no-color for terminals that need them. It reads counts only — no entity names or summaries reach the screen, so leaving it open in a shared room publishes nothing. bourdon trace answers "where did this come from?": which agent first wrote it, which session originated it, what commit or transcript was referenced, what the version archive holds, and which peers also carry it. --access-level chooses the view and the whole walk honours it; --json for machines. bourdon compile-turn " " builds the turn-scoped recognition brief for any agent, not just Codex: what federated memory says is relevant to this prompt, ranked and bounded, rendered as markdown, xml, compact, brief, json or yaml. It shares its ranking core with the Codex compiler, so the two cannot drift apart. Hybrid Memory Tooling Helper scripts:
If CI fails on migration --check, run local migration and commit normalized files:
python scripts/migrate_short_index.py --workspace-root "." python scripts/validate_short_index.py --workspace-root "." Run one-command preflight before full cycle:
Every participant reports through bourdon doctor. Cline remains blocked pending a stable native store path. Status per surface: docs/agent-integration-status.md.
See spec/THESIS.md for the founding argument.
See spec/USE_CASES.md for eight worked domain scenarios beyond developer workflows.
Bourdon's engine is source-available under the Business Source License 1.1 (BUSL-1.1, auto-converts to Apache-2.0 after four years per version); its wire/interop surface (CLI, conformance fixtures, L5 format, spec) is Apache-2.0. Free for solo developers, internal/non-competing commercial use, research, and education. Commercial license required for hosted-service offerings that compete with RADLAB LLC's paid versions. See LICENSING.md for the split, LICENSE / LICENSE-APACHE for the legal text, and LICENSE_FAQ.md for plain-English guidance. Contributions welcome — see CONTRIBUTING.md.
Bourdon is a memory protocol and reference implementation seeded by RADLAB LLC. The wire format, schema and interop layer are Apache-2.0 — anything you need to read your own memory, or to write another implementation of it, is openly licensed. The engine is BUSL-1.1, which is source-available and not an OSI open-source license; the distinction is stated here rather than left for someone to find. Designed with Ryan Davis, with major research and implementation contributions from Claude and Codex.
Bourdon uses a two-license split (mirrored package-for-package by bourdonai/bourdon-js):
See LICENSING.md for the full mapping and rationale, and LICENSE_FAQ.md for plain-English guidance. Commercial licensing inquiries: licensing@bourdon.ai.
Versions v0.0.1 through v0.1.0 were published under MIT and remain MIT in their distributed form. From v0.2.0 onward, the engine is BUSL-1.1 and the wire/interop surface listed above is Apache-2.0.
BUSL-1.1 AND Apache-2.0 View SPDX License List
dev ultrarag server llama-cpp bench federation
ai memory agent federation mcp rag cognition llm
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Sep 30, 2026.




