AI agent permissions guide
Three layers: identity (OAuth/MCP) = who may call the tool; DB roles = which tables; SQLGuard PASS = which exact SQL may run. Skipping the third layer is hoping the model behaves. Issue a permission receipt (Ed25519 PASS), verify it, then execute. Job meter: Workday $2.50. Guide: https://sqlguard.io/ai-sql-authorization · Badge: https://sqlguard.io/verified .
Runnable path
POST https://sqlguard.io/v1/workday
Header: X-SQLGuard-Agent: <0x-wallet>
Body: {"agent_id":"<0x-wallet>"}
# 402 → Exact USDC Base → 0xC8d524703f1751b565a220087D1d4c44a413C1D7 ($2.50)
# Then POST /v1/session/cert → POST /v1/verify → execute
# Burst: POST https://sqlguard.io/v1/session # $0.25
# Taste: POST https://sqlguard.io/v1/cert # $0.05
# Free tip only (not authorize):
POST https://sqlguard.io/v1/probe