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 整合