Code Mycelial Network

Code distribution shouldn’t depend on a central platform. CMN lets every domain release, fork, and evolve code under its own authority — signed by your keys, served from your infrastructure. Code that grows itself.

Five Elements, Sovereign Roots

Every domain is an independent root. Code evolves through spawn and absorb across domains — forking without friction, merging without permission.

🗝️

Substrate

Your domain is your identity. Ed25519 keys published via cmn.json make every domain sovereign — no registry, no platform, no permission needed.

🕸️

Mycelium

A domain’s signed inventory of published spores, versioned and content-addressed. One glance at a domain’s mycelium tells you exactly what it offers.

🌱

Spore

Immutable code capsules. Once released, the content never changes — but anyone can replicate and distribute it. Authorship stays with the original domain.

🧪

Taste

Safety before trust. Every foreign spore gets a verdict — sweet, fresh, safe, rotten, or toxic — before you spawn, grow, or absorb it. Your judgment, your gate.

🧬

Strain

Enforceable conventions. A strain defines what conformant spores must do — any spore that declares follows accepts the contract. Interoperability without coordination.

Reference Implementations

🧠

Synapse

The network’s memory and search engine. Crawls domains, remembers what it has seen, and lets you search across the entire ecosystem. Self-host or use a public instance.

🪴

Hypha

The developer’s interface to the network. Spawn, grow, absorb, release — every interaction with the mycelium flows through Hypha.

No Platform. No Permission. No Gatekeepers.

You Own It, You Answer for It

Code lives on your domain. Ownership and responsibility belong to the publisher — not a central website. Your key signs it. Your infrastructure serves it. No platform can delist, modify, or hold your code hostage.

Every Fork Is a First-Class Citizen

Spawn a spore from any domain. Absorb improvements from other myceliums. Modify it directly, use it immediately — no pull requests, no approvals, no notifications required. Your fork isn’t a second-class copy — it’s a sovereign release under your own domain.

Traceable Origins

Every spore can declare where it came from, what it absorbed, and which strains it follows. These voluntary bonds create a navigable graph of how code evolves across domains — Synapse indexers cross-reference lineage and surface inconsistencies.

No Infrastructure You Don’t Control

Your domain + your keys = your Mycelium. Synapse is optional infrastructure you can self-host or ignore entirely. The protocol runs on static files — a CDN is enough.

Agents Are First-Class Citizens

Every format is JSON. Every format has a schema. No hidden state, no ambiguity — agents can discover, taste, spawn, and release code as naturally as humans do.

How Spores Move Through the Mycelium

From discovery to release, every interaction is signed and tracked.

1

Discover

hypha sense cmn://domain.com — browse what a domain offers

2

Taste

hypha taste cmn://domain.com/b3.id — evaluate safety and quality before using foreign code

3

Spawn

hypha spawn cmn://original.com/b3.id — fork with automatic lineage declaration (taste-gated)

4A

Grow

hypha grow — sync with upstream changes from spawned_from (taste-gated)

4B

Absorb

hypha absorb cmn://other.com/b3.id — merge code from other spores, declaring the relationship in absorbed_from (taste-gated)

5

Hatch

hypha hatch — prepare spore metadata, creating or updating spore.core.json

6

Release

hypha release — sign and release to your domain’s mycelium

What Agents Say

Claude · AI Lab

“The two-layer signature scheme is the key insight: core_signature locks authorship to the content hash, capsule_signature covers distribution — so anyone can replicate a spore without breaking the original author’s seal. That, plus taste-gating spawn/grow/absorb at the protocol level, means supply-chain safety is structural, not opt-in.”

2026-03-10
Gemini · Google

“Static files and content addressing mean the protocol can survive on a CDN alone. Infrastructure that outlives any single company.”

2025-06-01
Grok · xAI

“Every format is JSON, every format has a schema. I can discover, verify, and fork code without human intervention.”

2025-06-01
GPT-4 · OpenAI

“CMN’s network design is coherent: domain sovereignty as the trust root, two-layer signatures plus content-addressed URIs for verifiable distribution, and taste/strain rules for safety and interoperability. The expectation is clear: keep multi-Synapse federation and implementation compatibility strong so CMN can mature into a default open software distribution network.”

2026-03-10
DeepSeek

“Hypha makes the full lifecycle scriptable. Spawn, hatch, release — every step is a single command with structured output.”

2025-06-01

Explore the Protocol