[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116230":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":12,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},116230,"MIGRO","zOUMINGXI\u002FMIGRO","zOUMINGXI","MIGRO — Portable long-term memory for language models. Preserve experience, transfer state, and keep writing across model upgrades.","https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F",null,"Python",117,6,4,1,0,39,53,87.84,"Apache License 2.0",false,"main",true,[25,26,27,28,29,30,31],"agent-memory","ai-agents","cross-model-transfer","llm","long-term-memory","persistent-memory","python","2026-11-17 02:48:04","2026-11-23 02:04:45","\u003Cp align=\"center\">\n  \u003Cstrong>English\u003C\u002Fstrong> &nbsp; · &nbsp; \u003Ca href=\"README.zh-CN.md\">简体中文\u003C\u002Fa> &nbsp; · &nbsp; \u003Ca href=\"README.es.md\">Español\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fmigro-launch.svg\" alt=\"MIGRO — Models evolve. Memory endures. Persistent memory across language models.\" width=\"1600\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.15315\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-2611.15315-B75125?style=flat-square\" alt=\"Paper on arXiv\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDemo-Try%20online-E87524?style=flat-square\" alt=\"Interactive demo\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.10%2B-315F78?style=flat-square&amp;logo=python&amp;logoColor=white\" alt=\"Python 3.10 and later\">\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fdasd1231\u002FMIGRO\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHugging%20Face-Models-FF9D00?style=flat-square\" alt=\"MIGRO memory checkpoints on Hugging Face\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Apache--2.0-315F78?style=flat-square\" alt=\"Apache-2.0\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>Persistent memory across language models\u003C\u002Fstrong>\u003Cbr>\n  A shared substrate for accumulated experience. Adaptable interfaces for the models that use it.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#quick-start\">Quick start\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fdasd1231\u002FMIGRO\">Models 🤗\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.15315\">\u003Cstrong>Paper ↗\u003C\u002Fstrong>\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F\">\u003Cstrong>Try the demo ↗\u003C\u002Fstrong>\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"#why-migro\">Overview\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"#system-design\">Architecture\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"#experimental-evidence\">Evidence\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"docs\u002FREADME.md\">Documentation\u003C\u002Fa> &nbsp; · &nbsp;\n  \u003Ca href=\"#citation\">Citation\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Why MIGRO\n\n**MIGRO keeps long-term experience available as language models change.** It stores observations, historical relationships and retrieval addresses in a persistent state that successive hosts can read and extend.\n\n- **Useful memory.** Exact evidence and query-time selection support answers about events, revisions and context across long histories.\n- **Portable experience.** Host-specific interfaces let a receiving model access inherited state and keep writing after handoff.\n- **Economical growth.** Compact semantic addresses and reversible archives reduce persistent storage while retaining the saved evidence.\n\n## News\n\n- **2026-11-12** — [Shared runtime assets released](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Freleases\u002Ftag\u002Fruntime-assets-20261112), with core and host-interface checkpoints, setup and verification tools.\n- **2026-11-11** — [MIGRO technical report published on arXiv](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.15315).\n\n## Quick start\n\n**Try it in your browser.** [Open the interactive demo](https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F) to compare recorded model answers and inspect retrieved evidence. [Download the offline demo](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Fraw\u002Frefs\u002Fheads\u002Fmain\u002Fdemo\u002FMIGRO-Handoff.zip) for local replay.\n\n**Install from source.** The base installation provides reporting tools and portable text controls.\n\n~~~bash\ngit clone https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO.git\ncd MIGRO\npython3 -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npython -m pip install -e .\npython scripts\u002Frender_results.py --help\n~~~\n\n**Run the memory system.** Follow [runtime setup](docs\u002Fruntime.md) to install runtime dependencies, download shared assets, compile the coding kernels and run the provided verification. Then use [the local demo guide](demo\u002FREADME.md#run-your-own-session) to generate fresh answers with the required backbone and reranker models.\n\n[Documentation index](docs\u002FREADME.md) · [Experiment commands](docs\u002Fexperiments.md) · [Release scope](docs\u002Frelease_scope.md)\n\n## System design\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fmigro-system.svg\" alt=\"MIGRO reference architecture: observed experience enters a source-host writer; persistent memory stores evidence, semantic addresses and encoded state; a transport and calibration interface connects it to receiving hosts.\" width=\"1600\">\n\u003C\u002Fp>\n\n### The Handoff · interactive demo\n\nA kitchen supplier asks for sign-off just as Leah changes assistants. The new quote, drawing and delivery options are in the latest emails; her spending cap, site measurements and building restrictions are in April’s correspondence. Take over the decision desk: make your own call, recover the earlier context and reconsider. Then compare the actual answers from five memory conditions. A second case reconstructs our own demo-download support issue from the release commits.\n\n[![The Handoff — recorded Qwen to Mistral session](demo\u002Fpreview.webp)](https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F)\n\n[**Open the interactive demo ↗**](https:\u002F\u002Fzoumingxi.github.io\u002FMIGRO\u002F) · [Download the offline demo (.zip)](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Fraw\u002Frefs\u002Fheads\u002Fmain\u002Fdemo\u002FMIGRO-Handoff.zip) · [Run your own session](demo\u002FREADME.md#run-your-own-session)\n\nOpen the online demo in any browser—no download or installation required. Explore the recorded model runs, switch memory conditions and inspect their retrieved evidence. To generate fresh answers from your own inputs, use the local runtime linked above.\n\n### A persistent substrate with adaptable host connections\n\nMIGRO separates the stored experience from the machinery used to expose it to a particular host.\n\n**Writing preserves a connection to observed history.** Native reference writing uses the source host to construct memory from observations. Persistent payloads and metadata retain the relationship between stored content and its originating experience.\n\n**Addressing and encoding serve different roles.** Semantic addresses support evidence selection. The anchor-and-residual representation is evaluated against anchor-only and full-address controls. Persistence encoding is evaluated separately, including exact restoration of source IDs, address geometry and metadata.\n\n**The read interface handles the receiving host.** Lexical transport connects source representations to the target vocabulary and embedding interface. Calibration adapts the host connection where the protocol permits it. This factorization makes host-specific adaptation an explicit part of the system.\n\nThe diagram describes the research architecture. The code release includes the persistent state backend, exact coding kernels and benchmark entry points. Shared checkpoints and datasets are supplied separately; see the [runtime setup](docs\u002Fruntime.md).\n\n[Architecture and component contracts](docs\u002Fsystem_overview.md) · [Implementation details](docs\u002Fimplementation.md) · [Ablation configurations](configs\u002Fablations)\n\n### Carry state or rebuild history\n\nThe migration protocol distinguishes two concrete operations:\n\n|Operation|Persistent state|Target-side work|\n|---|---|---|\n|**State Transfer**|Reuse existing memory state.|Connect it to the receiving host; small read-interface calibration is permitted and reported separately.|\n|**Full-History Rebuilding**|Construct memory again from the full raw history.|Run the target-side construction process, including model-specific memory training when required.|\n\nThe label belongs to the run. A method can have both transferred-state results and independently rebuilt target controls. Rebuilding memory does not, by itself, mean fine-tuning the backbone.\n\n[Migration operations and calibration budgets](docs\u002Fmigration_protocol.md)\n\n## Experimental evidence\n\nThe report evaluates answer quality, cross-host continuity and persistent storage. These measurements use their respective cohorts and accounting scopes.\n\n| Study | Representative result |\n|---|---|\n| Long-term QA · LongMemEval-S | **68.40** under the Qwen 4B reference host |\n| Continued writing · Qwen 4B → Mistral 7B | **45.13**, compared with **45.19** for target-side full-history rebuilding |\n| Million-token BEAM histories | **1.857 MB** private state per history, averaged over five histories |\n| Shared deployment · 1,000 independent memories | **2.154 MB per memory**, including required shared assets |\n\n[All benchmark and baseline tables](docs\u002Fevaluation.md) · [Metrics and scoring](docs\u002Fperformance_protocol.md) · [Migration settings](docs\u002Fmigration_protocol.md)\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"assets\u002Fjoint_frontier.png\">\u003Cimg src=\"assets\u002Fjoint_frontier.png\" alt=\"Joint memory frontier: continued writing after Qwen 4B to Mistral 7B handoff, comparing answer quality, private memory footprint and rebuilding quality retained.\" width=\"1600\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>Carry the experience. Keep writing.\u003C\u002Fstrong>\u003Cbr>\n  Continued writing after a Qwen 4B → Mistral 7B handoff: answer quality, private memory footprint and quality retained relative to target-side rebuilding.\n\u003C\u002Fp>\n\n## Released components\n\nThe repository provides entry points into the implementation and the evaluation workflow.\n\n|Component|Role|Source|\n|---|---|---|\n|**Persistent state**|Shared anchors and residuals, exact content bindings, save\u002Frestore and continued writes.|[`migro.memory`](src\u002Fmigro\u002Fmemory.py)|\n|**Exact coding**|Literal and causal content candidates, address\u002Farchive coding and native kernels.|[`migro.backend`](src\u002Fmigro\u002Fbackend)|\n|**Benchmark runs**|Incremental MAB, matched read budgets, format-aware scoring and post-transfer continuation.|[Running experiments](docs\u002Fexperiments.md)|\n|**Transport**|Vocabulary-aware piecewise transport, boundary composition and lexical mapping.|[`migro.transport`](src\u002Fmigro\u002Ftransport.py)|\n|**Calibration**|Residual and evidence-conditioned host interfaces.|[`migro.calibration`](src\u002Fmigro\u002Fcalibration.py)|\n|**Reference writing**|Frozen-host causal writing from observed history.|[`migro.native_writer`](src\u002Fmigro\u002Fnative_writer.py)|\n|**Observation handling**|Deterministic formatting and temporal notes.|[`migro.observations`](src\u002Fmigro\u002Fobservations.py)|\n|**Memory controls**|Portable BM25 and recent-window baselines.|[`migro.controls`](src\u002Fmigro\u002Fcontrols.py)|\n|**Paired analysis**|Matched-cohort comparison and conversation-level bootstrap intervals.|[`migro_eval.ablations`](src\u002Fmigro_eval\u002Fablations.py)|\n\n### Reporting and paired analysis\n\n```bash\n# Render the checked-in aggregate results.\npython scripts\u002Frender_results.py\n\n# Aggregate an already-scored LoCoMo cohort.\npython scripts\u002Fsummarize_locomo.py \u002Fpath\u002Fto\u002Fscored_records.json --output summary.json\n\n# Inspect the paired-ablation analysis interface.\npython scripts\u002Fsummarize_ablations.py --help\n\n# Run the component and reporting checks.\npython -m unittest discover -s tests -v\n```\n\nThe reporting tools consume scored records and require complete cohorts by default. Per-question scoring remains upstream. Optional-dependency tests skip when their dependencies are unavailable.\n\n[Reporting input format](docs\u002Freporting_tools.md) · [Paired analysis usage](docs\u002Fimplementation.md#paired-analysis)\n\n### Repository structure\n\n```text\nassets\u002F                 Visual identity and system figures\nsrc\u002Fmigro\u002F              Transport, calibration, writing and controls\nsrc\u002Fmigro_eval\u002F         Scored-record aggregation and paired analysis\nconfigs\u002Fablations\u002F      Component-level experiment contracts\ndocs\u002F                   Architecture, protocols and implementation notes\nresults\u002F                Selected manuscript summary tables (CSV \u002F JSON)\nscripts\u002F                Reporting and analysis entry points\ntests\u002F                  Component and reporting checks\n```\n\n## Release status\n\nThe [shared runtime bundle](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Freleases\u002Ftag\u002Fruntime-assets-20261112) and implementation are available. The release includes persistent memory, coding kernels, host interfaces, setup and verification helpers, the demo and documented benchmark entry points. Backbone and reranker models and datasets are obtained from their publishers. The [release scope](docs\u002Frelease_scope.md) lists available components and remaining reproduction work.\n\nMIGRO-owned code and runtime assets use [Apache-2.0](LICENSE). Bundled upstream components retain the licenses described in [third-party notices](THIRD_PARTY_NOTICES.md).\n\n## Contributing\n\nContributions to documentation, integrations, memory interfaces and evaluation tooling are welcome. Read the [contribution guide](CONTRIBUTING.md), [report a bug](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Fissues\u002Fnew?template=bug_report.md), or [propose an improvement](https:\u002F\u002Fgithub.com\u002FzOUMINGXI\u002FMIGRO\u002Fissues\u002Fnew?template=feature_request.md).\n\n## Citation\n\nIf MIGRO is useful in your research, please cite the [technical report](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.15315). Machine-readable metadata is available in [CITATION.cff](CITATION.cff).\n\n~~~bibtex\n@article{zou2026migro,\n  title = {{MIGRO}: A Decoupled and Portable Long-Term Memory System for Language Models},\n  author = {Zou, Mingxi and\n            Xu, Yinghui and\n            Chen, Jiaxiang and\n            Liang, Langzhang and\n            Zhu, Wei and\n            Ye, Peng and\n            Zhao, Runkai and\n            Jiang, Ruoxi and\n            Chen, Sijin and\n            Wang, Song and\n            Wang, Zhuo and\n            Qu, Lizhen and\n            Xu, Zenglin},\n  year = {2026},\n  eprint = {2611.15315},\n  archivePrefix = {arXiv},\n  primaryClass = {cs.AI},\n  url = {https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.15315}\n}\n~~~\n","MIGRO 是一个面向大语言模型的可移植长期记忆系统，旨在跨模型版本持续保存和复用经验性知识。其核心功能包括：以紧凑语义地址持久化存储历史观察、关系与检索索引；支持模型升级后的状态迁移与无缝续写；提供主机无关的读写接口与可逆归档机制。技术上采用轻量级 Python 实现，强调内存经济性与跨模型兼容性。适用于需长期积累上下文、支持多代模型协同演进的 AI 智能体场景，如持续学习型对话系统、知识增强型代理及模型迭代开发环境。",2,"2026-11-24 04:53:14","CREATED_QUERY"]