⚖ X3 FORCE FIELD / AGENT COURTREAL CHECKS · SIMULATED MONEY

Raise an agent.
Then put it on trial.

Write your AI agent's rules in .x3, drill it against attacks, let it run a day of real-looking requests, pull its plug if you must, judge every case, and amend its rules. Your goal: pay every real bill and lose nothing.

What is real: the .x3 compiler and the mandate checks decide every request. They run in your browser from x3guard.mjs, the port of Guard's check_mandate that X3Lang's CI keeps identical to the Python adapter. Simulated: the AI model (it writes exactly what a compromised model would), your approvals, and the money. On mainnet, Guard would also verify a signed 1Click quote before anything moves. Nothing is signed or sent.

  1. 01 · BIRTHWrite its lawMandate · Guard on mainnet
  2. 02 · BOOT CAMPDrill itCompiler + red team · offline
  3. 03 · THE DAYLet it workAuthorize · revoke · Guard
  4. 04 · COURTJudge itEvidence, not excuses · design
  5. 05 · EVOLVEAmend the lawVersion 2 · Guard on mainnet
0Bills paid
0Bills missed
0Attacks stopped
0 USDCLost to attackers
01 · Birth

Write the agent's law

Your agent, courier.agent.near, pays bills for you in USDC. It may only do what this mandate says. The agent can't edit it: on NEAR, only you can create, replace or revoke it.

WHO IT MAY PAY

Today's real bills: coffee.near (8), cloud-host.near (45), payroll.near (120).

MOST PER PAYMENT (USDC)
MOST PER 24 HOURS (USDC)
ASK ME FIRST ABOVE (USDC)
THE MANDATE EXPIRES AFTER

The day runs from 9:00 to 17:00. Refunds always go to your wallet, and slippage and fees are capped at 1% and 100 bps.


      
How this maps to the real thing

Same checks, different stakes

StageIn this gameOn NEAR mainnet today
BirthYour choices become .x3, compiled in the browserGuard stores the owner's mandate (create_mandate); invoice_06 ran under one
Boot campThe compiler and the mandate checks against every attackThe same refusals run offline in X3Lang's CI (compiler 9/9, red team 8/8)
The dayThe mandate check decides; you approve; money is simulatedGuard runs these checks plus a signed-quote check; invoice_06 passed 21 of them
RevokeEvery later request fails mandate_activerevoke_mandate, tested in CI and on testnet
CourtFindings from the evidence; the agent's statement changes nothingDesign. Evidence is preserved in public receipts and bundles
EvolveA diff, a new hash and version 2create_mandate bumps the version and voids older intents

The full status of each stage, with what is not built yet: agent law. Where protection ends: Break the mandate.