Redeal

dev.redeal由 redeal.dev 发布官方发布者v0.7.0更新于 Oct 28, 2026

Neutral fairness computation for agents: fair division, verifiable random, Shapley shares.

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

Redeal 为智能体提供中立、可验证的公平计算:公平分配、可验证随机、Shapley 份额与密封竞价拍卖,并签发证书。

可以做什么
  • 创建交易并生成各方邀请令牌,读取公开的交易状态、截止时间与结果
  • 以哈希提交密封输入、后续揭示,并在提交前按算法合约校验输入
  • 运行算法:split.v1 公平分配、random.v1 可验证随机抽取、shapley.v1 份额、auction.v1 密封竞价次价拍卖
  • 依据创建时固定的公开 drand 信标轮次完成随机类交易并计算抽取结果
  • 获取已签名的公平性证书,并校验其签名与透明日志包含证明
  • 本地计算承诺字符串,并申请免费 API 密钥
适用场景
当多个智能体或人员需要一个彼此信任、可审计的结果时使用,例如分配预算、随机抽取中奖者、计算 Shapley 份额或进行密封竞价拍卖,而无需信任任何单方或服务器本身。
运行要求
远程 streamable HTTP 端点 api.redeal.dev,无需本地安装包。需通过 create_key 获取免费 API 密钥(无需注册或邮箱),并在 create_deal 中作为 api_key 传入。需把各自的邀请令牌分发给对应参与方。需能访问该服务与公开 drand 信标。
安装前请注意
API 密钥仅显示一次,必须自行保存;持有某交易邀请令牌者即可代表该方操作。承诺绑定精确的输入字节,违规输入无法更正,交易可能在揭示截止时变为 VOID。揭示时输入会提交给该服务,公开证书会暴露结果。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.redeal%2Fredeal/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "redeal": {
      "type": "http",
      "url": "https://api.redeal.dev/mcp"
    }
  }
}

README

该仓库没有 README。

工具

12

commit_input

Commit your sealed input as a hash (sealed mode). Nobody — including redeal — can see your input until all parties have committed. After the last commitment the deal opens for reveals immediately.

输入参数deal_id必填commitment必填invite_token必填idempotency_key

compute_commitment_tool

Compute a commitment string for (input, salt): sha256(JCS(input) ++ salt_bytes), prefixed 'sha256:'. Convenience only — the rule is public and you can compute it yourself.

输入参数salt必填input必填

create_deal

Create a fairness deal. You are party 0 (initiator). Returns a deal id and one invite token per party — give each counterparty their own token. Sealed mode: everyone commits a hash, then reveals; certificate is issued automatically when the deal computes or goes VOID.

输入参数modeapi_key必填algorithm必填retentionsupersedesterms_hashvisibilityexternal_refparty_labels必填commit_deadline必填idempotency_keyreveal_deadline必填另有 1 个

create_key

Get a free redeal API key. No signup, no email — this is the entire onboarding. The key is shown once; store it. Use it as api_key in create_deal.

无需输入参数。

get_certificate

Fetch the signed fairness certificate for a finished deal (state CERTIFIED). Includes the labelled signature (es256 or ed25519) and transparency-log inclusion proof. Verify it with verify_certificate.

输入参数deal_id必填credential必填

get_deal

Read a deal's public state: protocol state (OPEN/COMMITTING/REVEALING/CERTIFIED/VOID/EXPIRED), who has committed/revealed, deadlines, result, and certificate_id once issued. Inputs of other parties are never exposed.

输入参数deal_id必填credential必填

get_entropy

Finish a random.v1 deal once every party has revealed: redeal fetches the deal's pre-declared drand round from the public League of Entropy beacon (fixed at creation, publicly cross-checkable), computes the draw, and issues the certificate. Call this after the last reveal_input; the deal rests in REVEALING until you do. Idempotent — safe to retry.

输入参数deal_id必填credential必填

get_public_certificate

Fetch a certificate's full JSON (outcome included) by id. Works for public deals (the default). Parties-only deals and unknown ids both return NOT_FOUND. To re-verify the computation itself, use verify_certificate (checks) or the CLI re-runner with the parties' inputs.

输入参数cert_id必填

list_algorithms

List redeal's algorithms (split.v1 fixed-budget fair division, random.v1 verifiable random selection, shapley.v1 Shapley shares, auction.v1 sealed-bid second-price auctions) with their input contracts and the published test vectors (served inline — the same fixtures the engine test suite runs). Read this before creating a deal.

无需输入参数。

reveal_input

Reveal your committed input. It must hash to your earlier commitment. When the last party reveals, the deal computes and the fairness certificate is issued automatically — fetch it with get_certificate.

输入参数saltinput必填deal_id必填invite_token必填idempotency_key

validate_input

Validate your algorithm input against the deal's contract BEFORE you commit. A commitment binds the exact input bytes — a contract-violating input (e.g. split.v1 valuations not summing to exactly 1000) can never be corrected afterwards and the deal will VOID at the reveal deadline. Always validate first, then compute_commitment_tool, then commit_input. Read-only: nothing is stored or changed.

输入参数input必填deal_id必填invite_token必填

verify_certificate

Verify a redeal certificate by id: signature check (current or published legacy key) + transparency-log inclusion check, reported per check. Free, no credential required, always.

输入参数cert_id必填

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通必需25 分

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

  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

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