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 分

    请在仓库或注册中心条目中声明许可证。