Agent Compute Ledger

io.github.jdhart81由 GitHub 账号 jdhart81 发布v0.3.0更新于 Nov 2, 2026

Compute-is-carbon energy/carbon ledger for agent work with Landauer-limit validation.

发布方自己的服务:Energyai

已验证Streamable HTTP可网页运行安全与监控数据与分析

概览

AI 生成的概览

把智能体的算力工作记录为能耗与碳账本,支持朗道尔极限校验、哈希链验证与内容寻址证明。

可以做什么
  • 记录并列出算力工作条目,含能耗、碳排放、成本,可选按比特操作数对照物理下限校验
  • 汇总某个智能体的足迹:总焦耳、千瓦时、克二氧化碳当量、成本与平均朗道尔效率
  • 为条目签发内容寻址证明,并通过重算哈希进行验证
  • 验证智能体账本的防篡改哈希链
  • 在独立的只追加链中记录、读取和列出经审计的温室气体清单,并验证该链
  • 生成 x402-C 碳收据,并返回舰队标准的智能体自描述
适用场景
当智能体或智能体集群需要对算力背后的能耗与碳排放做可审计核算,或需要他人可复核的绿色算力声明与碳收据时适用。
运行要求
远程 streamable HTTP 端点 mcp.viridisconservation.com;未声明认证、环境变量或请求头。README 说明每项服务免费额度为每天 10 次调用,验证始终免费,也可从 Apache-2.0 仓库自行部署。
安装前请注意
条目会写入账本、清单写入只追加链,记录基本不可撤销;幂等键(entry_id、inventory_id)只能防重复,不能防内容填错。托管服务另含支付、签名授权与遥测,属专有部分,不在开源仓库中。未声明认证,请考虑所发送的智能体标识与工作负载数据。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "agent-compute-ledger": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/compute-ledger/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

工具

12

record_work

Record a unit of agent compute work. energy_j = power_w * duration_s; carbon_g follows from grid intensity. If bit_ops is declared, the entry is validated against the Landauer floor (bit_ops * kB * T * ln2) — physically impossible claims are rejected. Idempotent on entry_id.

输入参数taskbit_opspower_w必填agent_id必填entry_id必填duration_s必填temperature_kprice_minor_per_kwhgrid_intensity_g_per_kwh

footprint

Aggregate footprint for an agent: total J, kWh, gCO2e, cost, and mean Landauer efficiency. Totals are exact sums of the ledger entries.

输入参数agent_id必填

attest

Issue a content-addressed attestation for a ledger entry (verifiable green-compute / energy claim).

输入参数entry_id必填

verify_attestation

Verify an attestation by recomputing the entry hash.

输入参数attestation必填

verify_chain

Verify the tamper-evident hash chain of an agent's ledger.

输入参数agent_id必填

list_entries

List all ledger entries for an agent.

输入参数agent_id必填

carbon_receipt

Emit an x402-C carbon receipt for a recorded work entry — the physically-grounded {version, g_co2e, energy_j, method, landauer_*, ...} object an x402 machine-payment receipt can carry. method is 'landauer-floor' when the workload declared bit_ops (thermodynamically validated), else 'measured'. Pass offset_ref (a retirement id from the offset clearinghouse) to assert carbon-neutrality. Read-only; the returned attestation_hash binds the receipt to the ledger's hash chain.

输入参数entry_id必填offset_ref

record_inventory

Record an audited GHG inventory in a separate append-only chain. mass_g is exact integer grams; content and factor-pack digests are bare lowercase SHA-256 hex. Idempotent on inventory_id.

输入参数mass_g必填agent_id必填source_idsinventory_id必填content_digest必填factor_pack_digest必填factor_pack_version必填

get_inventory

Fetch one immutable inventory record by inventory_id.

输入参数inventory_id必填

list_inventories

List the separate GHG inventory chain for an agent.

输入参数agent_id必填

verify_inventory_chain

Verify an agent's inventory hash chain independently of compute work.

输入参数agent_id必填

describe_agent

Fleet-standard self-description.

无需输入参数。

版本历史

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

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Energyaisolution 集成