PRE-EXECUTION CONTROL PLANE · BASE X402 · MCP
Fail-Closed Payment & Execution Gates for Autonomous Agents
Every authorization carries a required SHA-256 intent_hash and a single-use auth_id. Spend caps and allowlists run through fail-closed VPCShield before funds move.
- Fail-closed
- SHA-256 bind
- Single-use auth
- Base x402
- MCP
Authorization
AgentExec Signed Execution Envelope (v1)
Every gateway execution request is bound to a short-lived single-use AgentExec Execution Authorization (version "agentexec-auth-v1"), binding intent_hash, auth_id, expiry (Unix seconds), and alg/kid.
AgentExec’s authorization envelope is an independent implementation inspired by the signed intent-binding semantics of OxDeAI (https://github.com/oxdeai/oxdeai) (intent_hash, single-use auth_id, signed expiry, strict alg/kid), and does not wrap or bundle @oxdeai/* packages.
intent_hash
SHA-256
Required SHA-256 bind. The gate hashes the canonical intent and refuses the authorization when that digest does not equal the signed intent_hash.
auth_id
Single-use
Single-use replay. One auth_id settles once. A later presentation of the same auth_id is a replay and is refused.
alg & kid
No fallback
Strict alg encoding, zero fallback. alg and kid must be the signed algorithm and key id. An unknown, missing, or substituted algorithm is refused. Nothing defaults to another alg.
expiry
Unix seconds
Signed expiry. expiry is a Unix timestamp in seconds inside the signed authorization. When it is reached, the authorization is refused and no funds move. A payload that includes expires_at is refused.
policy_id
Policy
Policy caps and allowlists. policy_id selects the spend caps and allowlists checked before execution. A missing policy does not fall open.
idempotency_key
inputHash
Enterprise idempotency inputHash. The key is bound to an inputHash over the authorization inputs, including auth_id, intent_hash, and policy_id. The same key and the same inputHash may retry. The same key with a different inputHash is rejected.
Live execution path
Simulate AI Intent → Tenderly → UserOp
One composition for agent spend: challenge, guardrail, simulate, settle.
Step 01
AI Intent
Agent requests paid resource
Step 02
Tenderly Pass
Dry-run clears drain / revert
Step 03
UserOp
Sponsored settle on Base
$ npm install @agent-exec/mcp-server → POST /v1/intent/execute (Tenderly gate) → PAYMENT-REQUIRED → EIP-3009 auth → PAYMENT-RESPONSE → UserOp hash on Base Sepolia
Three core pillars
Everything an agent needs between intent and settlement
x402 Paywalls
HTTP 402 challenges with machine-readable USDC micropayments. Agents attach signed EIP-3009 authorizations — no human checkout.
Session Keys
EIP-7579 scopes with spend caps, contract allowlists, and TTL. Agents transact without holding master keys.
Go Gateway
Sliding-window Redis rate limits and circuit breakers in front of the execution API — protect paymaster float.
Business model
Simple rails pricing
Developer SaaS subscriptions, $0.005 per UserOp, and a 1.5% markup on x402 paywall volume.
Get API keys on GitHub