Skip to content
QORECHAIN
Register

Post-Quantum AI Agents

Qredit

Credit for AI agent businesses: lenders are repaid first, and no stolen key can loosen the rules.

Share on X

About

AI agents can sell services, but nobody lends to a program: the owner could take the money, the agent could spend it on anything after a prompt injection, and nothing forces repayment. Qredit is a credit market for AI agent businesses on QoreChain. Lenders fund an agent's working capital in a LoanVault contract. The agent can spend that capital only on approved suppliers, under limits the chain enforces. Every sale repays lenders first. The owner can never withdraw principal during a loan, and the rules can only be narrowed, never loosened, even with the owner's real post-quantum signature. Qredit runs four agent businesses of its own (counterparty check, sanctions screen, due diligence, contract audit). Each report is sealed with ML-KEM-1024 to the buyer's on-chain key, and payment is released only when the sealed report is delivered.

How it's made

Plan and current state (updated as we build): - Contracts (Solidity, Foundry): LoanVault holds lender fUSD, escrows orders, pays only listed suppliers under per-supplier and daily caps, and splits revenue lenders-first. Policy orders need the owner's ML-DSA-87 signature, checked on chain with the pqcVerify and pqcKeyStatus precompiles; during a loan only narrowing orders are accepted. Unit, fuzz and invariant tests. - Agent limits on chain: the agent's spender key is linked through an authenticator whose spending rule allows only LoanVault.paySupplier (MsgExecuteEVM through a relayer); the agent's operator key works only inside a scoped EVM window (vault only) that needs the owner's ML-DSA-87 signature to open or renew. - Agents: one Mastra agent template with one skill per service, reading the chain through the QoreChain MCP server; it decides which orders to accept and which suppliers to pay within budget. - Privacy: requests and reports are sealed with QoreSeal (ML-KEM-1024 + X25519) to keys registered on chain. - Web app: try it with an in-browser testnet wallet, or connect QoreX. Kits: @qorechain/sdk, @qorechain/evm, @qorechain/qoresign, QoreSeal, MCP server, QoreX integrations.

Timeline

QreditPost-Quantum AI Agents

Pushed 12 commits to main

  • 81b6153 chore(engine): record the four agent businesses deployed on qorechain-diana · AncungAulia
  • c52b42a fix(engine): open each window target once · AncungAulia
  • 61130d4 fix(engine): rewrite env files atomically; private keystore dir · AncungAulia
  • e77b64d fix(engine): never create a second vault; make lend idempotent and windows automatic · AncungAulia
  • 043129b fix(engine): suppliers accept only Qredit vaults · AncungAulia

and 7 more commits

QreditPost-Quantum AI Agents

Newly verified on chain: EVM window (incl. scoped), Hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, Smart accounts and spending rules, Test tokens fUSD, fETH, fBTC

QreditPost-Quantum AI Agents

Pushed 61 commits to main

  • c4d8488 test(be): share one migrated PGlite per test file · AncungAulia
  • 4c82f06 refactor(be): split HTTP routes and middleware · AncungAulia
  • a1d2fd9 refactor(be): move services, chain and db into folders · AncungAulia
  • 7b184d2 refactor(be): split the store by domain · AncungAulia
  • 5bddfbc feat(be): trust only the proxy-appended client address, add body limits and per-ip rate limits · AncungAulia

and 56 more commits

QreditPost-Quantum AI Agents

New project.

Comments and questions

  • No comments yet.