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 分

    請在儲存庫或註冊中心條目中宣告授權條款。