Skip to main content
Chance understands Orderly Network natively. Submit the exact REST body your agent is about to send — an order, a leverage update, a withdrawal — and the harness will classify it deterministically, verify the symbol against Orderly’s live market registry (mark price, tick sizes, minimum notional, max leverage), and judge it against your mandate with Orderly’s own documentation in the loop — returning a signed verdict whose requestHash binds to those exact bytes.

What gets recognized

For orders, the classifier decodes side, size, price, order type, reduce-only, and margin mode — and computes notional. Because Orderly MARKET orders carry no price at all, it re-estimates the dollar size from the live mark price. The judge reasons over:
That resolution step is what catches the classic perp failures: an agent whose mandate says “max $1,000 per position” sending a MARKET order whose payload contains no dollar figure anywhere; a quantity typed in dollars instead of ETH (off by 1,700x); a leverage update that quietly omits the symbol and re-levers the entire account; a withdrawal whose "1000000" means one USDC — or a million, depending on who’s reading. The classifier decodes the units, the enrichment prices the order, and the judge sees the real number. If a symbol can’t be resolved, the verdict leans ESCALATE rather than trusting the agent’s own description: fail closed, never allow on assumption.

Use it from your bot

Wrap the request you were already going to sign:
venue is optional — Orderly payload shapes (the PERP_*_USDC symbol format, the EIP-712 withdrawal envelope) are auto-detected — and freeform action descriptions still work (mode: "semantic").

Use it from Claude or ChatGPT

Add the hosted connector (https://harness.chance.cc/api/mcp, see Connectors) and give your agent one standing instruction:
Before sending any Orderly Network request — orders, leverage changes, withdrawals, transfers — call verify_intent with my rules as the intent and the exact REST body as the action, with venue: "orderly". Only proceed on ALLOW; on BLOCK or ESCALATE, stop and tell me why.
Agents with Orderly execution tools then get gated automatically; agents without them still give you provable pre-trade checks in chat.

How the harness knows Orderly

The judge works from a versioned snapshot of Orderly’s own docs — order creation and every order-type behavior, algo/trigger orders, order management, margin and leverage mechanics, withdrawals, internal transfers and PnL settlement, authentication, per-symbol order rules, and the full error-code table — plus a curated brief of the venue’s footguns (base-unit vs dollar sizing, the account-wide batch leverage mode, raw-decimal withdrawal amounts, REDUCE margin being the risky direction, cancel-all’s optional symbol filter). Static knowledge is never fetched at verdict time; the only live calls are the public symbol lookups that verify the market exists and price the order at mark, and what they resolve is recorded in the verdict’s hash-chained transcript. Every documentation page the judge consults is chained with its content hash — the receipt proves exactly which knowledge, at which version, informed the decision. See Architecture.

What the receipt adds for Orderly

On top of the standard proof bundle (transcript root, judge signature, onchain anchor), venue-aware verdicts carry venue: "orderly", the actionFamily, the venue actionType, mode: "structured", the knowledge-snapshot version — and the resolved symbol facts (status, mark price at verdict time, tick and notional rules, max leverage), all inside the hash-chained transcript.
Roadmap: escrowed execution — the same contract, but an ALLOW triggers submission by a Chance-held Orderly key and a BLOCK physically never reaches one. The payload-first contract above is forward-compatible with it.