360 Secure SkillHub
360 安全技能中心

Fidacy Conversation Receipts

核心功能:为AI对话生成本地哈希防篡改链,通过Fidacy锚定到比特币区块链,生成公开验证链接,还可设置操作审批关卡。典型场景适用于客服退款、保险报价、理赔录入等需绑定责任的对话。输入为对话消息与关键操作信息,输出可公开验证的收据链接,对话内容不离开本地,仅哈希传输,任何人无需账号即可验证,解决纠纷时举证难问题。

fidacy
热度 7.62
最近更新 2026-07-04 14:58:38
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 法律文档 / 自动化脚本 / CRM

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add fidacy-conversation-receipts
Metadata
name
fidacy-conversation-receipts
description
Give every AI conversation a verifiable receipt. Use when your agent talks to customers (support, claims, quotes, refunds) and either side may later ask "what exactly was said?". Hashes each message locally into a tamper-evident chain, anchors the digest through Fidacy, and hands both sides a public verify link. A court already held a company to what its chatbot said (Air Canada, 2024); this is the proof layer for that moment.
version
1.0.0
license
Apache-2.0

Fidacy Conversation Receipts, proof of what the bot said

Your agent talks to customers about refunds, claims, prescriptions, contracts. When a dispute comes, the question is always the same: what exactly was said, and can either side prove the transcript was not edited afterwards? This skill gives every session a tamper-evident digest, computed locally (content never leaves your infrastructure; only a 64-hex hash travels), anchored through Fidacy onto an audit chain checkpointed to the Bitcoin blockchain.

When to use this skill

Any conversation where what was said can bind someone: customer support, insurance quotes, claim intake, medical scheduling, order changes. Especially when the customer is a consumer who needs proof they can check themselves.

How to use it

  1. Install: npm i @fidacy/session (free; anchoring needs a free API key from https://app.fidacy.com/signup, scope assess:write).

  2. Wire the chain into your chat loop, one line per message:

    import { createSession } from "@fidacy/session";
    const session = createSession({ kind: "conversation", label: "case-4711" });
    session.add("user", userMessage);
    session.add("assistant", botReply);
    
  3. Before the bot COMMITS to anything (a refund, an approved claim, a quote), gate it. Deny-by-default: anything but "approve" and the bot must refuse:

    const verdict = await session.gate(
      { type: "refund", amount: 900, currency: "USD" },
      { apiKey: process.env.FIDACY_ENGINE_API_KEY, kind: "message_send" },
    );
    if (!verdict.allowed) refusePolitely();
    

    The verdict is recorded into the chain, so the receipt itself proves the gate ran.

  4. At session close, anchor and hand out the receipt:

    const receipt = await session.anchor({ apiKey: process.env.FIDACY_ENGINE_API_KEY });
    const linkForCustomer = session.verifyUrl(); // no account, no key needed
    

Anyone can check the receipt at https://fidacy.com/verify: paste the digest, a signed receipt, or the exported transcript (the digest recipe recomputes in the browser, nothing uploads). Changing one character of one message breaks the match; that mismatch is the tampering signal.

What this is not

Fidacy never sees, stores or judges conversation content. This is integrity proof plus a commitment gate, not content moderation. The bot talks freely; it cannot obligate you outside what you authorized.