
darwin-memo
io.github.rogermsc由 GitHub 帳號 rogermsc 發布v0.7.1更新於 Oct 24, 2026
Self-curating agent memory kept honest by survival-based selection over measured outcomes.
發布方自己的服務:Darwin
概覽
一個本機 MCP 伺服器,為編碼代理提供持久、自我篩選的儲存庫經驗記憶,並與實測任務結果連結。
- 可以做什麼
- 在開始任務前查詢已存經驗並開啟工單,任務完成後新增新經驗。透過儀表板和檢查工具檢視經驗、其結算紀錄與移除原因。保留由主機管理:結果會改變有界能量餘額,維護計時會移除或合併項目,釘選可豁免經驗。結算只是把結果與查詢過的經驗關聯,並不證明因果關係。
- 適用情境
- 適用於使用 pytest 和 GitHub Actions 的 Python 儲存庫,希望代理跨任務攜帶儲存庫經驗,並依上報結果觀察哪些經驗得以保留。適合願意執行產生的流程並把綁定的儲存隨變更提交的團隊。
- 執行需求
- 透過 stdio 在本機執行,通常用 uvx 從 PyPI 啟動。需要 Python 3.10 或更新版本,MCP 支援為選用附加項。持久化需要本機檔案系統上的 POSIX 諮詢鎖,因此不支援 Windows 和共用網路儲存。環境變數 DARWIN_MEMO_PATH 指定記憶檔案位置(預設 ~/.darwin-memo/memory.json)。建置儀表板需要 npm。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 darwin-memo,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
darwin-memo
Measured memory for coding agents. Keep repository lessons, connect them to reported task outcomes, and inspect why each lesson stays or is removed.
Start with Python projects using pytest, GitHub Actions, and an MCP client. The core uses only the Python standard library. MCP support is an optional extra.
The product goal is lower total operating cost while preserving task success. That benefit is not established by the committed experiments. A smaller memory store or a larger energy balance is not a savings measurement.
See the mechanism in 60 seconds
From this reviewed checkout:
The demo uses a filesystem-backed simulation: file deletion uses file size, and protected-file recreation incurs a modeled penalty of three times that size. It does not measure restoration scratch space, I/O cost, or money. Open a lesson in the dashboard to inspect its settlements and removal reason.
To try the coding workflow with a real failing evaluation, use the fixed pytest example. Its authentication-retry defect changes one fixed case from failure to success. The example demonstrates settlement; it does not establish that memory caused the fix.
Install the development workflow
The init and task commands in this checkout are unreleased. Install them from
the reviewed checkout on Python 3.10 or later:
Build the dashboard from this checkout before packaging it:
Persistence requires POSIX advisory locks on a local filesystem. Windows and shared network stores are unsupported; the package refuses lockless persistence.
Connect one repository
- Run
darwin-memo init --profile github-pytestat your repository root. - Configure your MCP client using
.darwin-memo/mcp.example.json. - Add a repository lesson and query memory before a task.
- Bind the returned ticket to the repository, task, base commit, and fixed evaluation.
- Complete the task and commit the bound store with your changes.
- Run the generated GitHub Actions workflow against that task commit.
- Download its outcome artifact and carry the accepted store forward.
- Open the dashboard to inspect the reported outcome and retained lesson.
The GitHub pytest guide includes setup
requirements and the generated operating instructions.
init refuses overwrites and changes no global agent settings. The recommended
MCP configuration exposes query, add, and inspection while reserving settlement
and retention mutations for the host. It reduces accidental self-awarded credit;
it does not protect against a malicious actor with write access to the store,
evaluation, or workflow.
The workflow compares the same base evaluation at both commits. Added passing tests earn no credit. Green-to-green results earn zero. Missing observations or infrastructure failures abstain and leave the ticket pending. Bound settlements record repository, task, commit, run, evaluation fingerprint, and report hashes. Process one task at a time: independent Git snapshots do not merge.
Understand retention
A query retrieves lessons and opens a ticket. A later outcome moves the consulted lessons' bounded energy balances. Ticks charge upkeep; entries that reach the floor are removed, and similar entries can merge. Pinning exempts a lesson from removal and consolidation. The glossary explains the terms.
Settlement associates outcomes with consulted lessons. It does not establish
causation. Passing tests are observable outcomes, not physically conserved
resources. ci, operator, and agent identify reporting paths. Historical
measured labels are caller claims; absent provenance is unknown. None of these
labels authenticates a report by itself.
CLI, dashboard, and MCP mutations lock the full load–modify–save operation. MCP reloads on each call, cached embeddings survive unrelated writes, and stale Python writers are rejected. Retry the whole operation after contention. See the store format and API reference.
Inspect the evidence
Reconstruct the paper's central table without an installation or network:
The paper, Attacking the Curator, focuses on the feedback-corruption threat model, curator comparisons, and a reusable reproduction artifact. Historical replays remain replays. Read the claim audit, reproduction paths, and submission status.
Limitations and participation
Memory can be harmful, useful lessons can starve, and an attacker who controls enough outcome reports can control retention. A fixed evaluation can still be incomplete or gameable. The threat model defines the boundary. If no memory performs best in the cost study, the release will report that result.
Other integrations remain available; the GitHub pytest profile is the supported first-release path. Report setup failures with the diagnostic issue template, or choose a bounded contributor task. Release promotion, participant contact, paid experiments, and submission remain separate authorized actions.
來源:README.md,提交 0f8209d
工具
0版本歷史
1- v0.7.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Darwin 整合
Darwin
so.darwin官方發布者
Darwin 讓助理搜尋 AI 代理、檢視其操作紀錄,並透過這些代理協調多步驟任務,包含驗證與付款環節。

Darwin-owned Public Sources
由 GitHub 帳號 darwin-studios 發布
遠端 MCP 伺服器,讓助理從明確允許的官方主機讀取公開的 HTML、Markdown、文字或 JSON 文件,並附上來源佐證。

Darwin-owned Files
由 GitHub 帳號 darwin-studios 發布
免費的離線檔案轉換和有界DOCX文字提取。提供位元組;無網路。AI 翻譯

Darwin-owned AntV Charts
由 GitHub 帳號 darwin-studios 發布
基於 Darwin 的 AntV 條形圖、柱狀圖和折線圖,以及有界 CSV 柱狀圖。免費輸出 PNG。AI 翻譯

Australia/Darwin clock
由 GitHub 帳號 sadri-dridi 發布
遠端 MCP 伺服器,主打工具回傳澳洲達爾文目前當地時間,並附帶一些時間、URL 與驗證類小工具。