Pushed 1 commit to main
- 397e56b Connect dashboard to hosted gateway, mobile layout fix · Abbagigo13

Post-Quantum AI Agents
A policy firewall that lets AI agents spend on QoreChain without ever holding the keys.
AI agents that can pay are one prompt injection away from sending money to an attacker. AgentShield removes the key from the agent. The agent submits payment intents; AgentShield checks them against deterministic policy (allowlist, per-payment and daily limits, rate limit, prompt-injection scan, quarantine after repeated denials), holds large payments for a human, and signs allowed payments as hybrid secp256k1 + ML-DSA-87 transactions. Every decision, including every denial, is a hash-chained receipt signed with ML-DSA-87, so tampering is detectable and the record stays provable after Q-Day. In delegated mode the gateway signs with a linked delegate key that QoreChain itself limits: on the testnet the chain refused a 1.5 QOR payment above a 1 QOR on-chain limit. Agents connect over HTTP or MCP, and a live dashboard shows receipts, approvals and quarantined agents.
Python gateway on the official qorechain-sdk: hybrid transactions, ML-DSA-87 keys, PQC key registration with proof of possession, spending-rule and authenticator messages. A pure policy engine (ten rules) decides ALLOW, ESCALATE or DENY. The receipt log hashes each record with SHA-256 over canonical JSON, chains it to the previous one and signs the hash with ML-DSA-87; the log head can be anchored in a transaction memo. FastAPI gateway, MCP server, CLI, and a framework-free dashboard that connects to the gateway. Verified on qorechain-diana: PQC key registration (owner and relayer), hybrid transactions, anchoring, spending-rule write and read-back, and a chain-enforced refusal of an over-limit payment by a delegate key (transaction hashes in docs/VERIFICATION.md). What was hard: our first design did not work. A payment signed by the account owner above the on-chain limit was accepted, because spending rules bind linked delegate keys, not the owner. We rebuilt it as delegated mode: the owner links an ed25519 delegate with send permission, and a separate relayer submits and pays fees. Live runs also exposed a fee below the node's minimum gas price and an account-sequence lag until block inclusion, both fixed. A demo agent on a Meta Muse model resisted the injection by itself; a scripted hijack mode shows the gateway holding when the model does not. 23 tests, pinned dependencies, MIT licence.
Pushed 1 commit to main
Pushed 1 commit to main
Pushed 1 commit to main
Pushed 1 commit to main
Newly verified on chain: Smart accounts and spending rules
Earned a Ship Weeks badge.
Pushed 1 commit to main
Pushed 5 commits to main
Pushed 1 commit to main
Pushed 1 commit to main
Pushed 1 commit to main
New project.