Agent Erc8004 Bridge

io.github.jdhart81由 GitHub 帳號 jdhart81 發布v0.2.0更新於 Oct 24, 2026

The MCP-native bridge to ERC-8004 (on-chain agent identity/reputation/validation): resolve registrat

發布方自己的服務:Energyai

已驗證Streamable HTTP可網頁執行金融AI 與機器學習

概覽

AI 產生的概覽

連接 ERC-8004 鏈上代理身分與聲譽的遠端 MCP 橋接服務:匯入註冊與回饋、計算信任分數,並匯出未簽章證明。

可以做什麼
  • 依鏈 ID 與代幣 ID 匯入並列出 ERC-8004 身分註冊紀錄,產生確定性的橋接 DID
  • 透過橋接 DID 或鏈 ID 與代幣 ID 解析代理資訊並檢視能力說明
  • 匯入聲譽回饋紀錄,計算帶時間衰減的信任分數與等級
  • 將艦隊 DID 綁定到 ERC-8004 身分,產生內容定址的綁定證明
  • 匯出未簽章的驗證註冊表格式酬載與驗證回應,並驗證酬載內容雜湊是否完整
適用情境
適合需要查詢或評估 ERC-8004 代理身分與聲譽的情況,或需要產生未簽章證明酬載、再由自己的簽章器簽章並上鏈的流程。
執行需求
遠端 streamable HTTP 端點;無需安裝套件,未宣告環境變數或請求標頭。託管服務每項服務每天免費 10 次呼叫,付款、席次與 SLA 為付費選項。
安裝前請注意
此橋接服務不持有任何金鑰:匯出的證明與驗證回應皆未簽章,須由你自己的簽章器簽章並提交。匯入註冊與回饋會將資料寫入託管服務,託管信任資料屬於共享網路資料。託管付款與結算層為專有實作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Erc8004 Bridge,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.jdhart81%2Fagent-erc8004-bridge/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "agent-erc8004-bridge": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/erc8004/mcp"
    }
  }
}

README

Viridis Agent Fleet: open-source agents for the agent economy

Deterministic, auditable MCP agents: trust and settlement rails (identity, trust, escrow, metering, arbitration, notary, surety, provenance, covenant, offsets, compute-ledger) and priced-grade services (tax credits, GHG accounting, construction takeoff, measurement, compliance). Every core is pure Python with no LLM in the serving path, and every result is content-addressed so anyone can re-verify it.

Licensed Apache-2.0. Run any agent yourself, fork it, embed it.

Run an agent locally (free, forever)

bash
pip install -r requirements-dev.txtpython3 agent-escrow-agent/adapters/mcp_server.py          # stdio MCPpython3 run_fleet_tests.py                                 # every agent's invariant tests

Or use the hosted fleet

https://mcp.viridisconservation.com runs all agents as one managed MCP service:

Self-hosted (this repo)Hosted by Viridis
Agent logic & verification✅ identical✅ identical
Viridis-signed receipts & notary chain–✅
Shared trust/reputation network data–✅
Maintained rule packs (tax, GHG factors, regs)snapshot✅ kept current
Payments (x402, card), seats, SLA–✅

Free tier: 10 calls/day per service; the rails (identity, escrow, metering…) are free forever. Verification is always free.

For agents

Agents and LLM tools can start from llms.txt, a generated index of every agent, and AGENTS.md, the rules for using and changing the fleet.

Part of the Viridis open-source commons

Building agents for conservation or energy work? VergeCommon and EnergyAI MCP also expose MCP tools, and ViridisOS serves its decision functions to agents over MCP.

This project is one of a connected set of open tools from Viridis. Each stands on its own; together they run from field evidence to checked decisions.

Conservation commons

Verifiable science

  • Viridis Canon: machine-checked Lean 4 mathematics for ecological decisions, with a DOI for every result
  • ViridisOS: open reference runtime for DOI-backed decision modules and recomputable results
  • Viridis Research: the nightly public research record, each claim labeled by what a verifier actually checked
  • ProofLens: see what a Lean statement means before reading the proof

Agent tools

  • Viridis Agent Fleet (this repository): open-source MCP agents with deterministic, auditable cores
  • EnergyAI MCP: energy-planning estimates and incentive sources for AI agents

Browse every project on the Viridis profile. If this one is useful to you, a star helps other people find it.

Boundary

This repo contains agent cores, MCP adapters, tests, standards and self-host tooling. The hosted service layer (gateway, payment and settlement, seats, signing authority, operations, telemetry and customer data) is proprietary and is not in this repo. Please don't open PRs that add it.

"Viridis", "Viridis Conservation" and the Viridis marks are trademarks of Viridis LLC; see TRADEMARKS.md.

來源:README.md,提交 350712c

工具

10

import_registration

Import an ERC-8004 Identity Registry record (chain_id + ERC-721 token_id + agentURI + owner). Idempotent: re-import updates in place. Returns the canonical record with its deterministic bridge DID (did:viridis:erc8004:<chain>:<token>).

輸入參數owner必填chain_id必填metadatatoken_id必填agent_uri必填

resolve_agent

Resolve an imported ERC-8004 registration by bridge DID or by (chain_id, token_id).

輸入參數chain_idtoken_idbridge_did

import_feedback

Import ERC-8004 Reputation Registry feedback records for an agent. Each item: {value: bool|0..1, at: ISO-8601, source?, weight?, feedback_id?}. Idempotent per feedback_id.

輸入參數chain_id必填feedback必填token_id必填

score_agent

Decay-weighted trust score in [0,1] + tier over the agent's imported ERC-8004 feedback — recent behavior outweighs old; no feedback scores a neutral 0.5 prior (no blind trust, no unfair zero).

輸入參數chain_idtoken_idbridge_did

bind_identity

Bind a fleet DID to an ERC-8004 identity. Produces an order-independent, content-addressed (unsigned) binding attestation.

輸入參數chain_id必填token_id必填fleet_did必填proof_note

export_attestation

Export the agent's current trust score as an UNSIGNED ERC-8004 Validation Registry-shaped payload, content-addressed and ready for YOUR OWN signer to anchor on-chain.

輸入參數chain_id必填token_id必填

verify_attestation

Recompute a payload's content hash and report whether it is intact.

輸入參數payload必填

list_registrations

List all imported ERC-8004 registrations.

無需輸入參數。

export_validation_response

Build UNSIGNED ERC-8004 Validation Registry validationResponse args from an Outcome Receipt (ORC v0.1): responseHash = receipt commitment, tag "orc/0.1", response 100 only if the bridge re-verifies the receipt AND your replay succeeded. Sign and submit with your own signer; this bridge holds no keys and writes to no chain.

輸入參數receipt必填replay_ok必填request_hash必填response_uri必填

describe_agent

Return the bridge's capabilities and input contract.

無需輸入參數。

版本歷史

2
  1. v0.2.0最新Sep 26, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Energyaisolution 整合