
Post-Quantum AI Agents
QoreGuard
Post-quantum allowance agent for small businesses
About
QoreGuard is a post-quantum allowance agent for small businesses on QoreChain. A business keeps its bill money in an on-chain vault. An AI agent pays the recurring bills — but it can only pay with an ML-DSA-87 post-quantum signature verified on-chain by QoreChain's pqcVerify precompile, and only inside spending rules the chain itself enforces: allowlisted payees only, at most 0.5 QOR per payment, at most 2 QOR per day, and the agent link expires after 24 hours. The owner revokes the agent in one transaction. A stolen classical key can never move money out of the vault, because the vault checks a post-quantum signature, not the sender. Live on the Diana testnet: the agent paid three real bills (rent 0.5, internet 0.4, software 0.3 QOR), the chain refused a 5 QOR fake invoice, and after the owner revoked the agent the next payment was refused too.
How it's made
Contracts: QoreGuardVault.sol (Solidity, Foundry, 16/16 tests pass). Payments are authorized by ML-DSA-87 signatures verified via the pqcVerify precompile; the vault enforces the allowlist, per-payment cap, daily cap and link expiry on-chain. Agent: a Node.js/TypeScript agent using @qorechain/sdk v0.13.0 that reads a bill list, signs payment requests with the agent's ML-DSA-87 key, and submits them through QoreChain's hybrid signing (every native transaction signed twice: secp256k1 + ML-DSA-87) inside EVM authorisation windows. Deployed to the Diana testnet (chain 9800) with a forge script; the deployer and agent keys were registered on-chain first. Dashboard: apps/web, the create-qorechain-dapp scaffold (Vite + React + wagmi), adapted for QoreGuard with the QoreX wallet via @qorechain/qorex-rainbowkit — it shows the vault balance, agent status, payment history and a revoke button. AI usage is documented in AI_USAGE.md in the repo.
Timeline
Comments and questions
- No comments yet.