Skip to content

How the agent decides

About once a minute the agent runs the same loop for every position it manages.

It reads the pool and your position directly from the Solana blockchain: the current price (the active bin), your range, the liquidity in each bin, and recent trading. If the data is stale, it doesn’t act on it.

A position is only considered for a move when something calls for it:

  • Out of range: the price has left your range, so it isn’t earning fees.
  • Near the edge: the price is within a few bins of the edge of your range (4 bins by default).
  • Scheduled re-evaluation: every 30 minutes by default, even if nothing else happened.

A trigger never moves a position by itself; it only starts the evaluation.

The agent estimates, over the next 24 hours, the fees the position would earn where it is versus after moving to a new range, and subtracts the cost of moving (network fees, priority fees and any rent that won’t come back). It moves only when the expected gain is positive and the expected extra fees are at least twice the cost of moving. See The EV model.

Hard limits can stop a move even when the EV says go. If any rule fails, the answer is hold. The rules include:

  • at most 6 moves in any 24 hours for each pool you have a position in, and a cooldown between moves in the same pool;
  • a move the agent can’t carry out. A range of up to 150 bins can be moved in place, in one transaction, when it grows or shrinks by at most 91 bins; a wider range is moved by closing the position and opening a new one, which counts the new position’s rent against the daily SOL budget. When your range width can’t be met this way, the agent uses the widest range it can and the decision says so (for example “range 11.0% instead of 15%: the position’s rent and fees would exceed the daily SOL budget”);
  • the SOL reserve your Metra wallet must keep for fees;
  • a daily loss limit compared with simply holding the tokens (by default 5% of your open positions’ value; see Strategies);
  • stale or incomplete data;
  • the agent being paused or the emergency stop being on.

A position over your size limit isn’t refused: when it’s moved, it’s re-deposited only up to the limit, and the rest stays in your Metra wallet.

What happens next depends on your mode: in autonomous mode the agent carries out the move; in assisted mode it proposes it and waits for your approval; in monitor mode it only records what it would do. Every move is a Meteora liquidity transaction from your Metra wallet, in a pool you approved.

At many decision points the agent also asks Jev, an AI model run by a third-party AI service, for its view (not while the emergency stop is on, not for exported wallets, and not when too many requests are already pending). Jev’s answer is recorded and shown to you, but it doesn’t make or change any decision. See Jev.

You can follow every step for your own positions on the Activity page.