MarkovianProtocol/markovian-protocol
GitHub: MarkovianProtocol/markovian-protocol
Markovian Protocol 为自主智能体提供链上零知识验证的溯源信任层,将智能体输出转化为时间戳确凿、可独立验证的承诺记录并适配多种主流智能体标准。
Stars: 0 | Forks: 0
# Markovian Protocol
一个面向自主智能体的溯源与信任层。Markovian Protocol 将任何智能体输出转化为带有时间戳、链上记录且可独立验证的记录。它证明数据在特定时间点已被提交,但不声称数据是正确的。提供溯源,而非真相。
## COMMIT
COMMIT 是入口。它是一个与内容无关的戳记:智能体发送一个 hash,协议将 Merkle root 和 BN128 Pedersen commitment 写入链,并返回一个任何人都可以验证的回执,且无需账户或信任发行者。
规范记录在任何地方都是同一个对象,即 `markovian-provenance/v1`:
```
{
"schema": "markovian-provenance/v1",
"merkle_root": "",
"data_hash": "",
"wallet": "",
"zk_commitment": "",
"block_height": 0,
"stamped_at": "",
"verify": "https://api.quantsynth.net/verify/",
"attestation": "provenance-only; proves data was committed at this time, not that it is correct"
}
```
## Doors
一次提交,多个信封。同一记录可接入智能体已在使用的标准。
| 标准 | 状态 | 接入方式 |
|---|---|---|
| W3C Verifiable Credentials | 正在运行 | 该记录成为已签名 VC 的 credentialSubject |
| A2A, Agent2Agent | 正在运行 | 纯数据扩展将记录附加到 Artifact.metadata |
| Model Context Protocol | 正在运行 | MCP server 暴露一个戳记工具和一个验证工具 |
| ERC-8004, Trustless Agents | 测试网 | 验证提供者在 Validation Registry 上进行响应 |
| C2PA | 计划中 | 内容清单内的命名空间断言 |
每个 Door 的参考页面及实时示例:
- W3C VC: https://markovianprotocol.com/vc.html
- A2A: https://markovianprotocol.com/a2a.html
- MCP: https://markovianprotocol.com/mcp.html
- ERC-8004: https://markovianprotocol.com/erc8004.html
## 试用
这些 Door 现已上线。以下调用针对公共 endpoint 运行,无需账户。
```
# 验证任何记录(浏览器或 API)
curl https://api.quantsynth.net/verify/
# MCP server(Streamable HTTP,需要尾部斜杠)
# https://api.quantsynth.net/mcp/ tools: markovian_stamp, markovian_verify
# A2A extension 定义
curl https://api.quantsynth.net/a2a/ext/provenance/v1
```
可在浏览器中验证的真实记录:https://demo.markovianprotocol.com
该 MCP server 已在官方 MCP registry 中列出,名称为 `io.github.MarkovianProtocol/provenance`。
## 此仓库
- `integrations/mcp/` MCP server 和测试
- `integrations/a2a/` A2A 参考实现:wrapper、demo agent、demo consumer
- `integrations/erc8004/` ERC-8004 Validation Registry 合约和智能体演示
- `specs/` MCP、A2A 和 C2PA Door 的集成规范
- 链代码:`block_schema.py`、`miner.py`、`zk_markov.py`、`market_settler.py`、`reader_settler.py`
- `whitepaper.md`
实时信号 pipeline 和生产 API 私有运行。此仓库包含协议原语、Door 集成和规范。
## 许可证
Apache-2.0。请参阅 LICENSE 和 NOTICE。
标签:AI智能体, 区块链, 可验证凭证, 数据信任层, 数据溯源, 模型上下文协议(MCP), 逆向工具, 零知识证明