loading…
Search for a command to run...
loading…
Agent-first cognitive substrate with 18 manifest-driven verbs (germinate / eat / assimilate / sporulate / traverse / immune / molt / …) and 25 lint dimensions e
Agent-first cognitive substrate with 18 manifest-driven verbs (germinate / eat / assimilate / sporulate / traverse / immune / molt / …) and 25 lint dimensions enforcing contract invariants mechanically (R1–R7). Cross-session / cross-project memory via a self-validating filesystem graph — AST + markdown-link derived, not embedding-based. Provider-agnostic by design: MP1/MP2 dims forbid LLM-SDK imports in the kernel and plugin tree. Editable-default install. Works with Claude Code, Cursor, Windsurf, Zed, VS Code, and any MCP client.
Devour everything. Evolve forever. You just talk.
Claude Code /plugin install myco@myco · Claude Desktop myco-install host cowork · Any MCP host pip install 'myco[mcp]'
What it is · How it lives · Quick start · Verbs · Self-validation
LangChain. LangGraph. CrewAI. DSPy. Claude Code skills. OpenHands. OpenClaw. Every few months the next framework drops and you migrate again.
Your notes rot too. The API you read three weeks back has changed. The doc you wrote last year is wrong now. Your AI does not even remember last week's decisions. Every new conversation starts from zero.
Now imagine one living substrate. It ingests the frameworks, the papers, the APIs, the codebases, the datasets, the decisions, the frictions. It keeps them connected in a graph the agent actually reads. It catches its own drift. It reshapes itself when your work outgrows its old form. For six months. For six years. No migration.
Myco is a living cognitive substrate for your AI agent.
Everything the agent reads or writes, every piece of code and every paper and every decision and every friction, lives on your filesystem as plain markdown + YAML. Files cross-reference each other by name, forming a graph the agent actually reads. The agent eats raw material, digests it into integrated knowledge, immune-checks its own work against drift, propagates learning across your projects, and when the shape of the substrate no longer fits the shape of the work, reshapes the substrate itself. The kernel that runs all of this is itself a substrate, editable by default, maintained by the same agent that uses it.
Not a framework. Not a vector database. Not a managed service. A living filesystem for an agent you talk to.
The idea is older than the implementation. What changed is the agent. Today's models are finally capable of keeping their own tooling alive. Every earlier attempt at a self-maintaining knowledge system died in the same place, where the human in the loop could no longer keep up. Myco puts the loop inside the agent. Every surface, every verb, every rule assumes the maintainer is an agent, so the human in the loop is no longer load-bearing.
You speak. The agent listens. Between your turns, Myco runs a metabolism.
hunger asks what is missing. eat absorbs whatever you point at, whether a path, a URL, or a paragraph. sense and forage scan what is already here. excrete safely removes a raw note captured by mistake, moving it to an audit tombstone instead of silently deleting.assimilate cooks raw notes into integrated knowledge. digest promotes a single note. sporulate concentrates integrated notes into a dispersible proposal.traverse walks the graph and reports on its connectedness. propagate publishes learning to a downstream substrate.immune runs a 25-dimension lint against the seven hard rules. senesce winds down each session cleanly.fruit drafts a three-round craft proposal, winnow gates its shape, and molt ships the contract bump.Nineteen verbs, one manifest, two faces: a CLI for you to observe, an MCP server for the agent to drive. You memorize nothing. The agent drives.
integrated is a state, not an endpoint. Today's conclusion is tomorrow's raw material.Myco's own source tree is a substrate. _canon.yaml at the root. MYCO.md as the agent entry page. docs/primordia/ holding the three-round craft document that justifies every contract bump. The Python code under src/myco/ is the innermost ring of its own ecosystem. Not a read-only artifact someone else wrote.
So the normal install clones the source and runs pip install -e on it. The agent that uses Myco is the same agent that maintains Myco. When it needs a new lint dimension, it scaffolds one with myco ramify, writes the case with myco fruit, gates the shape with myco winnow, and ships the bump with myco molt. No fork. No waiting PR. No long-lived feature branch. 永恒进化.
PyPI exists for bootstrap and for library embedding. It is not the normal install path.
pipx run --spec 'myco[mcp]' myco-install fresh ~/myco
This clones the repository to ~/myco, runs pip install -e on it, and leaves you with a writable kernel. Then germinate a substrate inside any project:
cd your-project
myco germinate . --substrate-id your-project
Hook Myco into your agent host in one command:
/plugin marketplace add Battam1111/Myco, then /plugin install myco@myco.myco-install host cowork to write the MCP entry, then download myco-myco-substrate onboarding skill.myco-install host <cursor | windsurf | zed | vscode | openclaw | claude-desktop | gemini-cli | codex-cli | goose>, or pass --all-hosts to auto-detect every host on this machine.Per-host snippets for the nine hosts with divergent schemas, Python-framework adapters (LangChain, CrewAI, DSPy, Smolagents, Agno, PraisonAI, MS Agent Framework, Claude Agent SDK), and library-embedding examples all live in INSTALL.md.
Six subsystems. Every name is a fungal-biology term whose meaning tracks its action.
germinate starts a fresh substrate.hunger (what is missing?), eat (absorb raw material), sense (keyword search), forage (scan ingestible paths), excrete (safely delete a raw note with an audit tombstone).assimilate (raw to integrated, in bulk), digest (promote a single note), sporulate (integrated to dispersible proposal).traverse (walk the graph), propagate (publish to a downstream substrate).immune (25-dimension lint; --fix repairs mechanically where it can).senesce (session dormancy), fruit (three-round craft), winnow (gate the craft's shape), molt (ship the contract bump), ramify (scaffold a new dimension, verb, or adapter), graft (manage substrate-local plugins), brief (human-facing state rollup).Every verb lives in src/myco/surface/manifest.yaml. The CLI (myco VERB) and the MCP tool surface both derive from that manifest mechanically. One source of truth for both faces. A downstream substrate can ramify its own dimensions or verbs into .myco/plugins/ without ever forking Myco.
Myco does not trust its agent to remember the contract. It enforces it.
myco immune --fix repairs mechanically where it can.substrate_pulse echoing the current contract version and a rule hint that escalates (R1, then R3, then on through the session) as the session progresses. A server-side push. The agent cannot accidentally forget._canon.yaml::system.write_surface.allowed is refused with WriteSurfaceViolation. Discipline as a mechanism, not as a request.Zero host-side configuration. R1 through R7 ride inside the MCP server itself, so every client (Claude Code, Cursor, Windsurf, Zed, Codex, Gemini, Continue, Claude Desktop, OpenClaw, OpenHands) gets the same contract on boot.
.claude/ in by hand.myco-install host cowork writes the MCP server entry; (2) drag the .plugin bundle from GitHub releases into Claude Desktop's plugin upload. Claude Desktop uploads it to your private Cowork marketplace, and every session auto-installs the myco-substrate onboarding skill so the agent follows R1 through R7 the moment it sees _canon.yaml. Cowork does not expose hooks and does not read local plugin dirs, so drag-and-drop is the only persistent path. See INSTALL.md for the full rationale.myco-install. Another nine have per-host snippets in INSTALL.md. Any other client can still run mcp-server-myco over stdio directly.StdioServerParameters(command="mcp-server-myco").myco propagate publishes. Adapters live in myco.symbionts.L0_VISION.md · L1_CONTRACT/ · L2_DOCTRINE/ · INSTALL.md · CONTRIBUTING.md · Issues
Architectural changes land as dated craft documents under docs/primordia/. Every release is governed by a three-round debate, then a molt, then an auto-published fan-out to PyPI, the MCP Registry, and the GitHub release.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"battam1111-myco": {
"command": "npx",
"args": []
}
}
}