Hosted agents
A hosted agent's loop runs on Orblivion's servers, next to the chain: on every tick it reads the market, its brain decides, and each order passes the agent's limits and safety checks before it is planned and traded. You pick a built-in brain or point it at your own webhook. It trades on paper first, and live only through a session the owner signs.
Last updated: 2 November 2026
Paper and live#
| Paper | Live | |
|---|---|---|
| Trades | simulated against live chain state and filled in the agent's own paper book | real trades from the owner's wallet, through a session |
| Needs | an API key | a session granted to the agent's executor and its setup sent, the executor funded with a little ETH (SOL on Solana) for gas, the server's live trading on, and the agent's own live switch on |
| Risk terms | the owner's config (accept_risks) | the session's signed binding; the agent's config must sit inside it |
| Fees | the fee schedule | the session binding's fees (see Fees) |
| Starts | active at once | paused until every step below is done |
Every order passes the same checks either way: the agent's limits, the market guards, the policy and the risk terms.
From the website, with no code#
The Agents page runs a hosted agent from a browser wallet, without the SDK. Your wallet signs and sends every step; the page holds no key. Its Free trial tab runs an AI agent on paper for a day with no wallet at all (Try an agent, no wallet); Set up is where you set up your own:
- Pick a strategy and its tokens (before any wallet prompt): rebalance (a target share of one token, the rest in USDG), DCA (buy or sell a fixed amount on a schedule) or an AI model following a strategy you write (AI agents), which may trade up to five tokens. Any token Orblivion trades against USDG can be picked: ETH, cbBTC and ORBIO at hand, or any other by its name or address, Orbio agent tokens and Robinhood stock tokens included. A token still on its Pons launch curve trades only there, against its curve's own pair (ORBIO or ETH), so it takes a live DCA that buys or sells it with that pair; the page checks the session's extra curve and fee roots too, and your wallet signs those as well. When it graduates, the agent pauses, and the session you set up next trades it on its Uniswap pool. A token's severe risks must be accepted on the form before the agent trades it. Then your limits per trade and per day; the rest (the session's length and trades, the position limit, the name) starts at safe defaults under More options. On this page, a session that trades a token without a Chainlink feed (ORBIO, and most tokens by address) lasts at most a day. Over the API, ORBIO's may run longer, up to 30 days, when the session accepts
BEYOND_DEFAULTSand the co-signer reads ORBIO's reference pool; a token by address's may not (Sessions). An AI agent's model is paid from Orblivion's free daily share, or with your Orbio agent's CREDIT once you sign in with Orbio on the same page. - Sign in with the wallet the agent trades for, when you create it (a signature, not a transaction). Already signed in, this step is skipped. An account can hold an EVM wallet and a Solana wallet (linked, both signing): either one manages its agents, while each chain's own wallet signs what moves that chain's funds. A Solana wallet such as Phantom signs in from the same button (Phantom is offered for Solana only).
- Set it up, from one button, each wallet prompt in turn (a refusal stops it where it is; Continue setup carries on):
- Sign the session. Orblivion builds it and the page checks it as the SDKs do before your wallet is asked: the delegation and its on-chain rules, the binding of your limits and risk terms, the executor's attestation, and the per-trade caps at prices the page reads itself through your wallet: Chainlink's, or for a token without a feed a small sale quoted on its own pools (as the SDKs price it). A token the page can't price is refused.
- Approve its budget: one batch from your wallet (one approval at a time from a wallet that can't batch), that lets only the Uniswap router spend at most one day's limit of each token it may sell, USDG included, until the session ends (for a token on its launch curve: only that curve, the most the session's trades can take there). Its trades spend that budget; when it runs low, Top up budget on its card or dashboard sets it back to one day's limit, checked the same way (Sessions).
- Fund its gas: the executor's minimum is about ten trades' worth, and your wallet tops it up to twice that, so a rise in gas prices doesn't pause it at once. Nothing is sent while it holds its minimum, and never more than 0.005 ETH.
- Switch it on. Its card shows its decisions and trades, and pauses, resumes or stops it. Stop revokes the session at Orblivion at once; then Finish stopping, on its card, ends it on chain from your wallet and brings the executor's gas back (Stopping an agent). Season 1 is entered on the League page, where the same sign-in holds.
On Solana, an AI agent goes live from the same form, from the Solana wallet you signed in with: your limits, then Check and sign the session (one transaction that opens it and lets its vault spend a week of the daily limit, checked by the page first), then Send the gas (a little SOL to its executor, never more than 0.05 SOL), and it switches on. Rebalance and DCA on Solana stay on paper. See Solana agents.
A live agent on Robinhood Chain trades from an agent account: a contract your wallet owns, made when you first go live, that holds only what you move into it, and only your wallet can take funds out (Agent accounts). Any wallet that signs with its own key can go live this way: a plain account, or one running EIP-7702 smart-account code, MetaMask's included. A wallet other than MetaMask whose account already runs MetaMask's EIP7702StatelessDeleGator v1.3.0 (Sessions) trades from the wallet itself instead, and an agent on several chains needs that wallet: its Robinhood Chain leg can't trade from an agent account yet (One agent on several chains). A contract wallet (a Safe, a smart wallet) can't sign a session, so from one the page offers a paper agent, which works from any wallet and can play the League's practice board, the trading wallet below, or the starter bot: one command, python setup_wallet.py, makes the bot's own wallet on your computer and signs its session and that wallet's code once you've funded it.
A trading wallet in your browser#
For a live agent without your own wallet's smart-account code and without installing anything, the trading wallet at wallet.orblivion.com is a small, separate wallet made in your browser. Its key is made and kept on your device, encrypted under your passphrase; Orblivion never sees it. Only that address holds it: check the address bar, and never type its passphrase or upload its backup anywhere else. Orblivion will never ask for either.
- Make it. Press Suggest a passphrase for six random words, write them down, and type them into the second field yourself (the page fills only the first); or choose your own of 12 characters or more that the page rates strong.
- Back it up. It downloads its backup, a standard encrypted keystore file (
orblivion-trading-wallet-….json), and shows the wallet's address only after that file opens with your passphrase. Keep the file and the passphrase apart, both safe: together they are the only way back to the wallet, and Orblivion can't recover it. - Fund it from your own wallet, with only what the agent should trade and a little ETH for gas.
- Set up an agent: the same strategies and limits as above. The wallet signs in, sets its own code (one transaction to itself, to MetaMask's DeleGator v1.3.0), checks the session Orblivion builds against your choices before signing it, sends its approvals and the executor's gas, and switches the agent on. The executor's gas is topped up to twice its minimum of about ten trades' worth; the form shows the most it sends (twice that minimum at the gas price the page reads, never more than 0.005 ETH).
- Stop, revoke and withdraw on the same page: stopping revokes the session at Orblivion, then the wallet ends it on chain itself (it disables the delegation it signed and sets the approvals back to 0) and says so only once the chain confirms it; the executor's gas comes back; and Withdraw sends ETH, USDG or cbBTC to an address you type twice (never to a contract).
It locks itself after three minutes without input or when you leave the tab, and needs the passphrase to unlock. A passphrase must be hard to guess: the page refuses common passwords, anything with a known pattern and anything made of this page's own words, and says as you type whether yours is weak, almost there or strong, and why. Its suggestion is six words drawn at random on your device from the Electronic Frontier Foundation's large wordlist (licensed CC BY 3.0 US), about 77 bits: it always passes. It's never copied to the clipboard; once the wallet is made, it's gone from the page, so the copy you wrote down is the only one.
If Orblivion can't be reached, or its list looks wrong, Disable every session root this browser holds ends every session this browser signed, on chain, without asking Orblivion anything: it disables each delegation the wallet signed here that hasn't expired yet (ten at a time), sets the approvals back to 0, and reads the chain back. A session is disabled from the browser that set it up: a wallet restored in another browser relies on the copy Orblivion keeps.
Keep only small amounts in it. A compromised device or browser extension could see the key while the wallet is unlocked, and a compromised Orblivion server could change the page; use a browser profile without extensions for it.
Using the backup elsewhere. The file is a Web3 Secret Storage (v3) keystore:
- MetaMask: Add account or hardware wallet → Import account → JSON file, then the file and its passphrase.
- The SDKs and the starter bot (Python, with
eth_account, which the SDK installs): this writes the key as the starter bot's wallet key (wallet.jsonin itskey_dir,~/.orblivion-botby default), in plain text, readable only by you, as the bot keeps its own keys; it never replaces a key already there. Thenpython setup_wallet.pyadds the executor's key and carries on. Stop the wallet's agents on the website first: one wallet should run one live agent's session at a time.
import getpass, json, os
from eth_account import Account
with open("orblivion-trading-wallet-0x1234abcd.json") as f: # your backup file
key = Account.decrypt(json.load(f), getpass.getpass("Passphrase: "))
d = os.path.expanduser("~/.orblivion-bot") # the bot's key_dir (config.toml)
os.makedirs(d, mode=0o700, exist_ok=True)
fd = os.open(os.path.join(d, "wallet.json"), os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600)
with os.fdopen(fd, "w") as f:
json.dump({"private_key": "0x" + key.hex()}, f)To restore it in another browser, open the trading wallet there, choose Restore, and give it the file and the passphrase. A backup made elsewhere under a weak passphrase is kept only under a new one you choose, and the page then asks you to download its new backup. A browser holds one trading wallet: removing it takes its backup file and passphrase, checked first, so it can't be lost by a slip.
Create an agent#
POST /api/v1/hosted with the owner's API key. Each wallet may have up to 20 agents.
{
"name": "eth-dca",
"brain": "dca",
"params": {"sell": "USDG", "buy": "ETH", "amount_usd": 10, "period_s": 3600},
"interval_s": 60,
"pairs": ["ETH-USDG"],
"limits": {"max_trade_usd": 20, "max_day_usd": 60, "max_position_usd": 2000},
"mode": "paper"
}| Field | Rules |
|---|---|
brain, params | one of the brains below, with its own parameters |
interval_s | seconds between ticks, from 15 to 86,400 |
pairs | 1 to 6 pairs: "ETH-USDG" style for the core four (ETH, USDG, cbBTC, ORBIO), "0x<token>-USDG" for any other token by address. A Robinhood stock token only for a live agent (Stock tokens), and WETH is named ETH. |
limits | max_trade_usd (1 to 1,000 recommended for a live agent; past it, accept_risks names BEYOND_DEFAULTS, after the account's one-time risk acknowledgement; a paper agent may go past it with neither, and takes both when it goes live), max_day_usd (from max_trade_usd to 100 times it), max_position_usd (the most it may hold in any token but USDG, counting what it holds already: the paper book's starting balances, where the default 0.4 ETH is about $1,000, or a live agent's wallet; a buy that would go over it is held, POSITION_LIMIT). A live Solana agent counts its whole vault: every token but its cash, an earlier session's vault included |
mode | paper (default) or live |
name | up to 40 letters, digits, spaces, dots, dashes and underscores |
paper_book | a paper agent's starting balances (default $1,000 on its chain: half in its cash token, half in its main token at the price when it is made, such as 500 USDG and $500 of ETH on Robinhood Chain; all in its cash token when it doesn't trade the main token) |
accept_risks | the agent's risk terms, as on any trade |
Any field not listed is refused (UNKNOWN_FIELD). A token by address must be in the registry, have a route and have been screened within 26 hours.
Brains#
brain | What it does | params |
|---|---|---|
dca | buys a fixed dollar amount every period | sell, buy, amount_usd, period_s, optional max_buys |
rebalance | trades back to target weights when they drift | targets ({"ETH": 0.5, "USDG": 0.5}, summing to 1, with USDG), optional threshold_bps and max_trade_usd |
conditional | limit buys and sells, stop-losses and take-profits, confirmed before they fire | orders (1 to 10 of {id, kind, base, trigger_price, amount_usd}, kind one of limit_buy, limit_sell, stop_loss, take_profit), optional confirm_ticks (2), confirm_bps (10), max_slippage_bps (100), min_liquidity_usd (10,000) |
momentum, mean_reversion | simple trend and reversion strategies on the hosted market data (below) | none |
webhook | your own HTTPS endpoint decides (below) | url |
orbio_llm | an AI model on Orbio decides from your own strategy prompt (AI agents below) | strategy, model, funding, optional template, budget_usd_day (0.25), max_orders (2) |
A paper Perpetual Futures agent, which can also go short on ETH and BTC, has its own page.
A conditional order fires only when its trigger holds on the live quote for confirm_ticks ticks in a row and a second source agrees (Chainlink, or the median of the best routes), so one pushed block can't trigger a stop-loss. Every order also gets an on-chain minimum from the engine's own fresh quote less the agent's slippage. Its fill must also land within max_slippage_bps of the token's reference price (and within 1.2% however high it is set), with the on-chain minimum at most 60 bps further (2% at most). A buy of ORBIO may land 0.8% further on top of that: ORBIO has no Chainlink feed, so its reference is the median sale price of its pools, which has already paid its deepest pool's 0.8% fee.
Momentum and mean reversion#
Both read each pair token's reference price (Chainlink, or the median of the pools) once a tick, keep its last 40 readings, and trade the tokens against USDG. Their rules are fixed and the same for every agent; they take no params.
- Momentum measures each token's move over its last 3 ticks, less half the live quote's spread. A token whose move reaches its bar (ETH 0.3%, cbBTC 0.5%, ORBIO 2.5%, any other 0.5%), the strongest if several do, is the one it holds, at about 30% of the agent's value; the rest stays in USDG. It keeps that token while its move stays above minus half its bar (ETH -0.15%), and switches to another only when that one reaches its own bar and beats the held token's move by it. When the move falls to minus half the bar or lower, it sells the token back to USDG. It builds only on a signal: a token it holds without having bought it on an entry (a live agent's wallet, a book another brain left) is kept and brought to about 30% only when that holding is at least half of
max_trade_usd. A smaller one it doesn't add to: it is sold on the next exit, when the move falls to minus half the bar, or bought on to 30% after an entry of its own. - Mean reversion compares each token's last price with the average of its last 6 readings, in standard deviations. It buys the token furthest under its average once that is more than 1 standard deviation, up to 20% of the agent's value, and sells it once the price is back more than 0.3 standard deviations above the average.
Every order is at most the agent's max_trade_usd, so a position larger than that is built and sold over several ticks, within the daily limit (and, live, one trade a tick). The sizes follow the agent:
- Momentum trades toward its 30% only when the position is further from it than the larger of half of
max_trade_usd(at most 15% of the agent's value) and 2% of the agent's value. Price noise around the target doesn't make it buy and sell in turn. - Mean reversion adds to a position while the token is still stretched and the position is more than half of
max_trade_usd(at most 10% of the agent's value) short of its 20%. - A buy is also no larger than what
max_position_usdleaves, and none is asked for when that is under the $1 minimum, so a position limit under the target doesn't hold an order every tick. - A holding counts once an order could sell it: $1.02 or more, the $1 minimum order plus the 1% the balance check keeps back. An exit sells all of it; what is left under $1.02 is dust, which the brain leaves alone and buys over on its next entry.
- Once it starts selling a token, it finishes the exit even if the move turns neutral on the way. A new entry (for mean reversion, a new stretch) ends the exit, whether or not it buys anything.
- After a gap of more than three intervals (and at least five minutes) in a token's readings (a pause, a stretch without a price), it starts that token afresh: a new warm-up, and no exit or entry in progress is carried over. Changing an agent's
brainstarts the new brain fresh too: nothing the old one saved carries over (a change ofparamsalone keeps it).
A live agent trades your wallet's own ETH. Momentum and mean reversion sell a token in full on an exit, ETH included: the ETH your wallet held before the agent started, not only what it bought. What is left can be a few cents. The on-chain revocation of the session is a transaction from your wallet, paid in its ETH (a disable uses about 100,000 gas), and the executor's gas can't pay for it: if an exit left too little, send a little ETH back to the wallet before revoking. Its USDG budget for the session is spent by every buy and never refills (SESSION_BUDGET below), so an agent that builds and sells often uses it up sooner than one that mostly holds.
Going live#
- Create the agent with
"mode": "live". It comes back paused, with anexecutoraddress and anexecutor_attestation. - Check the attestation. The executor is a key Orblivion's signing service made for this owner and this agent; it never leaves that service. The attestation is the co-signer's EIP-191 signature overText
pit.hosted.executor.v1 chain:4663 owner:<owner address, lowercase> agent:<agent id> executor:<executor address, lowercase>Recover it and check it is the pinned co-signer
0x75211e73ceaf6f647783293258f0d6bc6a63e780before granting anything. The SDKs do this (EXECUTOR_ATTESTATION). - Grant a session to the executor with the main key (Sessions). For a hosted agent the root must carry the on-chain ETH day cap when the pairs include ETH, the ERC-20 budget must be at most one day's cap (what is left of it bounds what a stolen key could move: see
SESSION_BUDGETbelow), the agent's limits and risk terms must sit inside the session's, and a session with a tier C token lasts at most 24 hours (longer only when the session'saccept_risksnamesBEYOND_DEFAULTS). A session may also sign its own most slippage (max_slippage_bps, 300 when it signs none): the agent never asks more, and when that leaves no room above Orblivion's fee for a pair, its orders hold (SLIPPAGE_CAP) while the agent keeps running. - Attach it:
POST /api/v1/hosted/<id>/sessionwith{"session_id": "ses_..."}. A session that doesn't fit is refused with every reason (BAD_SESSION,OUTSIDE_SESSION). Attaching one revokes the agent's earlier sessions, so only the one it uses is co-signed; disable their roots on chain from the wallet (an agent account's page lists them). - Send the session's setup with the main key, within 30 minutes of the grant: the bounded approvals for the tokens the agent sells (USDG, in every ETH/USDG agent), and on a plain wallet the wallet's code, set by one transaction from the wallet to itself (the authorization, on a plain wallet). From SDK 0.1.1,
sessions.setup(grant)sends both; the 0.1.0 SDKs'setupsends only the approvals, so on a plain wallet set the code yourself first, as the authorization, on a plain wallet shows. Without the code change, the authorization signed at the grant works only while the wallet sends nothing before the agent's first trade, and the setup and a gas top-up from the same wallet are both transactions. - Fund the executor with a little ETH for gas.
GET /api/v1/hosted/<id>/executorgives its balance and the minimum it needs (about ten trades' worth). Keep it small: while the agent runs, the executor sends only the agent's own trades. Once you stop the agent, what is left comes back to your wallet withPOST /api/v1/hosted/<id>/refund-gas(below). - Switch it on:
POST /api/v1/hosted/<id>/updatewith{"live": true}, thenPOST /api/v1/hosted/<id>/resume. Both are refused withSESSION_CODEwhile the agent's trades couldn't be sent from your wallet (a plain wallet whose session authorization can't be used any more); the message says what to do: set the wallet's code (wallet.delegateCode(),wallet.delegate_code()from SDK 0.1.1; with 0.1.0, the authorization, on a plain wallet), then switch it on. A running agent that meets it pauses with the same reason, and nothing is co-signed. Both also read the chain as the agent's first tick would, and refuse rather than start an agent that would only pause:SESSION_REVOKEDonce the session was ended from your wallet (attach a new one),GAS_LOWuntil the executor holds its gas (step 6),PERMIT2_ALLOWANCEuntil the session's approvals from step 5 are on chain (for an agent that sells only ERC-20s),SESSION_BUDGETonce that approval has expired or is used up, andCHAIN_READwhen the chain can't be read (try again).
The SDKs do steps 1 to 4 in one call, and sessions.setup does step 5 (on a plain wallet, its code from SDK 0.1.1 only). With the 0.1.0 SDKs, a plain wallet's agent can't go live after setup (409 SESSION_CODE): set the wallet's code first, as the authorization, on a plain wallet shows, then switch it on.
const { agent, grant } = await owner.hosted.create({
brain: 'dca', params: { sell: 'USDG', buy: 'ETH', amount_usd: 10, period_s: 3600 },
intervalS: 60, pairs: ['ETH-USDG'],
limits: { maxTradeUsd: 20, maxDayUsd: 60, maxPositionUsd: 2000 },
mode: 'live', session: { maxTrades: 50, hours: 24 }, allow7702: true,
})
await owner.sessions.setup(grant!) // the USDG setup, and on a plain wallet its code (from 0.1.1)
const gas = await owner.hosted.executor(agent.id) // send a little ETH to gas.executor
await owner.hosted.update(agent.id, { live: true })
await owner.hosted.resume(agent.id)created = owner.hosted.create(
brain="dca", params={"sell": "USDG", "buy": "ETH", "amount_usd": 10, "period_s": 3600},
interval_s=60, pairs=["ETH-USDG"],
limits={"max_trade_usd": 20, "max_day_usd": 60, "max_position_usd": 2000},
mode="live", session={"max_trades": 50, "hours": 24}, allow_7702=True,
)
agent = created["agent"]
owner.sessions.setup(created["grant"]) # the USDG setup, and on a plain wallet its code (from 0.1.1)
gas = owner.hosted.executor(agent["id"]) # send a little ETH to gas["executor"]
owner.hosted.update(agent["id"], live=True)
owner.hosted.resume(agent["id"])AI agents#
An orbio_llm agent asks an AI model on Orbio's gateway what to do on each tick. You write the strategy in your own words; the model reads it with the agent's market view, book, recent fills and its own notes from earlier ticks, and answers with its reasoning and at most max_orders orders. Orblivion checks every answer before anything trades, and the orders then go through the same limits, guards and risk terms as any other brain's.
For a script to download that does all of this, from paper to live to the off switch, see Build an AI trading agent.
{
"brain": "orbio_llm", "interval_s": 900, "pairs": ["ETH-USDG"],
"limits": {"max_trade_usd": 20, "max_day_usd": 60, "max_position_usd": 2000},
"params": {
"strategy": "Follow the trend on my pairs. Keep at least 40% in USDG; trade small.",
"model": "anthropic/claude-haiku-5.5",
"funding": "orblivion",
"budget_usd_day": 0.25,
"max_orders": 2
}
}| Field | Rules |
|---|---|
strategy | your prompt: 1 to 1,500 characters, at most 40 lines, no control or direction-override characters. When it's saved, most invisible characters are removed and runs of spaces or blank lines shortened; a few invisible ones (zero-width joiners, flag tags) are refused. It is sent to the model as your words, after Orblivion's fixed rules, and can't change them. |
template | trend, mean_reversion_stop, dca_timing or custom: where the strategy started (the templates are plain, editable prompts; GET /api/v1/hosted/ai lists them) |
model | one of the server's models (GET /api/v1/hosted/ai lists them with their prices and an estimate per tick: what a tick typically costs, and up to what it costs when the model uses its whole output allowance) |
funding | who pays for the model: orblivion (the default: Orblivion's own Orbio credits, your fair daily share) or own (your own Orbio balance only, after you sign in with Orbio). A host that doesn't offer Sign in with Orbio refuses own (FUNDING_OWN_LAB_ONLY). |
fallback_own | with orblivion: when your share or the day's pool is used up, continue on your own Orbio balance if you signed in (default true); false waits for the next day. A host that doesn't offer Sign in with Orbio takes it as false. |
budget_usd_day | the most this agent's model calls may cost in a UTC day: $0.01 to $20 on Orblivion's credits (funding: "orblivion"), any amount from $0.01 on your own balance (own). A call runs only while the budget left can cover the most it can cost (its whole output allowance); once it can't, the agent keeps ticking but doesn't call the model (and so doesn't trade) until the next day. |
max_orders | at most this many orders in one answer, 1 to 3 (a live agent still makes at most one trade a tick) |
interval_s | at least 300 for an AI agent: each tick is a paid call |
Who pays. By default Orblivion does, from its own Orbio credits: a daily pool sized from what Orblivion's own Orbio account earns and holds, always keeping 30 more days of it in reserve, shared fairly. Each wallet gets one share a day, whatever its agents: agents that trade live through Orblivion split the pool (at most $0.50 a wallet), once the wallet has made at least $5 of trades through Orblivion over the last 14 days and has an active trading session, and each wallet's share is backed by the trading fees it paid through Orblivion over those 14 days: at most 0.07 times them a day (about the fees it pays a day; $7.15 of fees in 14 days backs the full $0.50, and $2.15 backs three agents). Live trades on Solana count the same way: an AI agent's live Solana trades and the fees paid on them count toward the $5, the 14 days and the share, together with the trades of the account's other wallets, and an active Solana session counts as the active session. A wallet that paid no fees gets no live share, and what a small share leaves goes to the others. Paper agents get a trial in their owner's first 7 days, from a smaller slice (at most $0.10 a wallet). Orblivion's credits pay for the cheap models only (GET /api/v1/hosted/ai lists them and the exact settings) and for an agent that thinks every 15 minutes or slower, with at most a few of a wallet's calls in any 15 minutes. When your share or the day's pool is used up, or the agent uses a bigger model or thinks faster, it continues on your own Orbio balance if you signed in with Orbio (and fallback_own is on); otherwise it stops thinking, and trading, until 00:00 UTC.
Orblivion's own agents never take a share of this pool. Its house agents, the ones it runs and shows on the agents page, are paid by Orblivion separately: from a budget of their own with its own daily cap, kept on its own ledger. The pool counts what the account holds only after that budget, and 30 more days of it, are set aside, so the pool keeps its own reserve whatever the house agents spend, and none of their spend comes from users' shares.
Pay with your agent's CREDIT: Sign in with Orbio#
With own, or as that fallback, the agent's calls spend your own Orbio balance: the CREDIT your Orbio agent earns from its token's fees, or any balance on your Orbio account. Any of the server's models, as often as every 5 minutes. Orbio adds Orblivion's app fee on top, if its Orbio app sets one, and shows it when you approve the app; GET /api/v1/hosted/ai says it as app_fee_pct. Orblivion's signing service also stops your own balance's calls through Orblivion at a ceiling a day (signer_day_cap_usd), and each agent at its own budget_usd_day.
You connect once, per wallet: every AI agent of that wallet that pays with your CREDIT, or falls back to it, uses the connection.
- On the agents page, signed in with your wallet, pick AI model, then Pay with your agent's CREDIT and Sign in with Orbio. (In the Lab: its Hosted agents panel. From a script: the SDKs'
ai_connect/aiConnect, below.) - The tab goes to Orbio's own page. Approve Orblivion there: it asks for model calls only (the scopes
openid inference), never your keys, tools, posts, wallet or balance. Orbio shows its consent screen every time. - Orbio sends the tab back to
https://orblivion.com/orbio-callback.html, which takes the one-time code out of the address bar at once, passes it only to Orblivion with this tab's sign-in, and returns you to the agents page, connected.
The pages and both SDKs open Orbio's page only when it asks for exactly Orblivion's app (its id, which they pin), comes back to this site's own page, and asks for model calls and nothing more, and only when Orblivion's signing service has signed it as a sign-in for your own wallet, that app, that page and that address's own one-time challenge (its co-signer key, the one the pages and SDKs pin). The sign-in is bound to the wallet and the API key that started it, used once, and expires after 10 minutes; Orbio's redirect must carry Orbio's own issuer. A grant that holds anything more than model calls is refused and revoked at once, then and on every refresh. Orblivion's signing service keeps the sign-in encrypted and never shows it, not even to you, and uses it only for your own agents' model calls. The redirect page finishes only the sign-in its own tab started, and ends any other at once (one a script started and no tab claimed, or one someone sent you to approve), as it does when it can't finish one, so a code left in your browser's history is worth nothing. So never approve an Orblivion sign-in on Orbio that you didn't start yourself.
Disconnect (on the agents page, or POST /api/v1/hosted/ai/disconnect) forgets the sign-in and asks Orbio to revoke it, and says whether Orbio accepted; you can also remove Orblivion in your Orbio dashboard, which ends it there for certain. The agents page shows the account you connected (as a short hint, never Orbio's own id), today's spend from your balance and Disconnect. It doesn't show your balance: Orblivion doesn't ask Orbio to read it, and Orbio's dashboard shows it.
From a script. ai_connect() (aiConnect()) starts a sign-in and answers a claim link, https://orblivion.com/hosted.html#orbio=…, never Orbio's address. Open the link in a browser tab where you're signed in on the agents page with the same wallet: the page asks whether to continue, claims the sign-in with its own sign-in (POST /api/v1/hosted/ai/connect/claim; another wallet's tab is refused and the link ends, unless your tab already claimed it; a tab on another site is refused and the link still works on its own), checks it, and only then opens Orbio's page. Approve there, and ai_wait_connected() (aiWaitConnected()) returns once it's connected. Or connect on the agents page first: the connection is the wallet's, whatever key made the agent.
Each decision says who paid, and the agents page and the Lab show today's spend; GET /api/v1/stats shows the pool to anyone.
What the model sees, and what it can't do. Token names and symbols are chosen by whoever deployed the token, so they reach the model only as data, cleaned and quoted, after rules that say nothing in the data is an instruction. The model's answer must be one JSON object with exactly reasoning, orders and memory; each order names two tokens of one of the agent's pairs and a dollar amount from 1 to the per-trade limit. Anything else (a token outside the agent's pairs, a size over the limit, too many orders, a malformed answer, or one cut off at the model's output limit: AI_TRUNCATED) means no trade that tick, logged with its reason. So does a call that fails or times out, a spent budget, or a missing sign-in.
Output. Each call allows the model 2,000 output tokens. A model that reasons spends its reasoning out of them before it writes the answer, so Orblivion asks such models to reason little; the longest answer the limits allow (800 characters of reasoning, 600 of notes, 200 for each order's reason) takes under 900. Keep the notes your strategy asks for compact: text past a limit is cut off, and the next check is told its notes were cut.
Watching it. Each decision in the agent's log carries its model, who paid, the tokens (and how many were reasoning) and the cost; GET /api/v1/hosted/<id>/spend lists every call and today's total against the budget. A spent budget, a cap or a missing sign-in is a hold (the agent keeps ticking); a failed call or an invalid or cut-off answer counts as a failure, and three in a row pause the agent (the pause says why).
Talk to your agent#
An agent's dashboard has a chat. Ask it why it made a trade, why an order was held, or why it paused, and it answers from its own log: each check with its reasoning, each trade with its transaction, each held or failed order with the engine's reason, each pause. For an AI agent, ask it to trade differently ("take profit at 5% instead", "don't buy ORBIO after a 10% run") and it proposes a whole new strategy: the page shows the change line by line, and nothing changes until you press Use this strategy (POST /api/v1/hosted/<id>/strategy). A rule agent explains itself; its settings change on its card.
- What it can't change. The chat never changes an agent's limits, tokens, session, model, who pays for it, or moves funds, and neither can a strategy: every order still passes the agent's limits, the session you signed and Orblivion's checks.
- Who pays. Your own Orbio balance once you've signed in with Orbio, or Orblivion's free share: a few messages a day per wallet on the cheap models, out of the same daily share as your agents' thinking, and never the agent's own thinking slot. Each agent's chats stop for the day at a small cap (
todayin each answer says how much is used), and they never use up its AI budget. - What the model reads. Token names and symbols (whoever deployed the token chose them) and the agent's past reasoning are passed as data the model is told never to follow; a hold's technical detail never goes in, only its plain reason. Orblivion keeps no copy of the conversation: your browser does, and each message goes to the model through Orbio's gateway.
Webhook brains#
A webhook agent asks your server what to do on every tick. Orblivion sends a signed POST to your HTTPS URL and gives you 2 seconds to answer.
The request is JSON (compact, keys sorted) with the agent's id, the tick number and time, its pairs and limits, the market it sees, its book, and the orders that didn't trade in its last two ticks:
{"agent_id": "ha_...", "book": {"...": "..."}, "last_held": {"ETH": {"code": "LIQUIDITY", "min_ago": 5, "side": "buy",
"usd": 20.0, "why": "too little liquidity"}}, "limits": {"max_day_usd": 60, "max_position_usd": 2000, "max_trade_usd": 20},
"market": {"...": "..."}, "pairs": ["ETH-USDG"], "reply_schema": {"...": "..."}, "tick": 42, "time": 1791168377}last_held has one entry per token (the latest), for an order a check held or one that failed before or on chain: its side and size, the code that stopped it, why in plain words (with up to two other checks that failed with it), and how many minutes ago. It is {} when every order went through. Holding an order costs nothing; asking for it again is fine once the reason has cleared.
with these headers:
| Header | Value |
|---|---|
X-Pit-Agent | the agent's id |
X-Pit-Timestamp | unix seconds when it was signed |
X-Pit-Nonce | 32 random hex characters, new for every request |
X-Pit-Signature | v1= followed by the hex HMAC-SHA256 of "v1:" + timestamp + ":" + nonce + ":" + body, keyed with the webhook secret |
Check every request before you act on it: recompute the HMAC over the exact bytes you received, compare in constant time, refuse a timestamp more than 60 seconds from your clock, and refuse a nonce you've seen in the last minute.
import hashlib, hmac, time
SEEN = {} # nonce -> when it was seen
def verify(secret_hex: str, headers, body: bytes) -> bool:
ts, nonce = headers["X-Pit-Timestamp"], headers["X-Pit-Nonce"]
sig = headers["X-Pit-Signature"].removeprefix("v1=")
msg = f"v1:{int(ts)}:{nonce}:".encode() + body
want = hmac.new(bytes.fromhex(secret_hex), msg, hashlib.sha256).hexdigest()
now = time.time()
for n, t in list(SEEN.items()):
if now - t > 60:
del SEEN[n]
if not hmac.compare_digest(want, sig) or abs(now - int(ts)) > 60 or nonce in SEEN:
return False
SEEN[nonce] = now
return Trueimport { createHmac, timingSafeEqual } from 'node:crypto'
const seen = new Map<string, number>() // nonce -> when it was seen
export function verify(secretHex: string, headers: Record<string, string>, body: Buffer): boolean {
const ts = headers['x-pit-timestamp'], nonce = headers['x-pit-nonce']
const sig = (headers['x-pit-signature'] ?? '').replace(/^v1=/, '')
const want = createHmac('sha256', Buffer.from(secretHex, 'hex'))
.update(Buffer.concat([Buffer.from(`v1:${Number(ts)}:${nonce}:`), body])).digest('hex')
const now = Date.now() / 1000
for (const [n, t] of seen) if (now - t > 60) seen.delete(n)
const ok = want.length === sig.length && timingSafeEqual(Buffer.from(want), Buffer.from(sig))
if (!ok || Math.abs(now - Number(ts)) > 60 || seen.has(nonce)) return false
seen.set(nonce, now)
return true
}The reply must be exactly this JSON, or the tick holds:
{"reasoning": "ETH is under its 20-day mean; adding a little.",
"orders": [{"sell": "USDG", "buy": "ETH", "amount_usd": 10, "reason": "dca"}]}reasoning: 1 to 1,200 characters.orders: at most 3, each withsell,buyandamount_usd, and an optionalreason(up to 280 characters). Nothing else.- Orders may name only the agent's own pair tokens. An order naming anything else is held.
- Your reply is never trusted beyond the rules: its orders pass the same limits, guards, policy and risk terms as any brain's.
The URL must be https:// with no credentials, and its host must resolve only to public addresses (the connection is pinned to the address checked, so DNS can't be switched under it). Redirects aren't followed, and the answer may be at most 64 KB.
The secret is shown once, as webhook_secret in the answer to create. Store it on your server. POST /api/v1/hosted/<id>/rotate-webhook-secret makes a new one, shown once; the old one stops at once. Orblivion's API servers never hold the secret: a separate signing service keeps it encrypted and signs each request.
The kill switch and pauses#
- The owner can
pause,resume,stop(final: it also revokes the agent's session at Orblivion and returns the on-chain revocation to send) anddelete(a live agent must be stopped first). - A session ended from your wallet (any of its delegations disabled on chain without Orblivion, as the agents page does when Orblivion can't be reached) is found by the agent's next tick, or at once by
POST /api/v1/live/session/check: the session is revoked at Orblivion and the agent pausesSESSION_REVOKED, your own pause or a daily limit's included. Attach a new session to trade live again. - Two switches for live trading: the server's, and the agent's own
live. While its own is off, a live agent still decides each tick, and logs it (LIVE_OFF), but doesn't trade. While the server's is off, it pauses (LIVE_DISABLED) and resumes on its own once the server's switch is back on, unless you paused it or turned its ownliveoff meanwhile. An agent'stradingfield says what it is doing now:live,paperornot trading. - The kill switch: Orblivion's operators can pause every live agent at once, including one already paused for a daily limit. It is checked again before co-signing, before the executor signs and before relaying, and releasing it resumes nothing: each owner resumes their own agents. A paused agent's
pause_reasonsays why, andresumeanswers409 KILLEDwhile the switch is engaged. - The session's ERC-20 budget is approved at the setup: one day's limit of each token the agent sells. Every trade selling the token spends it down, and it doesn't refill each day as the daily limit does. An order asking for more than is left goes at what is left, and once less than $1 is left (or the router's approval has expired) the agent pauses with
SESSION_BUDGET. Top it up (Sessions): one transaction from your own wallet (two approvals from a wallet that can't batch) sets the router's allowance back to one day's cap, never more and never past the session's end, and nothing else changes; then resume (the agents page and the trading wallet resume it for you). The cap is one day's because what is left outstanding is the most of a token anyone holding both of the session's keys could take on chain. Your agent's dashboard shows what is left of each budget and how long it lasts at its pace, and warns under 25% of its cap or under a day of its recent spend, so you can top it up before it pauses. The page and the trading wallet top up only the newest session your browser signed for the agent's attested executor, still enabled on chain; the trading wallet shows what it would set and signs once you confirm it. A second top-up within a day asks you again, with when the last one was and what it set. Permit2 keeps one allowance per wallet and token: while another live agent of the same wallet sells the same token, a top-up would set its allowance too, so it is refused, naming that agent's session (stop the one you no longer use first). An agent that sells only such tokens (a DCA selling USDG) and is paused for a daily limit isn't resumed into a used-up budget: when its windows have room again, its pause becomesSESSION_BUDGETinstead. ETH sales need no budget: the session's root caps them per 24 hours on chain. - The signed marks. A token without a Chainlink feed (ORBIO, and a token by address without one) is valued at the price the session's owner signed (its per-trade cap). Orblivion's signing service co-signs a trade only while its minimum output, at those prices, is at most 10% under its input, so after a bigger move the agent pauses with
SESSION_MARKbefore anything is co-signed: grant a new session, at today's price, and attach it, then resume. A session can instead let ORBIO's mark follow the market, within bounds its owner signed (a following mark). When ORBIO moves faster than that mark follows, the agent doesn't pause: a trade the mark doesn't cover yet is held (SESSION_ANCHOR), its other trades go on, and the agent'sholdingsays which way it holds and since when. A trade that way goes ahead by itself once the mark has caught up, andholdingclears when one is co-signed or a new session is attached. If the mark is already at the edge of its bounds, the agent pauses withSESSION_MARKas above. The agents page and the Watch page show the hold. - Automatic pauses: low executor gas, three failures in a row (a reverted transaction counts; Orblivion's own trouble mostly doesn't, as the next point says), the session ended or within 10 minutes of its end, the daily limit or the session's caps reached, the wallet unable to run the session's code (
SESSION_CODE, with what to do), the kill switch, the server's live switch off. The reason is in the agent'spause_reason. - Orblivion's own trouble is held, not counted. When its signing service doesn't answer or is at its connection limit, or the chain or gas price can't be read, the check is held and tried again each tick, and it doesn't count toward the three failures. A check whose every trade was held this way neither counts nor clears the failures before it. Orbio's AI not answering an AI agent is held too, tried again after 15 minutes, then 30, then hourly, until more than a day of it pauses the agent (
AI_UNAVAILABLE_DAY). An AI agent whose AI answered but whose every trade was then held waits the same way before it asks its AI again, and that wait doesn't count toward the day. While held, the agent'son_holdsays why, since when and how many checks in a row; an agent on two chains shows it while neither chain completes a check, and a hold on one chain while the other trades is in its log. On Solana, a co-signature whose answer never came back (one slower than the 10-second wait included) is held too: the signing service never sends a trade itself and keeps no copy, so nothing from it can go out, but it still uses one of the session's trades and counts toward the executor's daily SOL at the signing service and, for a buy, toward the session's 24-hour limit. If lost answers use up the session's trades or its day, the agent pauses (SESSION_LIMIT): until the day has room again, or, for trades, until you start a new session. Orblivion counts these co-signatures, and those of trades that expired or failed on chain, as the signing service does, so a paused agent doesn't resume only to be turned away again. Some cases still differ for now. At an AI agent's call to its AI, the signing service turning it away at its connection limit (BUSY) counts. On Solana, the signing service's own reads of Solana failing on every try of the same trade for a day pause the agent (SOLANA_UNAVAILABLE). On Robinhood Chain, a trade's simulation that no node would run once its trade was co-signed, or one that failed without a revert before anything was co-signed, is held for up to an hour from the first such hold (a co-signature left to expire unsent), and after that it counts; on Solana, a simulation that can't be read is held until it can be. - A daily limit's pause lifts on its own. An agent paused for its own daily limit (
DAY_LIMIT) or its session's (SESSION_LIMIT) resumes by itself once every 24-hour window that paused it has room for a $1 order again, so it can run unattended for days. ForDAY_LIMITthat is its own trades in the last 24 hours (a live trade still waiting for its receipt counts). ForSESSION_LIMITit is what Orblivion co-signed for the session in the last 24 hours, a trade left on the session, and, for an agent that may sell ETH, the ETH left under the session's daily cap on chain. An agent paused for its executor's daily gas (GAS_DAY_CAP) resumes the same way: the gas its trades used in 24 hours, and the fee caps (gas limit times maximum fee) of the transactions Orblivion's signing service signed for its executor, which it caps at 0.001 ETH a day and which the agent checks before anything is co-signed. On Robinhood Chain, a trade co-signed but never sent stops counting about 3 minutes after it was co-signed, so an agent paused only because such trades filled its session's count during an outage comes back by itself once they clear. It is checked once per tick interval; the agent's log then saysresumed, with the reason (for example "its daily limit has room again"), and it trades at the size that fits.pause_reason.checksnames the checks that paused it. Your ownresumeof aSESSION_LIMITpause while the session's 24-hour spend still has no room for a $1 order is refused (409 SESSION_LIMIT) and changes nothing: the agent would only pause again at its next check. - What never resumes on its own: your own pause, a stopped agent, the kill switch's pause, three failures in a row, low gas,
SESSION_BUDGET,SESSION_MARKand every other code. ASESSION_LIMITpause stays too when the session is revoked, has expired, is within 10 minutes of its end or has no trades left (grant and attach a new session, then resume), and nothing resumes while the kill switch is engaged, the server's live switch is off or you turned the agent's ownliveoff. Your ownresume, and turningliveon, are refused for such a session (SESSION_ENDED,SESSION_USED_UP,SESSION_NOT_ACTIVE), with what to do. - Fail closed. An order is held, never sent, when the signing service doesn't answer, the market data is stale, two RPC providers disagree, the quote is too far from the reference, liquidity is too thin, gas is too dear, the limit can't be met, or less than $1 is left under a cap.
- ORBIO's reference is checked against a 30-minute average. ORBIO has no Chainlink feed, so its reference is the median of its pools, and pushing those pools moves the median and the quote together. So an ORBIO order is also held (
REF_VS_TWAP) while that median is more than 5% away from an independent price: the 30-minute TWAP of ORBIO's reference pool, the one the co-signer checks ORBIO trades against (the ORBIO/USDG 1% pool on 2 November 2026). A push hardly moves a 30-minute average. In a fast market the two can drift that far apart for a while, and ORBIO orders then wait until they agree again. If the TWAP can't be read, or no pool is deep enough to give one, the last reading is used for up to 5 minutes; after that, ORBIO orders are held until it can be read again. The agent's market view carries the TWAP astwap, withtwap_age_sandtwap_dev_bps(how far the median is under it), andtwap_errorwhen that tick's read failed (the reading is then the last good one, or none). - Restart-safe. A tick runs once per slot, and a signed transaction is stored before it is relayed, so a crash never trades twice.
Risk terms for agents#
- A paper agent trades with its owner's config. A live agent trades with its session's signed binding, and its config must sit inside it (
OUTSIDE_SESSION). - Terms never come from a brain, a webhook or an order. An order whose risks the terms don't accept is skipped and logged, not counted as a failure.
Fees#
- A paper agent pays the fee schedule: 0.25% on a major trade, 0.50% on any other.
- A live agent pays its session binding's fees (Sessions).
- The agent's
termsandsession_termscarryfees({major_max_bps, major_min_bps, other_bps}) andfee_schedule: 2, or 1 for a session granted before schedule 2, which also keeps itsfee_bps. - Each trade in the agent's logs records the fee it paid:
fee_bps,fee_classandfee_tier. - The agent reads each order's class itself. It holds an order whose plan's class isn't its own reading (
FEE_CLASS), or whose fee its terms don't allow (FEE_MISMATCH), and logs why.
Limits and gas#
| Layer | Caps |
|---|---|
| The agent | per trade, per 24 hours, the largest position in any token but USDG, one live trade per tick, ticks at least 15 seconds apart |
| The session | per trade, per 24 hours, the number of trades and the expiry; on chain and at the co-signer |
| Gas | the executor's transactions are capped per transaction and per 24 hours; the agent holds while gas is unusually expensive and pauses when the executor runs low |
An order larger than the headroom left under these caps (the session's per-trade cap, on chain and at Orblivion, or what is left of the session's or the agent's daily limit) is sized down to fit, never up, and still passes every check. Its trade in the log says so: sized_from_usd, sized_by (the cap) and sized. It is held only when less than $1 is left. A paper agent's orders are fitted to its own daily limit the same way.
Watching an agent#
Before you start one, the Watch page shows Orblivion's own agents at work, with no wallet and no sign-in, in the same dashboard yours gets, read-only: its house agent, live, trading the team's own funds on Robinhood Chain mainnet from its own wallet (its holdings as its last check read them from the chain), and when Orblivion shows more than one, a button for each, such as an AI agent on paper (a practice book at live prices: no real funds move). Each shows what it started with and what it is worth now, and how that compares with simply keeping its starting holdings (a live agent's only while its trades explain its wallet's holdings to within $0.25 or 0.5% of their value, whichever is larger, which leaves room for its own approval gas; if more moved in or out, none is shown), and its past trades, newest first, each live one with its receipt on the explorer. The routes behind it are public and read-only (API reference): GET /api/v1/showcase, /showcase/<id>, /showcase/<id>/logs and /showcase/<id>/portfolio. They list only the agents Orblivion puts on show, and never an agent's session, executor, keys or AI spend. Its decisions are public as soon as it makes them, a few seconds before their trades are mined. When the agent on show is an AI agent and Orblivion chooses to show its words, the panel also shows its model and its instructions as written, and each decision's reasoning, labelled as the model's own words and not advice; never its notes to itself, an answer Orblivion's checks refused, or what its calls cost.
On the agents page, under My agents, Open dashboard on an agent's card (it opens by itself when you create a paper agent or switch a live one on) shows it at work, within seconds of its first check:
- Its status in plain words (running, paused and why, waiting for gas, today's budget spent) and a countdown to its next check.
- Where its funds are, on chain. A live agent with an agent account: in that account, a contract your wallet owns (only your wallet can take funds out: Withdraw on the account's card). On Robinhood Chain without an agent account: in your wallet itself. On Solana: your cash token stays in your Solana wallet, and the session's vault may draw on it only up to the budget you approved; what the agent trades into is held in that vault, still yours and counted in its book, until the stop hands it back. An agent on several chains: each chain's in that chain's wallet, as above. Then its executor's gas; how much of its daily limit it used today; when its session ends; what is left of its session's budget in each token it sells and how long that lasts at its pace (with Top up budget when it runs low or the agent paused for it); a trade on its way.
- Its portfolio: the value now and since it started, each token's amount, price (and where the price came from) and share, its allocation, and its value over time with its trades marked (1 h, 24 h, all). A live agent's balances are read from the chain by your own browser; the server's series is history.
- Its activity, every check, newest first: the prices it read and from where, what it decided and why (an AI agent: its model, who paid and the cost), every order step by step (planned, checked, co-signed, sent, mined, what it received against its minimum, its fee), and every hold or refusal with its code. Filter it to trades, decisions or problems.
The trading wallet shows the same for its agents in its "Watch it trade" step. Agents you run yourself (the starter bot, the SDKs) show their trades and holdings on the account page; Orblivion doesn't see their decisions.
The routes behind it:
GET /api/v1/hosted/<id>: status, mode, whether it istrading, its brain, P&L, last decision, its tokens with their tier and risks, itstermsand its session'ssession_terms(each with its fees).GET /api/v1/hosted/<id>/logs?limit=50&before=<id>&kinds=trade,hold: every decision, hold and trade, newest first, with each step's time and each trade's fee. Page back withnext_before, or ask only for what is new withafter=<id>. Each decision carries the portfolio its tick saw (book). Each hold, failure and pause carrieswhy, its code in plain words (and each failed check its ownwhy, where there is one);detailkeeps the engine's technical reading.GET /api/v1/hosted/<id>/portfolio?since=&points=: its value over time, with its trades as markers, for a chart.GET /api/v1/hosted/<id>/executor: the executor's ETH and whether it is enough.POST /api/v1/hosted/<id>/rotate-executor: a new executor key, if you think the old one is exposed. The agent's session is revoked at Orblivion and it pauses until you grant and attach a new one.
Solana agents#
Where a server offers it, an agent can trade Solana tokens on paper, and an AI agent can trade them live where Orblivion runs live Solana. On the agents page, pick Solana as the chain; with the API, add chain: "solana" to the create body (the API reference lists the fields).
- On paper, a Solana agent practises with a book worth $1,000 (half its cash token, half SOL; with SOL as its cash, half USDC) and moves no real money. Its fills are Jupiter's quotes at the order's size, less Orblivion's fee and the network's cost (two signatures, a priority fee and a Jito tip), so a fill reads like a real trade's.
- Live, an AI agent trades from your own Solana wallet, Phantom included. Pick Live on the form, and the page takes it through your limits, its session, its gas and on (the steps are in From the website). Rebalance and DCA on Solana stay on paper for now. Where the server doesn't run live Solana, the form goes back to paper.
- Phantom will show three warning screens before you sign. This happens when you sign the session, and again when you refill its budget. First, "Request blocked" says "For your safety, Phantom has blocked this request": click Proceed anyway (unsafe). Then Confirm Transaction, with a red banner, "You are allowing this dApp to withdraw funds from your account in the future.", and "Approve to transfer any amount of USDC": click Confirm (unsafe). Then "Are you sure?": tick "I understand that I could lose all of my funds by proceeding" and click Yes, confirm (unsafe). We're going through Phantom's dApp Review. The red banner is about the session's spending approval: it lets the session's vault spend at most a week of your daily limit (the page shows the amount before you sign), and you can revoke it at any time. Phantom's screen says "any amount", but the approval is capped. Only click through on orblivion.com, and only after the page has shown the cap you set. Never click through for another site.
- Your wallet may add its own Lighthouse safety checks to a transaction, before, among or after the instructions the page built. The page accepts them only if every instruction it built is unchanged, byte for byte, and in the same order, and each check only reads. AssertAccountInfo and AssertTokenAccount (each also in its Multi form) may be added any number of times, each on an account the transaction already uses; the limits are the transaction's size and the compute left for the wallet, and Solana rejects a transaction with more checks than fit, before any fee is charged. AssertSysvarClock is the clock check, and at most one is allowed. Anything else added or changed is refused: the page doesn't send that transaction, and its error names the position and the reason.
- Its cash. USDC by default; SOL or USDG if you pick them. Its limits, its book's value and its results count in USD whichever you pick, so a SOL book moves with SOL's price even when the agent does nothing.
- Its tokens are named by their mint, exactly as written. The agents page offers a few by name; paste any other mint and Orblivion screens it first: what the mint lets its issuer do (mint more, freeze accounts, take a transfer fee, run a transfer hook, move tokens with a permanent delegate), its liquidity and pools, how concentrated its holders are, and whether a holder's sale goes through in a simulation. A severe risk trades only once you accept it, as on Robinhood Chain.
- Its brain can be a rule (rebalance, DCA) or an AI model; a webhook brain isn't offered on Solana yet.
- Fees: a paper Solana agent's fills take the "other" rate (0.50%) on every pair for now. Live trades from your own wallet pay 0.25% between majors (see Fees and gas).
- Watching it works as for any agent: a paper one's dashboard says "paper, Solana", and it names its tokens by symbol.
One agent on several chains#
An AI agent can trade on Robinhood Chain and Solana at once: one strategy and one check for both, and each chain with its own pairs, limits, cash token and book (legs at create: API). An order trades on one chain, from that chain's own balance: nothing moves between chains.
Live on every chain, or paper on every chain. An agent is never half live. Robinhood Chain trades live, and so does Solana where Orblivion runs live Solana; elsewhere an agent with a Solana leg stays on paper. To try a live agent's strategy elsewhere, Try on paper copies it into a new paper agent (POST /api/v1/hosted/<id>/paper-copy), leaving the live one as it is.
- Go live on the agents page, or
POST /api/v1/hosted/<id>/go-live. The leg trades from your account's EVM wallet: the wallet you signed in with, or, for an account first made with a Solana wallet, the EVM wallet you linked to it (sign in with that wallet for the next steps, since a Solana key can't sign an EVM session). It gets its own executor, attested by Orblivion's co-signer, and the page says whose agent it is and who can change its strategy before you sign anything. - Sign the session from that wallet, with this leg's limits. Each chain's limits are its own.
- One batch sets up the session's budget approval and sends the executor its gas, all or nothing. The page checks the executor's attestation against the co-signer it pins and never sends more than 0.005 ETH at a time.
- Turn the leg on. It trades within its session.
A live Solana chain goes the same way, from your account's Solana wallet: the one you signed in with, or the Solana wallet you linked to an account first made with an EVM wallet. On the agents page it is Go live on the agent's card, or Live on the form for a new AI agent on Solana alone; the API and the SDKs do the same (hosted.go_live(id, solana_wallet=...) in Python, @orblivion/sdk/solana in TypeScript). Its executor is attested by Orblivion's Solana co-signer, and the page and the SDKs check that against the co-signer, network and session program they pin before the executor gets any SOL (at most 0.05 SOL at a time). Your wallet signs one transaction that opens the session and approves its vault for a week of the chain's daily limit; the session still holds every 24 hours to that limit, and a refill approves the next week (POST /api/v1/hosted/<id>/budget, the SDKs' budget step). A new session (a renewal) also ends the agent's earlier one on chain; what its vault still holds stays the agent's, counted in its book, its position limit and the worst case, until the stop hands it back. A trade between two majors (SOL, USDC, USDT, USDG, PYUSD, JUP) asks at most 0.40% of slippage, Orblivion's fee included. When the co-signer can't trust a price now (warming up after a start, sources that disagree, a stablecoin off its peg), the trade waits and the agent tries again at its next check. An agent makes one live trade a check, its live chains taking turns (a held order leaves it to the next chain). The agent keeps to the terms your wallet signed: a risk you accept or a token you add after it pauses the chain (OUTSIDE_SESSION) until you sign a new session.
Pauses are per chain. Low gas, a used-up budget, an ended session or a daily limit pause that chain alone, and the agent stays live. On Robinhood Chain, Top up gas and Refill budget (one day's approval again, as for one chain) are on the leg's card, which warns before either pauses it. On Solana they are on the leg's card too (or the SDKs' gas and budget steps), and a refill approves the next week. Your own pause and the kill switch hold every chain.
One stop for every chain. Stop and revoke, on the agent's card, is final for the whole agent. Orblivion stops it at once and revokes each live chain's session; its co-signer then signs a receipt that it has stopped every session of the agent's executors for good, and the page says "stopped" only once it has checked that receipt (until then, "stopping"). Trades already signed may still land for about two minutes. Then, under each live chain, Revoke on chain from that chain's wallet (the page names it, and where to go if that wallet isn't in this browser), then Get the gas back for its executor. On Solana, Close it on chain is one transaction from your Solana wallet that ends and closes the session, then what is left in its vault goes back into your wallet, each step checked against the chain by the page (with the API, they are the stop answer's transactions for your Solana wallet to sign); the receipt names each live Solana session too, and Get the gas back returns the executor's SOL once the co-signer has the stop. An agent with a Solana session still on chain can't be deleted until those transactions have landed.
The worst case. The page shows what your live wallets could lose on chain if the co-signer, which holds every chain, signed against them: each token's approval (shared by every agent of that wallet), twice the session's daily ETH cap, and the executor's gas, until you revoke on chain. On Solana: every session of the agent still on chain, each one's budget left and what its vault holds, and the executor's SOL.
Stock tokens#
A live agent may trade Robinhood's stock tokens:
- Add the stock token's pair by address (
"0x<stock token>-USDG") to a live agent and to its session; a paper agent can't name one (TOKEN_STOCK). - The agent trades stock tokens within the session's limits while the US stock-token session is open (Sunday 20:00 to Friday 20:00, New York). Its stock orders are held, never failed, outside those hours (
MARKET_CLOSED). - The agent shows the tokens it found to be stock tokens on chain as
stock_tokens.
Stopping an agent#
Stopping is final: the agent never trades again. On the agents page, Stop on its card asks first:
- Yes, stop it or Keep it.
- When other live agents trade from the same agent account: Stop this agent only (its session ends on chain and the funds stay in the account), Stop and withdraw everything (the funds come back to your wallet too, so the other agents can't trade until you add funds again) or Keep it.
- A live agent without an agent account (an agent on Solana or on several chains, or one that trades from your wallet itself) shows Stop and revoke instead, asked the same way.
Orblivion stops it and revokes its session at once (trades already signed may still land for about two minutes). A live agent's card then shows Finish stopping: what is left, in order, each step ticked once done, the next one's button leading.
- End its session on chain, from your wallet. From an agent account, End it on chain and withdraw: one transaction ends the session, sets Permit2 back to 0 and sends everything in the account back to your wallet. End it on chain only ends the session and leaves the funds in the account: it is offered while other agents trade from it, when ending and withdrawing in one transaction didn't go through, or once the page has been reloaded since the stop, and Withdraw them then takes you to the account's Withdraw. In a browser that kept no root for the agent's session (it was set up in another one), the step offers End every session on chain instead. On Robinhood Chain without an agent account, Revoke on chain: the session disabled on chain and its approvals back to 0.
- Get its gas back: Get the gas back, and Orblivion sends what is left of the executor's gas to your wallet (Getting the executor's gas back).
- Close the approvals left open on the agent account: Close them goes to the account's card, where one transaction from your wallet only takes approvals away. They stay open while another agent trades from the account.
An agent on Solana or on several chains lists its steps under each live chain instead: Revoke on chain on Robinhood Chain, Close it on chain on Solana, then Get the gas back (One agent on several chains).
A stopped agent's card also offers Remove from my list. For a live one, get its gas back first: the page doesn't list it afterwards.
Your agent account, on your wallet's card, holds what your live agents trade. Add funds puts tokens in. Withdraw sends everything back to your wallet, after asking (Withdraw everything or Keep it there); its live agents can't trade until you add funds again. While a stopped agent's session is still live on chain and its step 1 can end it, End its session first takes Withdraw's place and goes to that step. A chip such as "1 approval open" lists the approvals still open, with Close them once every session on the account is ended.
If a stop fails, folded on the same card: End every session on chain ends the agent account's sessions with your wallet alone, for when an agent's Stop isn't offered or doesn't work. Orblivion isn't asked anything: your wallet signs its access again (no gas), then sends one transaction. It asks first (End them on chain or Keep them), and the funds stay in the account. It shows only while one of those sessions may still be live on chain. An agent whose session was ended this way stops trading, and its card says so. Its Stop then makes the stop final with nothing to send from your wallet; when the agent account holds funds and no stopped agent's session on it is left to end, the account's Withdraw opens next and asks first (Withdraw everything or Keep it there): nothing leaves the account until you confirm. When other agents trade from it, Stop this agent only opens nothing, and Stop and withdraw everything opens the same question.
Getting the executor's gas back#
When you stop a live agent, the ETH left on its executor is still yours. POST /api/v1/hosted/<id>/refund-gas (hosted.refund_gas(id) in Python, hosted.refundGas(id) in TypeScript) sends it back:
- Orblivion's signing service builds one plain ETH transfer from the executor to the wallet it recorded as the agent's owner when it made the key. Nothing in the request can name another recipient or an amount.
- The amount is the executor's balance less that transfer's own gas limit times its maximum fee, read by the signing service from its own RPCs. The few wei of gas it doesn't use stay on the executor.
- It needs the agent stopped (or deleted) and every session you granted its executor revoked or ended. It then closes the executor for good (no session, co-signature or trade for it again). A trade co-signed just before can still execute for up to two minutes: until it can't, the refund is refused (
REFUND_REFUSED, saying how many seconds to wait), so no trade can race it. Ask again then. A deleted agent's refund works the same way. - Only the agent's owner can grant its executor a session (
EXECUTOR_OWNER), so no one else's session can hold up your refund. - Asked again before it is mined, the same signed transfer comes back, so at most one refund can land. If more ETH arrives later, ask again once the first is mined.
- The SDKs check the answer is a plain transfer from the executor to your own wallet (
REFUND_TO).