{"slug": "mycelium-codebase-memory-for-ai-coding-agents", "title": "Mycelium – codebase memory for AI coding agents", "summary": "Mycelium, a new tool from Kopicappu, provides AI coding agents with persistent, queryable memory of an entire codebase via a single command. It parses files, resolves imports, and builds a dependency graph, allowing agents to retrieve only relevant files with plain English descriptions before making changes, reducing file reads from 40 to 4. The tool also logs every file save with timestamps and agent identity, offering an audit trail for AI-assisted development.", "body_md": "One command gives your AI agent persistent, queryable memory of your entire codebase — before it touches a single file.\n\n`npx @kopikocappu/mycelium init`\n\nBefore writing a single line, your agent opens file after file trying to build a mental model it has never had. By the time it starts, it's read 40 files and lost context on most of them.\n\nBefore touching anything, your agent calls `/preflight`\n\nand gets back exactly the files it needs — with plain English descriptions of what each one does.\n\n```\napp/api/checkout/route.ts\napp/api/stripe/webhook/route.ts\nlib/user.ts\napp/pro/page.tsx\n```\n\nMycelium parses every file, resolves every import, and builds a dependency graph of the entire codebase. Claude Haiku writes a plain English description of what each file does and why it exists.\n\nYour agent calls `/preflight`\n\nwith a plain English description of its task. Mycelium returns exactly which files matter and how they connect. Four files, not forty.\n\nEvery file save is logged with a timestamp, a task description, and which agent made the change. You always know what your agents did — and when.\n\nDescribe your task in plain English. Get back exactly the files that matter, with AI-written explanations of what each one does and how they connect.\n\nA browser-based visualization of your entire codebase. Files as nodes, imports as edges, call relationships in orange. Understand any codebase in five minutes.\n\nEvery file save logged by task and agent identity — human, Claude Code, Cursor, anything. The full audit trail of what your AI agents actually did.\n\nFind files by concept, not keyword. \"Authentication flow\" finds the right files even when none of them have the word \"auth\" in their name.\n\nMycelium writes CLAUDE.md and .mcp.json into your project automatically. Agents discover it and use it without any manual configuration.\n\nBefore modifying a function, ask what calls it. Get the full blast radius — every file and function that depends on what you're about to change.\n\nAn agent about to implement a Stripe checkout calls `/preflight`\n\nand gets back exactly the right context. No guessing. No wasted reads. Just the graph knowing what matters.\n\nThe server runs locally at `localhost:47821`\n\n— your code never leaves your machine.\n\nStop watching Claude Code open 30 files before writing a single line. Mycelium gives it a map. It reads 4 files and gets it right.\n\nEvery agent session logged. Every file touched, timestamped, attributed. The audit trail that AI coding tools forgot to build.\n\nOpen the graph viewer. See every file, every dependency, every connection — with plain English explanations on every node. No more codebase spelunking.\n\nOne command. Any project. Your agent never files blind again.\n\n`npx @kopikocappu/mycelium init`", "url": "https://wpnews.pro/news/mycelium-codebase-memory-for-ai-coding-agents", "canonical_source": "https://www.getmycelium.net/", "published_at": "2026-06-24 20:02:45+00:00", "updated_at": "2026-06-24 20:13:56.897631+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "ai-tools", "large-language-models", "ai-infrastructure"], "entities": ["Kopicappu", "Mycelium", "Claude Code", "Cursor", "Stripe", "Claude Haiku"], "alternates": {"html": "https://wpnews.pro/news/mycelium-codebase-memory-for-ai-coding-agents", "markdown": "https://wpnews.pro/news/mycelium-codebase-memory-for-ai-coding-agents.md", "text": "https://wpnews.pro/news/mycelium-codebase-memory-for-ai-coding-agents.txt", "jsonld": "https://wpnews.pro/news/mycelium-codebase-memory-for-ai-coding-agents.jsonld"}}