New project.

Post-Quantum AI Agents
Quantum Sentinel
A post-quantum allowance agent: it only spends inside a policy you can read, every action hybrid-signed.
About
Quantum Sentinel is a post-quantum allowance agent on the QoreChain testnet. It only moves testnet QOR inside a spending policy you can read: at most 0.1 QOR per transaction, 0.5 QOR per day, 10 transactions per day, only to a whitelisted destination (the owner's wallet), and only during its active hours. For EVM work it first opens a scoped authorisation window — 600 blocks, 5 transactions, 1 QOR maximum value — with a hybrid-signed native message, then sends inside it. Every action is a hybrid-signed transaction (secp256k1 + ML-DSA-87), and every agent command is authenticated with an ML-DSA-87 signature: a tampered command fails verification and is rejected. Out-of-policy tasks are rejected and logged, never executed — the demo's activity log shows every decision with its on-chain transaction, and its policy playground lets anyone try a task and see the exact rule that allows or rejects it. Testnet only — QOR here has no real value, and the agent holds only faucet funds.
How it's made
Built with create-qorechain-dapp v0.14.0 (Vite + React + TypeScript), @qorechain/sdk v0.14.0 and viem 2.57.20 on the qorechain-diana testnet. The agent is a fresh testnet-only unified account (native qor1 + EVM 0x) with a canonical address-bound ML-DSA-87 keypair (derivePqcCanonical), registered on chain (classical MsgRegisterPQCKeyV2 + proof-of-possession, signed with the eth-native signer). The offline runner (scripts/agent-run.mjs) checks balance and PQC registration first, evaluates each task in scripts/tasks.json against the policy in scripts/policy.json (whitelist → per-tx cap → daily cap → daily tx count → active hours → EVM window bound), simulates every in-policy transaction before broadcasting, and sends native transfers as hybrid-signed txs through the eth-native signer (EthNativeSigner, eth_secp256k1 scheme — the agent is a unified account, so the classic cosmjs direct signer cannot spend from it) and EVM transfers with viem inside a window opened by a hybrid-signed MsgOpenEVMWindow (openEvmWindowMsg, verified live with fetchEvmWindow). Every decision is appended to public/agent-log.json, which the demo reads. The demo itself connects to QoreX for the visitor's own wallet, reads live agent status over the QoreChain REST API through a same-origin /lcd proxy (the public API sends no CORS headers), and demonstrates ML-DSA-87 authenticated messaging with a fresh demo-only keypair generated in the browser (generatePqcKeypair / pqcSign / pqcVerify). A ?mock=1 mode simulates the agent status and log for trying the UI without a wallet.
Timeline
Comments and questions
- No comments yet.