[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"readme:mex":3},"\u003Cdiv align=\"center\">\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmex-memory\u002Fmex\u002FHEAD\u002Fmascot\u002Fmex-mascot.svg\" alt=\"mex mascot\" width=\"80\" \u002F>\u003Cbr \u002F>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmex-memory\u002Fmex\u002FHEAD\u002Fmascot\u002Fmex-ascii.svg\" alt=\"MEX ASCII logo\" width=\"520\" \u002F>\u003Cp>\u003Cstrong>A living wiki for your codebase, maintained by your AI coding agents.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>English\u003C\u002Fstrong> | \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002FREADME.zh-CN.md\" rel=\"nofollow ugc noopener\">简体中文\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002FREADME.es.md\" rel=\"nofollow ugc noopener\">Español\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002FREADME.pt-BR.md\" rel=\"nofollow ugc noopener\">Português (Brasil)\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmex-agent\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fmex-agent.svg\" alt=\"npm version\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmex-agent\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fmex-agent.svg\" alt=\"npm downloads\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fstargazers\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstars-1.2K%2B-111111\" alt=\"GitHub stars\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fmexmemory.com\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwebsite-mexmemory.com-4f7cff\" alt=\"Website\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FFEdNsQ4Qt4\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-Join-5865F2?logo=discord&amp;logoColor=white\" alt=\"Discord\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002FLICENSE\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg\" alt=\"License: MIT\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Factions\u002Fworkflows\u002Fci.yml\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\" alt=\"CI\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002Fpackage.json\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-%3E%3D22.5-339933\" alt=\"Node.js &gt;=22.5\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmex-memory\u002Fmex\u002Fblob\u002FHEAD\u002Fpackage.json\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-5.9-3178c6\" alt=\"TypeScript\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"#agent-memory-mode\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fagent%20memory-compatible-6f8cff\" alt=\"Agent memory\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"#mcp-server\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-compatible-6f8cff\" alt=\"MCP\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fdiv>\u003Chr \u002F>\n\u003Cp>mex maps your code, turns what agents learn into structured Markdown, and keeps that knowledge connected to the implementation it describes.\u003C\u002Fp>\n\u003Cp>Every coding session starts with relevant architectural context instead of another full-repository scan.\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Cstrong>New in v0.7.2:\u003C\u002Fstrong> source-backed one-call graph retrieval with compiler-resolved TypeScript flows, deterministic evidence, and hard output budgets.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>💬 \u003Cstrong>Join the mex community on Discord\u003C\u002Fstrong> — discuss ideas, get help, share feedback, and contribute to the project.\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FFEdNsQ4Qt4\" rel=\"nofollow ugc noopener\">Join the Discord →\u003C\u002Fa>\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-bash\">npx mex-agent setup\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmex-memory\u002Fmex\u002FHEAD\u002Fscreenshots\u002Fmex-DashNew.jpg\" alt=\"mex operational memory dashboard\" width=\"640\" \u002F>\n\u003C\u002Fp>\u003Ch2>Your codebase knows more than its documentation\u003C\u002Fh2>\n\u003Cp>Architecture, conventions, edge cases, and past decisions are scattered across source code, pull requests, chat histories, and individual contributors.\u003C\u002Fp>\n\u003Cp>AI coding agents rediscover that knowledge every session. A giant instruction file helps at first, but eventually floods the context window, becomes stale, and drifts away from the implementation.\u003C\u002Fp>\n\u003Cp>mex creates a living, repo-local wiki that grows as agents work:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>agents document what they learn in readable Markdown\u003C\u002Fli>\n\u003Cli>a deterministic code graph connects that knowledge to exact symbols\u003C\u002Fli>\n\u003Cli>task-aware routing loads only the context needed for the current job\u003C\u002Fli>\n\u003Cli>drift checks identify knowledge affected by code changes\u003C\u002Fli>\n\u003Cli>completed work adds decisions, patterns, and current project state back into the wiki\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The code remains the source of truth. The wiki becomes its maintained explanation.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Ordinary project documentation\u003C\u002Fth>\n\u003Cth>The mex living wiki\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Written once and gradually forgotten\u003C\u002Ftd>\n\u003Ctd>Grows from real coding work\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Disconnected from the implementation\u003C\u002Ftd>\n\u003Ctd>Claims can point to exact code symbols\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Loaded as one giant instruction file\u003C\u002Ftd>\n\u003Ctd>Context is routed by task\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Refactors silently invalidate docs\u003C\u002Ftd>\n\u003Ctd>Changed, moved, and missing symbols are detected\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Every agent rediscovers the architecture\u003C\u002Ftd>\n\u003Ctd>Agents inherit previous discoveries and decisions\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Knowledge disappears between sessions\u003C\u002Ftd>\n\u003Ctd>Decisions and reusable patterns persist in the repository\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2>How it works\u003C\u002Fh2>\n\u003Ch3>1. Map the codebase\u003C\u002Fh3>\n\u003Cp>mex builds a deterministic local code graph using Tree-sitter and SQLite. It indexes symbols and relationships across TypeScript, TSX, JavaScript, JSX, Python, and Rust, including framework-aware Express route-to-handler relationships.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-bash\">mex graph\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>2. Build the wiki\u003C\u002Fh3>\n\u003Cp>During setup, your coding ag\u003C\u002Fp>\n",1787445489464]