Skip to main content

Agent-First symbiotic cognitive substrate — v0.4.0 greenfield rewrite.

Project description

Myco

Myco

Devour everything. Evolve forever. You just talk.

PyPI Python License Stars

Quick Start · Daily Flow · Architecture · Integrations

Languages: English · 中文 · 日本語


LangChain. LangGraph. CrewAI. DSPy. Hermes. Every month a new framework promises to be the one. You spend more time picking tools than building with them.

And it's not just frameworks. Papers, APIs, best practices — everything refreshes daily. Your note app has 500 entries. Last organized: three months ago, maybe longer. Those carefully written notes? They're rotting. That API from three weeks back? Version changed. Nothing is checking for you.

Your AI doesn't remember last week's decisions either. Every new conversation, back to zero.


Now imagine you just talk. No organizing, no comparing frameworks, no re-explaining your project. Six months later your AI is sharper than anyone's — it devoured the latest work in your field on its own, found its own blind spots, threw out what stopped being true, and rewrote its own operating rules when they weren't good enough.

This is Myco.


What it is

Myco is an Agent-First symbiotic cognitive substrate — your agent's other half. Not a memory layer, not an agent runtime, not a skill framework. An autopoietic substrate: the agent brings intelligence; Myco brings memory, immunity, metabolism, self-model, and its own evolution. Neither is whole without the other.

v0.4.0 — Greenfield Rewrite. Every verb, every dimension, every contract surface re-authored from L0. Upgrading from v0.3.x: see CHANGELOG.md and scripts/migrate_ascc_substrate.py.

Quick Start

pip install myco

cd /path/to/your/project
myco genesis . --substrate-id my-project

For Claude Code / Cowork, copy this repo's .claude/ folder into your project — SessionStart fires myco hunger, PreCompact fires myco session-end. Zero manual ceremony.

For any MCP host (Cursor, Continue, Zed, …), Myco ships a manifest-driven MCP server:

from myco.surface.mcp import build_server
build_server().run()          # requires `pip install mcp`

A python -m myco.mcp launcher, a [mcp] extras target, and an official .plugin bundle ship in v0.4.1.

Daily Flow

Your agent drives it; you don't memorize anything. The 12 verbs group into 5 subsystems:

Subsystem Verbs What happens
Genesis genesis Bootstrap a fresh substrate.
Ingestion hunger · sense · forage · eat What the substrate needs; keyword search; list ingestibles; capture a raw note.
Digestion reflect · digest · distill Promote raw → integrated; distill integrated → doctrine.
Circulation perfuse · propagate Graph health; publish to downstream substrates.
Homeostasis immune Eight-dimension lint across 4 categories (--fix available).
(meta) session-end reflect + immune --fix; auto-fired by PreCompact.

CLI: myco VERB — global flags (--project-dir, --json, --exit-on) go before the verb. MCP: one tool per verb, derived mechanically from src/myco/surface/manifest.yaml (the shared SSoT).

Architecture

You ──▶ Agent ──▶ Myco substrate
                    ├── _canon.yaml        SSoT: identity · write-surface · lint policy
                    ├── MYCO.md            agent entry page (R1)
                    ├── notes/{raw,integrated,distilled}/
                    ├── docs/architecture/ L0 vision · L1 contract · L2 doctrine · L3 impl
                    ├── src/myco/          genesis · ingestion · digestion · circulation · homeostasis · surface
                    └── .claude/hooks/     SessionStart → hunger · PreCompact → session-end

Three roles — you set direction, agent brings intelligence, Myco brings memory and continuity. Seven hard rules (R1–R7) enforced partly by hooks, partly by the immune system, partly by agent discipline. Full contract: L1_CONTRACT/protocol.md.

Integrations

  • Claude Code / Cowork — drop in .claude/, done. Official .plugin bundle in v0.4.1.
  • Any MCP host — wire myco.surface.mcp:build_server() into the host's config.
  • Downstream substratesmyco propagate publishes; adapters live in myco.symbionts.

Learn more

L0_VISION.md · L1_CONTRACT/ · L2_DOCTRINE/ · CONTRIBUTING.md (v0.4.1) · Issues

Contributing: pip install -e ".[dev]"; architectural changes land as dated craft docs under docs/primordia/.

MIT · LICENSE · PyPI · Releases

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

myco-0.4.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

myco-0.4.0-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

Details for the file myco-0.4.0.tar.gz.

File metadata

  • Download URL: myco-0.4.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for myco-0.4.0.tar.gz
Algorithm Hash digest
SHA256 55dfeb5ce9ddd67c131c8efc8226300058963e2feaadadaa356c440374d7f50f
MD5 f12a9fb2c1418b65c12eb32da24ad799
BLAKE2b-256 a23f45e19fe0b4db14de11f2b8880564bf2ad2b67af2138d47644e338346c795

See more details on using hashes here.

File details

Details for the file myco-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: myco-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for myco-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3983fff051c28051c150ee0a3887c2de01cb7d27dddab53ed73a1bde7781209
MD5 8f612b315452b9a2de954c258d269a6b
BLAKE2b-256 f4fe2291364d511a295e6d177b010243407196df14a2fc55d9d857a1624110b2

See more details on using hashes here.

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