Fireweed

io.github.Starksood由 GitHub 帳號 Starksood 發布v0.5.0更新於 Oct 24, 2026

Agent memory where every fact carries a receipt, and deletion is provable.

已驗證STDIO僅桌面知識與記憶安全與監控

概覽

AI 產生的概覽

在本機執行的代理記憶伺服器:只有引用證據支持時才接納一則陳述,保留位元組區間憑據,並可簽發可驗證的刪除憑證。

可以做什麼
  • 僅在所給證據支持時儲存陳述,拒絕時給出分類原因並說明如何修正
  • 召回有依據的陳述及其來源位元組區間,無法支撐時棄答並指出無法落地的詞
  • 驗證憑據:重新雜湊來源、重新切分區間,並把一則記憶反向追溯到證據與帳本事件
  • 檢視讀取活動紀錄,預設關閉,除非另行選擇記錄文字,否則查詢只保存加鹽指紋
  • 依精確閉包抹除某個主體並簽發簽章憑證,以及把整個儲存匯出為可攜的開放格式資料塊
適用情境
適合需要「寧可拒答也不編造」、且重視來源可追溯與可證明刪除的情境,例如合規、稽核或「把我從記憶裡刪掉並證明」的要求。若主要需求是穩定檢索措辭隨意的提問,則較不合適。
執行需求
以本機 stdio 程序執行,透過 uvx 或 pip 從 PyPI 安裝;無相依套件、無需 API 金鑰、不呼叫模型。資料存放在使用者家目錄下,可用環境變數 FIREWEED_MCP_STORE 變更位置。僅支援桌面用戶端。
安裝前請注意
伺服器本身不從自由文字中擷取記憶,需自行提供陳述與證據;可選的配套擷取器使用你自己執行的模型。召回對未見過的措辭表現很弱,官方建議不要安裝語意比對外掛,因為它會大幅降低正確拒答率。抹除與匯出會改動已存資料,儲存目錄位於本機,需自行保護。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Fireweed,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

fireweed-mcp

Agent memory where every fact carries a receipt.

remember(claim    = "Priya joined Acme in 2019 under duress.",         evidence = "Priya Raman joined Acme in 2019 as a logistics analyst.")
REFUSED (asserts_more_than_evidence) — the claim adds something the evidence does not say.  claim   : Priya joined Acme in 2019 under duress.  evidence: Priya Raman joined Acme in 2019 as a logistics analyst.
recall("Priya's salary")
ABSTAINED (unknown_predicate) — no claims ground "salary"; 1 claim about Priya Raman existsThis is a refusal, not an empty result.
forget("Priya")
ERASED Priya Raman — certificate issued  signature            : hmac-sha256:f4d0768ef3b0fec624afec12f25bfd91…  nodes in closure     : 1  every probe abstains : True  bystanders surviving : 1

That last one is the artifact behind "delete me from your agent's memory — and prove it."

Install

bash
uvx fireweed-mcp          # try itpip install fireweed-mcp  # keep it
bash
claude mcp add fireweed -- uvx fireweed-mcp

No dependencies. No API keys. No model — nothing in this server calls an LLM.

What it does

tool
rememberadmits a claim only if the evidence you cite supports it. Refusals are typed and say what to fix.
recallgrounded claims with the byte range they came from; abstains and names the term it could not ground
verify_receiptsre-hash every source, re-slice every range — tamper-evident
trace_evidenceaudit one memory backwards to its evidence's arrival: the bytes it binds, whether they still match, the ledger event that recorded the document, and whether the chain verifies
review_readswhat has been asked of this substrate and what it answered — off by default, and queries are salted fingerprints unless you also opt into recording text
forgeterasure with exact closure and a signed certificate; bystanders survive
export_memorythe whole substrate as a portable open-format blob

Why the refusals are the point

Most memory servers store what the model says and return what's nearest. This one adjudicates.

The rule is the model proposes, deterministic code decides. Across an RPC boundary that stops being a slogan: your agent is the proposer, and it cannot talk its way past the gate, because the gate is not a prompt. Pass a claim and the text you're quoting; pure functions check that the evidence names the subject, preserves the relation, invents no numbers, and asserts nothing the span doesn't say. What survives is stored with a byte range into the source.

Then anyone can check it afterwards — including someone who trusts neither your agent nor this server. That is the whole product.

What it does NOT do

Stated up front, because this project's last headline number turned out to be measuring nothing (see the retraction, which ships with a script that proves it):

  • The server itself does not extract memories from free text. You supply the claim and the evidence, and nothing in this server calls a model. Since 0.5.0 an optional companion, fireweed_extractor, will propose claim/evidence pairs from a transcript using a model you run — and it is never trusted: every proposal goes through the same four checks a hand-written one does. Measured across four model families, admitted yield ranged from 0% to 99.3% while every unfaithful proposal was rejected with a typed reason. One 4B model produced 46 pairs its own cited span did not support; all 46 were refused. The failure mode is fewer memories, never false ones.

  • It does not make an LLM truthful. It governs what enters the record and what can be proven about it. Your model can still say whatever it likes in its own prose.

  • Recall is the weak half, and the honest number is far worse than this page used to claim. A previous version of this README said the gate finds a stored fact 98.4% of the time. That figure is withdrawn. It was measured on a corpus whose fourteen question phrasings all have a matching entry in the hand-written category table that answers them — because those entries were derived from that same corpus's failures. It measured the table's coverage of one question set, not the system's recall.

    Measured 2026-08-27 against a corpus held out on both axes — unseen personas and, crucially, unseen question phrasings:

    asked with…default install refuses
    the phrasings the table was built from4.8%
    phrasings it has never seen99.2%

    A default install answers almost nothing phrased in words nobody tuned for. That is the number that describes the system, and it replaces every recall claim this page previously made.

  • What is genuinely strong is the other axis. On absent-answer traps the gate correctly refuses 96.1% — it is far better at declining than at answering, and it does not fabricate. If you need a memory that never invents, this is that. If you need one that reliably finds things, it is not there yet, and the number above is why.

  • It does not yet handle multi-subject questions with scope. Questions naming exactly one subject are scoped to that subject; questions naming two or more still match against the whole store.

    Numbers come from a calibrated instrument that prints its own controls before measuring. The corpora and method live in the private evaluation repo, so treat these as reported rather than independently checkable — the write path, receipts, provenance and erasure are the parts you can verify yourself with the commands above.

Your data

~/.fireweed/mcp/ (FIREWEED_MCP_STORE to change). The substrate is an open format — see open_format/SPEC.md — and open_format/reference_reader.py reads it with the standard library alone. Your memory outlives this server, this engine, and any model. A test asserts that round trip.

Do not install fireweed-mcp[semantic]. It enables paraphrase matching in recall, and measured against the absent-answer traps it collapses correct refusal from 96.1% to 32.8% — it answers two thirds of questions whose answer is simply not in the store. A threshold sweep found no setting where it buys recall without that cost: tightened far enough to be safe, it contributes nothing at all. It stays installable because the mechanism may be salvageable when scoped to a subject's own predicates, which is untested. Until then it is off, and memory_stats tells you which mode you are in.

License

FSL-1.1-ALv2 — source-available. Free for everything except building a competing product; converts to Apache 2.0 on 2028-01-01. Full text in LICENSE.md.

Want to use Fireweed in a commercial product or competing service? → [email protected]

來源:README.md,提交 b37747b

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.5.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。