Start

Build

Copy buttons and downloads for everything below: https://agentisium.com/developers

Addresses

Check an order in one request

The read API is JSON over GET with CORS open. It reads the policy on Elysium, takes the mark from HyperCore and asks the deployed Policy.evaluate for the verdict.

curl -s "https://agentisium.com/api/v1/evaluate?market=BTC&side=long&leverage=20"
→ {"verdict":"Refused","code":8,"reason":"LEVERAGE","detail":"20x requested, the licence allows 3x", ...}

From an agent, with viem

Download the quickstart, install viem and run it. It signs an EIP-712 proposal and simulates propose with eth_call, so nothing is sent: https://agentisium.com/snippets/agent.mjs

npm i viem
curl -sO https://agentisium.com/snippets/agent.mjs
node agent.mjs
evaluate: 8 LEVERAGE
propose (simulated): 1 BAD_SIGNATURE

From a contract

PolicyUser.sol creates a policy from the factory, issues an agent key, previews an order and reads the latest verdict: https://agentisium.com/snippets/PolicyUser.sol

For AI agents

A plain-text summary of the protocol, the addresses and the endpoints lives at https://agentisium.com/llms.txt