Kevros
--- name: govern description: "Verify actions, attest provenance, and check peer trust before acting" version: 0.3.3 author: TaskHawk Systems license: BSL-1.1 tags: [governance, trust, verificat
Description
name: govern description: "Verify actions, attest provenance, and check peer trust before acting" version: 0.3.3 author: TaskHawk Systems license: BSL-1.1 tags: [governance, trust, verification, provenance, compliance, security] requires: [x402]
Govern Skill
Add governance verification to your Agentic Wallet. Verify before acting, attest after acting, check peers before collaborating.
When to Use
-
Before high-stakes actions (trades > $100, transfers, deployments, external API calls): Call
verify_actionto get an ALLOW/CLAMP/DENY decision with a cryptographic release token. -
After completing actions: Call
attest_provenanceto record the action in your tamper-evident, hash-chained audit trail. Builds your trust score over time. -
Before collaborating with unknown agents: Call
check_peer_trustto inspect their trust score, chain length, and decision history. -
Before executing a declared plan: Call
bind_intentto cryptographically bind your intent to the command, then verify the outcome after execution.
Endpoints
All endpoints are x402-priced. Payment is automatic from your wallet (USDC on Base).
Verify Action — $0.01
npx awal@latest x402 pay https://governance.taskhawktech.com/governance/verify \
-X POST \
-H "Content-Type: application/json" \
-d '{
"action_type": "trade",
"action_payload": {"asset": "ETH", "amount": 500, "side": "buy"},
"agent_id": "my-agent"
}'
Response:
{
"decision": "ALLOW",
"verification_id": "vrf_...",
"release_token": "...",
"provenance_hash": "...",
"epoch": 42
}
Attest Provenance — $0.02
npx awal@latest x402 pay https://governance.taskhawktech.com/governance/attest \
-X POST \
-H "Content-Type: application/json" \
-d '{
"agent_id": "my-agent",
"action_description": "Executed ETH buy order",
"action_payload": {"asset": "ETH", "amount": 500, "filled_price": 3200}
}'
Response:
{
"attestation_id": "att_...",
"hash_prev": "...",
"hash_curr": "...",
"chain_length": 42
}
Check Peer Trust — Free
curl https://governance.taskhawktech.com/governance/reputation/peer-agent-id
Response:
{
"agent_id": "peer-agent-id",
"trust_score": 1.0,
"chain_length": 120,
"attestation_count": 95,
"outcome_count": 30,
"achieved_count": 30,
"chain_intact": true
}
Bind Intent — $0.02
npx awal@latest x402 pay https://governance.taskhawktech.com/governance/bind \
-X POST \
-H "Content-Type: application/json" \
-d '{
"agent_id": "my-agent",
"intent_type": "AI_GENERATED",
"intent_description": "Buy ETH when price drops below $3000",
"command_payload": {"action": "limit_buy", "asset": "ETH", "price": 3000},
"intent_source": "AI_PLANNER"
}'
Response:
{
"intent_id": "int_...",
"binding_id": "bind_...",
"binding_hmac": "...",
"command_hash": "..."
}
Decision Flow
Agent receives task
│
▼
Is it high-stakes? ──No──▶ Execute normally
│
Yes
│
▼
verify_action()
│
├── ALLOW ──▶ Execute ──▶ attest_provenance()
│
├── CLAMP ──▶ Execute with modified bounds ──▶ attest_provenance()
│
└── DENY ──▶ Do NOT execute. Report to operator.
Discovery
This service is discoverable via x402 Bazaar:
# Find governance services
npx awal@latest x402 bazaar search governance
# Full discovery document
curl https://governance.taskhawktech.com/.well-known/x402
Integration with AgentKit
If using the full AgentKit SDK, install the ActionProvider instead:
pip install coinbase-agentkit-kevros # Python
npm install @kevros/agentkit # TypeScript
The ActionProvider wraps these same endpoints with the AgentKit action pattern.
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!