Skip to content
QORECHAIN
Register

Post-Quantum AI Agents

Sentinel

An AI agent that pays invoices - cryptographically incapable of exceeding its mandate.

Share on X

About

Sentinel is an autonomous treasury agent on QoreChain. It reads on-chain invoices, decides per policy, and pays vendors - but unlike every agent on a classical chain, its spending power is bounded by the protocol, not by application code. The agent's EVM transactions only exist inside a scoped post-quantum authorisation window: limited blocks, transaction count, value, and an allowlist of exactly two target contracts. Above a threshold, payments additionally need an operator mandate - an ML-DSA-87 signature verified inside the vault contract by QoreChain's pqcVerify precompile. A separate guardian service renews the window, issues mandates, and holds a kill switch. For the Q-Day Drill we publish the agent's classical private key to the attack bot. It cannot open a window, cannot reach an unl isted contract, and cannot satisfy the vault's policy - the project keeps running while the attacker holds the key.

How it's made

Three enforcement layers, each independent: 1. Protocol : the agent EOA runs inside a scoped EVM window (allowed_targets = PolicyVault + InvoiceRegistry, bounded blocks/txs/value), opened only by hybrid secp256k1+ML-DSA-87 signatures. Its classical key alone cannot open or widen a window - the agent process never holds the PQ secret. 2. Contract : PolicyVault enforces per-tx cap, rolling daily cap, vendor allowlist and pause; refusals are emitted on-chain as events. Payments over the mandate threshold call the pqcVerify precompile (0x0A01) against the operator's chain-registered ML-DSA-87 key fetched via pqcKeyStatus (0x0A02). Admin functions re-verify the operator still holds a proven PQ key. 3. Services : a TypeScript agent (viem) scans the registry, signs an EIP-712 decision receipt per invoice (its keccak anchors each on-chain call), and submits pay/payWithMandate; a guardian service renews windows, signs mandates, and can close the window +pause the vault. Stack: Solidity 0.8.28 + Foundry, TypeScript/viem, @qorechain/sdk + @qorechain/evm. Hardest parts: working within window tx budgets, and verifying 4.6KB ML-DSA signatures inside the EVM gas model — solved via the precompile rather than in-contract verification.

Timeline

SentinelPost-Quantum AI Agents

Pushed 3 commits to main

  • 22c5959 Correct claims to match remediated architecture · cipoklean
  • 4889529 Repo hygiene: drop template leftovers, fill truncated hashes, real env.example · cipoklean
  • 8041a34 Close audit holes: selector-scope AA rule, fix 502 scan, repair kill switch, third-party vendor evidence · cipoklean
SentinelPost-Quantum AI Agents

Pushed 9 commits to main

  • d72bded Annotate lambda params for Vercel's strict typecheck · cipoklean
  • 0302ae3 Point vault contract link at its bech32 address · cipoklean
  • 06b255c Fix explorer links: resolve MsgEthereumTx wrapper hashes, bech32 address links · cipoklean
  • 622695e Unslop pass: neutral washes, no colored glows, weights<=600, no italic emphasis, named transitions, 4px scale, no headline periods · cipoklean
  • d806904 README: link live Vercel site · cipoklean

and 4 more commits

SentinelPost-Quantum AI Agents

New project.

Comments and questions

  • No comments yet.