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.
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.
AgentExec Signed Execution Envelope (v1) parameters and enforcement
Parameter
Enforcement
intent_hashSHA-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_idSingle-use
Single-use replay. One auth_id settles once. A later presentation of the same auth_id is a replay and is refused.
alg & kidNo 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.
expiryUnix 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_idPolicy
Policy caps and allowlists. policy_id selects the spend caps and allowlists checked before execution. A missing policy does not fall open.
idempotency_keyinputHash
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.
Once an on-chain transfer or instant settlement clears, post-hoc alerts only document a regulatory breach after funds have moved. AgentExec sits in the execution path as a synchronous hard gate.
No ALLOW, no execution
Every proposed transaction is evaluated against normalized venue/country blocklists, risk/size guardrails, and jurisdictional tax rules (including India Section 194S TDS reconciliation) prior to signing or routing.
Local MCP or hosted x402
Run AgentExec inside your own boundary via MCP (http://127.0.0.1:3100/mcp) or integrate over HTTPS with x402 per-call settlement (api.agentexec.dev).
Guarantees
Core institutional guarantees
1. Canonical inputHash & hash-chained ledger
Every screening payload is deterministically canonicalized (recursive key sorting, array order preservation, undefined stripping, -0 normalization) into inputJson and hashed via SHA-256. Each decision appends an immutable compliance_decisions record linking prevChainHash → chainHash. Auditors can independently verify sha256(inputJson) === inputHash.
Exact retries return idempotentReplay: true with the original decision and chain receipt—without re-running risk heuristics or appending duplicate rows. Changing a hashed field under an existing transactionId forces a fresh evaluation. Unpaid ALLOW replays still require x402 (HTTP 402); paid replays resolve at HTTP 200 with zero duplicate facilitator charges.
3. Fail-closed posture (AGENTEXEC_UNAVAILABLE)
If persistence, lock acquisition, or policy evaluation is interrupted, AgentExec returns AGENTEXEC_UNAVAILABLE (retryable: true) with no decision body—so downstream signers and routers halt safely rather than defaulting to ALLOW.
Contract
Exact screen_transaction surface
Field names and enums are mirrored from vpcshield (screenTransactionShape / ScreeningResult) — not simplified aliases.
Dedicated VPC deployment with custom SLA, high-throughput PostgreSQL advisory-locked ledger, and direct engineering support.
Q4 2026 cohort
Design partner onboarding
We are onboarding a select cohort of institutional design partners and agent infrastructure teams to provision dedicated tenantId namespaces and custom policy rulepacks.