Skip to content
QORECHAIN
Register

Post-Quantum AI Agents

Maat

An AI claims agent that pays small claims at once, within caps the chain enforces; larger payouts need ML-DSA-87.

Share on X

About

Letting an AI pay insurance claims is fast and dangerous: models can be talked into things, and payment keys get stolen. Maat splits the power. An AI model looks at the claim photo and proposes a decision in a fixed format; code checks it against the policy; and the payout itself is a MsgExecuteEVM from the insurer's account, signed by a linked agent key that can call only PolicyPool.payClaim, within per-claim and per-day caps the chain enforces. A refused payout is read from the chain's execution event, never assumed. Claims above the maximum go to the insurer, who approves them with a post-quantum signature that the pool checks with pqcVerify against the key it pinned (with a re-pin after rotation). Photos stay private; only their hash goes on chain, so the same photo can't be used twice. On testnet the agent paid claims, the chain refused an over-cap payout and an unlisted call, and "approve 5,000" in chat changed nothing.

How it's made

Built from create-qorechain-dapp 0.14.0 templates (apps/contracts and apps/web). - @qorechain/sdk for the authenticator link with a spending rule, the MsgExecuteEVM v2 digest, execution results and windows; @qorechain/qoresign for session checks; @qorechain/evm, @qorechain/pqc, @qorechain/qorex-rainbowkit. - The pqcVerify and pqcKeyStatus precompiles; a pluggable OpenAI-compatible model with image input; Vercel Functions and a private Blob store. - Tests: 31 contract tests, 22 agent tests, 2 setup tests and 29 web tests. Built with AI coding assistance, described in AI_USAGE.md.

Timeline

MaatPost-Quantum AI Agents

Pushed 11 commits to main

  • b497695 Add the favicon · OsatoVicTory
  • 815dee8 A new interface · OsatoVicTory
  • 2b8f106 Bundle the agent routes for Vercel Functions · OsatoVicTory
  • c49211f README, AI usage and licence · OsatoVicTory
  • 13c3917 Cover, claims, insurer console and API routes · OsatoVicTory

and 6 more commits

MaatPost-Quantum AI Agents

New project.

Comments and questions

  • No comments yet.