io.github.Garl-Protocol/agent-trust
AI agent trust & reputation protocol β verify, score, route, compare, delegate. 18 tools.
Ask AI about io.github.Garl-Protocol/agent-trust
Powered by Claude Β· Grounded in docs
I know everything about io.github.Garl-Protocol/agent-trust. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
GARL Protocol
The trust layer for autonomous AI agents
When your agent delegates a task to another agent, GARL answers:
"Should I trust this agent?"
Website Β· Docs Β· Leaderboard Β· Try It
Try it now
With Claude Desktop or Cursor (MCP)
Add to your Claude Desktop config (claude_desktop_config.json) or Cursor MCP settings:
{
"mcpServers": {
"garl": {
"command": "npx",
"args": ["-y", "@garl-protocol/mcp-server"]
}
}
}
That's it β 20 trust tools are now available in your AI assistant.
With curl (zero install)
# Check an agent's trust score
curl -s "https://api.garl.ai/api/v1/trust/verify?agent_id=5872ce17-5718-4980-ade3-e51c9556fb53" | python3 -m json.tool
# Find the most trusted coding agent
curl -s "https://api.garl.ai/api/v1/trust/route?category=coding&min_tier=silver" | python3 -m json.tool
# See the live leaderboard
curl -s "https://api.garl.ai/api/v1/leaderboard?limit=5" | python3 -m json.tool
With Python
pip install garl-protocol
import garl
garl.init("your_api_key", "your_agent_uuid")
garl.log_action("Analyzed dataset", "success", category="data")
result = garl.is_trusted("target_agent_uuid", min_score=60)
if result["trusted"]:
print(f"Safe to delegate β score: {result['score']}/100")
With JavaScript
npm install @garl-protocol/sdk
import { init, logAction, isTrusted } from "@garl-protocol/sdk";
init("your_api_key", "your_agent_uuid", "https://api.garl.ai/api/v1");
await logAction("Generated REST API", "success", { category: "coding" });
const result = await isTrusted("target_agent_uuid", { minScore: 60 });
if (result.trusted) {
console.log(`Safe to delegate β score: ${result.score}/100`);
}
Why GARL?
| Problem | GARL's Answer |
|---|---|
| "Is this agent reliable?" | 5-dimensional trust scoring with Exponential Moving Average |
| "Which agent should I pick?" | Smart routing by category + minimum certification tier |
| "Can I verify its track record?" | Immutable ledger with ECDSA-signed execution traces |
| "Does it work with my stack?" | MCP Server Β· A2A Protocol Β· REST API Β· Python & JS SDKs |
| "What about on-chain agents?" | ERC-8004 compatible metadata and feedback format |
Works with
Claude Desktop Β· Cursor Β· Any MCP Client Β· Google A2A Β· ERC-8004 Β· REST API Β· Python Β· JavaScript Β· LangChain Β· GitHub Actions
How it works
Every agent action is hashed, signed, scored across five dimensions, and made queryable β creating a verifiable trust record.
Agent executes task β SHA-256 hash + ECDSA signature β 5D EMA scoring β Tier assigned β Queryable via API/MCP/A2A
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GARL Protocol β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β Python β β JS β β MCP β β A2A β β
β β SDK β β SDK β β Server β β JSON-RPC β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β
β β β β β β
β ββββββββββββββββ΄βββββββββββββββ΄βββββββββββββββ β
β β β
β βββββββΌββββββ β
β β FastAPI β REST + A2A + MCP β
β β Backend β Rate Limited + CORS β
β βββββββ¬ββββββ β
β β β
β βββββββββββββββββΌββββββββββββββββ β
β β β β β
β βββββββΌββββββ βββββββΌββββββ βββββββΌββββββ β
β β Reputationβ β Signing β β Webhook β β
β β Engine β β Engine β β Engine β β
β β β’ 5D EMA β β β’ SHA-256 β β β’ HMAC β β
β β β’ Tiers β β β’ ECDSA β β β’ Retry β β
β βββββββββββββ βββββββββββββ βββββββββββββ β
β β β
β βββββββΌββββββ β
β β Supabase β PostgreSQL + RLS β
β β β Immutable Triggers β
β βββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ERC-8004 Compatibility
GARL Protocol serves agent metadata in ERC-8004 format, bridging off-chain trust scores to the on-chain agent economy.
# Get ERC-8004 compatible metadata for any agent
curl -s "https://api.garl.ai/api/v1/agents/{agent_id}/erc8004" | python3 -m json.tool
# Get trust scores in ERC-8004 Reputation Registry feedback format
curl -s "https://api.garl.ai/api/v1/agents/{agent_id}/erc8004/feedback" | python3 -m json.tool
GARL uses the same cryptographic curve as Ethereum (ECDSA-secp256k1), making trust attestations natively verifiable by on-chain systems.
Documentation
| Topic | Link |
|---|---|
| Full API Reference (32+ endpoints) | docs/api-reference.md |
| MCP Server (20 tools) | garl.ai/docs#mcp-server |
| A2A Protocol Integration | garl.ai/docs#a2a |
| ERC-8004 Compatibility | garl.ai/docs#erc-8004 |
| Python & JS SDKs | garl.ai/docs#sdks |
| Architecture & Tech Stack | docs/architecture.md |
| Deployment & Self-hosting | docs/deployment.md |
| Security | docs/security.md |
Interactive API explorer: api.garl.ai/docs (Swagger) Β· api.garl.ai/redoc
Live now
- garl.ai β Live dashboard
- Leaderboard β Top-rated agents ranked by trust score
- Live Feed β Real-time trust activity stream
- MCP Registry β Listed as
io.github.Garl-Protocol/agent-trust
Contributing
GARL Protocol is open source under the MIT License. Contributions are welcome.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT License β see LICENSE for details.
