ActionProof

io.github.Burakfenerci5由 GitHub 账号 Burakfenerci5 发布v0.0.3更新于 Oct 24, 2026

Tamper-proof audit trail for AI agents. Signed receipts, offline-verifiable, zero backend.

发布方自己的服务:Proof Holdings

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

ActionProof 是一个本地 MCP 服务器,为 AI 智能体的每个操作生成可离线验证的签名防篡改回执。

可以做什么
为智能体操作创建签名回执,记录类型、摘要、哈希后的参数、结果与状态,并归属到智能体的密钥身份(attest_action)。验证回执,任何字段被改动都会被发现(verify_receipt)。读取智能体稳定的 Ed25519 身份,以 did:key 形式呈现(get_identity)。
适用场景
当你需要为涉及资金、改变状态或接触用户数据的智能体操作留下审计记录,并希望该记录可被独立验证而非仅凭平台自述时使用。它可与现有可观测性平台配合,为关键操作附加证明。
运行要求
作为本地 stdio 进程运行,通常通过 npx 启动。签名与验证无需账户、后端或网络访问。首次运行会在用户主目录下的默认路径生成 Ed25519 密钥,可用环境变量 ACTIONPROOF_KEY_PATH 覆盖。
安装前请注意
智能体的私钥保存在磁盘上的密钥路径中,任何能访问该文件的人都能以该智能体身份签发回执,需妥善保护。回执归属于单一智能体身份,信任谁由你自己的策略决定。敏感参数以哈希形式存储,回执可证明某值匹配但不包含该值本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ActionProof,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ActionProof

A tamper-proof audit trail for AI agents. Verifiable observability: every action your agent takes gets a cryptographically signed receipt you can verify offline, anywhere — zero backend.

Observability tools (LangSmith, Langfuse, Arize) show you what your agent reportedly did — traces recorded inside their platform, on their word. But those logs are self-asserted: an agent, a bug, or an attacker can write anything into them, and you can't prove after the fact that the record wasn't edited.

ActionProof adds the missing layer: verifiable observability. Each action — email sent, form filed, payment made — gets a tamper-evident, Ed25519-signed receipt capturing what was done, by which agent, when, and on whose authority. Edit any field and verification fails. It's an audit trail you (or an auditor, a user, or a counterparty) can trust without trusting the agent, the vendor, or us.

Built for the compliance floor that's coming — the EU AI Act (Article 12) and ISO 42001 require traceable, tamper-evident logs for automated decisions. ActionProof produces exactly that, as a portable primitive rather than a walled-garden platform.

Install

bash
npm install actionproof      # TypeScript / JavaScriptpip install actionproof      # Python

Receipts are cross-compatible: one signed in TypeScript verifies in Python, and vice-versa.

Quick start (TypeScript)

ts
import { attest, verify, generateKeypair } from "actionproof";
const agent = generateKeypair();               // agent's identity = its key (did:key)
const receipt = attest(agent, {  type: "email.send",  summary: "Sent renewal quote to [email protected]",  params: { to: "[email protected]", amount: 4200 }, // hashed, not stored in clear  result: { smtp: 250 },  outcome: "ok",});
verify(receipt);            // -> { valid: true, agent: "did:key:z6Mk..." }

Quick start (Python)

python
from actionproof import attest, verify, generate_keypair
agent = generate_keypair()
receipt = attest(    agent,    type="email.send",    summary="Sent renewal quote to [email protected]",    params={"to": "[email protected]", "amount": 4200},  # hashed, not stored in clear    result={"smtp": 250},    outcome="ok",)
verify(receipt)             # -> VerifyResult(valid=True, agent="did:key:z6Mk...")

Edit any field of that receipt and verify returns invalid. That's the whole idea.

Where it fits: the verifiable layer of agent observability

ActionProof complements your observability stack rather than replacing it. Keep using LangSmith / Langfuse / Arize for rich traces, latency, and cost — then attach an ActionProof receipt to the actions that matter (the ones that move money, change state, or touch a user's data) so that part of your trail is tamper-evident and independently verifiable.

Observability platformsActionProof
Recordingtraces/logs inside the vendorsigned receipts you hold
Trust modeltrust the platform's stored recordverify cryptographically, trust no one
Tamper-evidenceeditable by whoever has DB accessany edit breaks the signature
Portabilitylives in the vendoroffline, cross-language, anywhere
Cost at scalemetered per event~$0 (local signing, zero backend)

It's a proof, not just a log entry — the difference between "our dashboard says the agent did this" and "here's a signed receipt anyone can verify."

Design principles

  • Offline & zero-backend. The agent brings its own Ed25519 key. Signing and verification use only native crypto — no server, no account, no network. (This is also why it costs ~nothing to run at any scale.)
  • Privacy-preserving. Sensitive inputs/outputs are stored as SHA-256 hashes; you can later prove a value matches without ever putting it in the receipt.
  • Composable, not competitive. ActionProof is the receipt envelope. Bind stronger evidence into result_hash — an x402 settlement, an AP2 mandate reference, a DKIM-signed SMTP 250 — to make a receipt as strong as its counterparty evidence.
  • Identity with no registry. Agent identity is a did:key (self-describing public key). Who you trust is your policy (pinned keys, an allow-list, or the optional log below).

See SPEC.md for the wire format.

Use it as an MCP server (no code)

The fastest way to give an agent receipts: run ActionProof as an MCP server and add it to Claude Desktop / Cursor. Your agent gets three tools — attest_action, verify_receipt, get_identity — and can emit a receipt right after it does something.

Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):

jsonc
{  "mcpServers": {    "actionproof": {      "command": "npx",      "args": ["-y", "actionproof-mcp"]    }  }}

The server mints a stable Ed25519 identity on first run (stored at ~/.actionproof/agent.key.pem, override with ACTIONPROOF_KEY_PATH). Every receipt it signs is attributable to that one agent did:key.

Auto-emit receipts (framework wrappers)

You don't have to call attest by hand after every action — wrap the tool once and every call emits a receipt.

TypeScript (framework-agnostic; works with LangChain.js, Mastra, Vercel AI SDK):

ts
import { withReceipts, generateKeypair } from "actionproof";
const agent = generateKeypair();const send = withReceipts(agent, rawSendEmail, {  type: "email.send",  onReceipt: (r) => store(r),   // called with a signed receipt on every call});

Python (@attest_action decorator, or a LangChain/CrewAI callback):

python
from actionproof import attest_action, ActionProofCallbackHandler
@attest_action(agent, type="email.send", on_receipt=store)def send_email(to, body): ...
# or attest every tool a framework agent runs, no per-tool code:handler = ActionProofCallbackHandler(agent, on_receipt=store)agent_executor.invoke(input, config={"callbacks": [handler]})

Develop locally

bash
git clone https://github.com/Burakfenerci5/actionproofcd actionproof && npm installnpm run demo     # full sign → verify → tamper loopnpm test         # TS suite (9 tests)npm run mcp      # start the MCP server over stdio
cd python && pip install -e ".[dev]" && pytest   # Python suite (7 tests, incl. TS↔Python interop)

Roadmap

  • Now (shipped): TypeScript library + MCP server + framework wrapper, and the Python package with a decorator and LangChain/CrewAI callback. Receipts interoperate across both.
  • Next: first-class LlamaIndex / CrewAI plugins; exporters that attach receipts to spans in your existing observability stack (OpenTelemetry, LangSmith, Langfuse).
  • Later (optional, hosted): a verifiable audit dashboard — a searchable, shareable, tamper-evident timeline of what your fleet of agents did, backed by an append-only log, for teams that need compliance-grade evidence (EU AI Act / ISO 42001) without building it themselves. The library and MCP server stay free and offline forever; only the hosted dashboard is a paid service.

License

MIT.

来源:README.md,提交 c673798

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

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

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Proof 集成