🍄 Mycelium Network
The extracted biological core and its specialized fruiting bodies, grown from the BoneAmanita monolith.
- New here? Follow the step-by-step Live Trial Guide to try every mode in ~15 minutes.
- Want the architecture & rationale? Open the 3x project manual or the documentation map.
Architecture
- Mycelium (Core Chat ·
/chat/): The shared biological core library—semantic physics with homeostasis,SomaticBudget&PartnerState, Lexical Firewall with 0 ms inline repairs and soft-crime salvage,StageArbiter, private bounded/checkin, 3-tier Memory Zones (/remember,/consolidate),ordvecsemantic recall, credential intake screening,ReceiptLedger(/api/diag), Substrate Doctor, and Halcyon SQLite persistence. - Lichen (Adventure ·
/lichen/): Text Adventure & Free Adventure with Cartographer mapping, single-custody containers, deterministic verbatim Journal, hidden Core-6 inline narrator tags, story-safe puzzle passwords (in_story=True), two-pass continuity +/review, and shared Stamina/Cortisol/Dopamine pacing. - Muscaria (Creative ·
/muscaria/): Exploratory vs. directive creative posture, inline steering micro-tags ([!r],[!k],[!l],[!s]), multi-modal image prompts (upload orCtrl+Vpaste up to 4 images), soft-crime salvage, and Halcyon persistence. - Spore (Technical Kernel ·
/spore/): Strict technical & code generation with prose-only code firewall, code-fence-safe low-ATP trimming,POINT_OF_NO_RETURN/confirmgate for irreversible commands, and opt-in jailed local workspace tooling (SPORE_WORKSPACE:/ls,/read,/grep,/git status,/git diff,/patch→/confirmwith auto-rollback).
Quick Start
Requires Python 3.10+ and a local Ollama instance listening on port 11434.
Install globally without cloning (recommended on Linux/Arch/macOS)
# Pull local models (+ optional embeddings for ordvec semantic recall)
ollama pull gemma4:12b
ollama pull nomic-embed-text
# Install isolated with uv (or pipx) — avoids PEP 668 system-Python conflicts
uv tool install mycelium-network
mycelium doctor
mycelium
(Or install directly from main: uv tool install "git+https://github.com/aedmark/Mycelium.git".)
Or run from a local git clone (development)
# 1. Create and activate a virtual environment, then install editable package + CLI
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
# 2. Verify your local setup (Python, packages, SQLite, Ollama, models, embeddings)
mycelium doctor
# 3. Boot the Unified Hub (all 4 apps under one local server; add --workspace . for Spore sandbox)
mycelium --workspace .
(You can also install with pip install -r requirements.txt and run uvicorn hub:app --host 127.0.0.1 --port 8000 directly, or launch any single mode via mycelium core, mycelium lichen, mycelium muscaria, or mycelium spore.)
Open http://127.0.0.1:8000. On first launch, the Hub checks Ollama, lets you assign installed models per app (check Disable reasoning (think: false) for Gemma 4), and saves your choices to ~/.config/mycelium/config.json. You can switch models live from any app's sidebar dropdown, override via env vars (MYCELIUM_MODEL, LICHEN_MODEL, MUSCARIA_MODEL, SPORE_MODEL), or inspect health anytime via Diagnostics in the Hub topbar.
You can also run any single app standalone:
- Core Chat:
uvicorn mycelium.api:app --host 127.0.0.1 --port 8000 - Lichen:
uvicorn lichen.api:app --host 127.0.0.1 --port 8000 - Muscaria:
uvicorn muscaria.api:app --host 127.0.0.1 --port 8000 - Spore:
uvicorn spore.api:app --host 127.0.0.1 --port 8000
Mode Highlights
- Core Chat (
/chat/): Conversations save locally inmycelium-chat.dband resume across refresh or restart; New chat keeps older threads in Saved chats. Click Check-in (or/checkin [2-12]) for an ephemeral, low-pressure check-in that stays out of SQLite unless you explicitly click Keep check-in (/checkin keep). Click Memories (or use/remember,/remember --global,/consolidate,/forget) to inspect, pin, or delete distilled one-sentence sūtras. - Lichen (
/lichen/): Choose Text Adventure or Free Adventure in the browser. Both share Stamina, Cortisol, and Dopamine pacing and save locally inlichen.db(setLICHEN_DB=other.dbfor a separate campaign). Free Adventure keeps a verbatim Journal (DOCS/QUOTES/CLUES/PACTS) plus an optional Show tagged spans audit toggle. Use Download chat snapshot in any mapped room and Attach Lichen snapshot inside Core Chat (/chat/) to discuss your adventure with Core Chat. - Muscaria (
/muscaria/): Persists exchanges and vitals inmuscaria.db(New Session resets cleanly). Prefix prompts with[!r](riff),[!k](tighten),[!l](darker/stranger), or[!s](sensory) to steer prose, and click + Image or pressCtrl+Vto attach up to four PNG, JPEG, WebP, or GIF images on vision-capable models likegemma4:12b. - Spore (
/spore/): Persists history and vitals inspore.db. Guards destructive operations (git push --force,DROP TABLE,rm -rf,terraform destroy,deploy to prod) behind/confirm. WithSPORE_WORKSPACEset, inspects code strictly inside the jail (blocking traversal, symlink escapes,.env*, keys,.db, and credential dot-dirs) and stages surgical diffs in memory with/patchbefore applying on/confirm(with automatic rollback on failedSPORE_VERIFY_CMD).
Quick Command Reference
| App | Commands |
|---|---|
| Core Chat | /checkin [2-12], /checkin end, /checkin keep, /remember [--global] <fact>, /memories, /forget <id|all>, /consolidate |
| Lichen | look, inventory, take <item>, put <item> in <container>, set <item> down, /review, /pause |
| Muscaria | [!r] (riff), [!k] (tighten), [!l] (darker), [!s] (sensory), /remember, /memories, /forget, /consolidate, /rest |
| Spore | /ls [path], /read <path> [start-end], /grep <pat> [path], /git status, /git diff [path], /context clear, /patch <desc>, /confirm, /discard, /remember, /memories, /rest |
Testing & Diagnostics
pytest # 292 offline deterministic tests (no Ollama required)
python -m mycelium.doctor # Live substrate check against local Ollama
python3 tools/check_docs.py # Repository documentation & link verification
Metadata
Release files for mycelium-network 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| mycelium_network-0.3.1.tar.gz | 198.4 kB | With provenance | Details for mycelium_network-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mycelium_network-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for mycelium_network-0.3.1-py3-none-any.whl |
Total release size: 416.7 kB
Release files / mycelium_network-0.3.1.tar.gz
| Download URL | mycelium_network-0.3.1.tar.gz |
|---|---|
| Size | 198.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00b9981f5d9c094209b464dbfe480faf230acc0a1c9d751a4dc86cde0423b223
|
|
BLAKE2b-256 checksum How to use checksums |
5c56d9424d3dab86a0dd39ed5af4f3cc357daa7cab8574c506059e116a2f3239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / mycelium_network-0.3.1-py3-none-any.whl
| Download URL | mycelium_network-0.3.1-py3-none-any.whl |
|---|---|
| Size | 218.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6222a4684d2538466653474149a3a0ef9c1a17be4edea88e386773cac32d1706
|
|
BLAKE2b-256 checksum How to use checksums |
8b574d3a175a0be2280318d01ffc483b3e8d4f82c2dd71df69e6d5c06d8d652d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logSecurity for mycelium-network 0.3.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mycelium_network-0.3.1.tar.gz
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 Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.