
Garl Protocol
io.github.Garl-Protocol由 GitHub 帳號 Garl-Protocol 發布v1.1.2更新於 Oct 27, 2026
18 trust tools for AI agents — verify, score, route, compare, and delegate with confidence.
概覽
GARL Protocol MCP 伺服器讓助理能驗證代理信任分數、簽發與檢核能力權杖,並解析簽章過的動作回執。
- 可以做什麼
- 驗證與評分代理:查詢信任分數、比較代理,並依類別與最低等級路由到可信代理。
- 簽發、驗證與撤銷能力權杖,限制花費上限、商家白名單、副作用類別與到期時間,委派只能收窄權限。
- 執行 Capability Gate 預檢,並支援 UETA §10(b) 復原動作。
- 將動作回執解析成可直接分享的證明連結,並提供批次驗證的變體。
- 適用情境
- 適合在把工作委派給其他代理前先確認其可信度,或為代理動作加上受限授權與簽章證明的情境。但專案已封存、託管服務不再接受代理、追蹤與回執,新用途有限。
- 執行需求
- 透過 npx 以 stdio 在本機執行 npm 套件 @garl-protocol/mcp-server,需要 Node.js。需要 GARL_AGENT_ID 中的代理 UUID 與 GARL_API_KEY 中的 API 金鑰,可透過註冊工具或託管 API 取得。需能連線至託管 API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Garl Protocol,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[!IMPORTANT] Archived on 24 September 2026. GARL is no longer maintained, and the hosted service (garl.ai, api.garl.ai) no longer accepts agents, traces or receipts. The code remains available under Apache-2.0. The 12 receipts anchored on Base mainnet remain verifiable at garl.ai/anchors. Contact: [email protected]. Revival notes: docs/runbooks/sunset.md.
[Version]
[License]
[GitHub Action]
[A2A v1.0]
[MCP]
[CI]
GARL Protocol
Prove what your AI agent was authorized to do — and what it actually did.
Capability tokens set hard limits on an agent — spend caps, merchant allowlists, side-effect class, expiry — and a delegated token can only narrow its parent, never widen it.
Every action becomes an ECDSA-secp256k1-signed Action Receipt bound to the token that authorized it, Merkle-anchored on Base mainnet, and verifiable offline without trusting GARL.
Add your agent · Anchor chain · Website · Docs · Live receipt · Try It
Try it now
Path A — For Agents (SDK / MCP)
With Claude Desktop or Cursor (MCP)
Add to your Claude Desktop config (claude_desktop_config.json) or Cursor MCP settings:
That's it — 29 named tools (including batch variants like garl_verify_batch) are now available in your AI assistant: receipts, Trust Vector lookups, capability tokens (issue/verify/revoke), Capability Gate pre-flight, UETA §10(b) undo, and more.
With curl (zero install)
With Python
With JavaScript
Capability tokens — authorization with hard limits
A delegated child token can only narrow its parent (lower spend limit,
subset allowlist, equal-or-narrower scope, same-or-earlier expiry) — enforced
at issue time and re-checked link-by-link at verification. Full wire format:
protocol/spec/capability-token-v0.1.md.
Path B — For Code (GitHub Action, 5 lines of YAML)
Sign every AI-authored commit in your pull requests.
Every PR gets a rolling GARL Receipt comment + informational check:
Setup guide: Garl-Protocol/garl-receipt-action ·
Live landing page: garl.ai/for-code.
Receipts — a paste-ready proof for every trace
Every submitted trace gets a public shareable Receipt URL at
https://garl.ai/r/{short} — a cryptographic proof card (agent, tier, task,
duration, SHA-256 hash, ECDSA signature) with an Open Graph image that
previews richly in Slack, Twitter/X, GitHub PRs, and LinkedIn.
SDKs expose receipt_url / receiptUrl on every log_action / verify
return and a client.receipt(hash) shortcut. The MCP tool garl_receipt
resolves any short or full hash to a paste-ready URL.
GitHub Action — sign every AI-authored commit
Add Garl-Protocol/garl/integrations/github-action-receipt to your PR
workflow. It detects Claude Code, Cursor, GitHub Copilot, Aider, and Codex
co-author trailers, submits a signed trace per qualifying commit, and posts
a rolling PR comment + informational check with receipt URLs:
Full setup in integrations/github-action-receipt.
Only metadata is uploaded — never diffs or source.
Why GARL?
Works with
Claude Desktop · Cursor · Any MCP Client · Google A2A · ERC-8004 · REST API · Python · JavaScript · LangChain · CrewAI · AutoGen · LlamaIndex · Semantic Kernel · GitHub Actions
How it works
Every agent action is hashed, signed, scored across five dimensions, and made queryable — creating a verifiable trust record.
ERC-8004 Compatibility
GARL Protocol serves agent metadata in ERC-8004 format (off-chain). Separately, the Merkle roots of batched Action Receipts are anchored on Base mainnet (MerkleAnchor contract 0xBeD7EdeFbEb02be9682bCdeC5fb5D7DA28b1b6F2, chain 8453). Individual receipts are not written on-chain; anyone can verify a receipt's inclusion against an anchored root via verifyProof.
GARL uses the same cryptographic curve as Ethereum (ECDSA-secp256k1), making trust attestations natively verifiable by on-chain systems.
Documentation
Interactive API explorer: api.garl.ai/docs (Swagger) · api.garl.ai/redoc
Live now
- garl.ai — Live dashboard & real-time trust feed
- Add your agent — Connect any agent (REST, SDK, MCP, GitHub Action) in three steps
- My Agents — sign in (Clerk) and claim the agents you've connected by API key to track their activity from one place
- Registry — Browse connected agents and their signed, verifiable activity
- Verify — Public cryptographic trace verification
- Playground — Interactive API explorer
- Simulator — 5D trust score calculator with what-if analysis
- Compare — Side-by-side agent comparison with radar overlay
- Swagger — Full OpenAPI documentation
- Anchors — every Merkle batch with its root, receipt count, and Base tx (
GET /api/v1/anchors) - MerkleAnchor on Base — Receipt-batch Merkle roots anchored on Base mainnet (chain 8453)
- MCP Registry — Listed as
io.github.Garl-Protocol/agent-trust
Contributing
GARL Protocol is open source under the Apache 2.0 License. Contributions are welcome — see CONTRIBUTING.md for guidelines and CODE_OF_CONDUCT.md for community standards. Every commit must be DCO-signed (git commit -s).
Requirements: Python 3.10+ for the backend (PEP 604 union syntax),
Node 18+ for the frontend. macOS users: the system python3 is 3.9
and will fail backend tests — install 3.10+ via pyenv / brew install [email protected]
and invoke explicitly (python3.12 -m pytest tests/).
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Run tests (
python3.12 -m pytestfor backend,npx next buildfor frontend) - Commit your changes with DCO sign-off (
git commit -s -m 'Add amazing feature') - Open a Pull Request
Canonical registry, self-hosting, and marks
- Canonical registry:
https://api.garl.ai— the single deployment whose public key anchors theGARL Verifiedstatus. Public keys are published at/.well-known/garl-keys.json. - Self-hosting is supported and documented in
docs/self-host.md. Self-hosted deployments are first-class participants but are not the canonical registry; see GOVERNANCE.md. - Trademark policy: TRADEMARK.md. The source code is Apache 2.0; the GARL name and logo are project marks and subject to the policy.
Project decision-making, breaking-change process, and the boundary between repository features (Apache 2.0 forever) and potential future Cloud-only services on the canonical registry are documented in GOVERNANCE.md.
License
Apache License 2.0 — see LICENSE for details.
來源:README.md,提交 fadd535
工具
0版本歷史
1- v1.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分