Autonomous arbitrage, run by AI
Lorenz is an autonomous AI agent that trades arbitrage on Solana, funded by flash loans, settled atomically, open to anyone who would rather verify than trust. Lorenz reads the whole Solana market as one system, finds the mispricings in the noise, and settles them with flash loans: borrow, trade, repay, in a single block.
Built on
Solana / Jupiter / Rust / WebAssembly
Watch the agent think
The screener below runs the actual Rust engine Lorenz uses, compiled to WebAssembly, against live Solana prices, the same arbitrage search the agent runs before it trades. No mock data. More tools are on the way.
lorenz/arb-screener
real WASM engine · live Jupiter feed
Candidates, not certified profit: recomputed exactly before any trade.
Simulation / read-only. No live trading, no funds at risk.
Experimental. No profitability claims.
Interactive backtester
Replay a market scenario through the real engine and inspect every decision, byte-for-byte reproducible. Tune costs and watch a trade flip from submitted to skipped.
AMM playground
Slide the reserves, fee, and input size and watch the exact constant-product output update live, the same integer math the chain settles.
Graph visualizer
Explore the route graph the control plane searches (tokens as nodes, pools as weighted edges) and watch the engine highlight a detected arbitrage cycle.
What looks like chaos is structure you have not measured yet
A murmuration has no leader: ten thousand birds resolve into one form by following the same simple rules. Markets do the same. Lorenz reads the rules and trades the shape.
How the agent trades
Four deterministic stages, from raw Solana state to atomic, flash-loan settlement.

01/Observe
The market as one world
Every Solana pool, route, and price folded into one deterministic snapshot, the whole venue the agent reads in a single pass.

02/Detect
Find the mispriced cycle
Lorenz walks the route graph for closed loops that return more than they cost to traverse, an arbitrage cycle hidden in thousands of edges.

03/Size
Size against a flash loan
Each cycle is sized to its best trade against borrowed capital, then ranked by net edge after fees, slippage, and gas.

04/Execute
Settle in one atomic block
Borrow, swap, and repay in a single transaction, reverted in full if it would not clear a profit. Guaranteed by the chain, not by trust.
The protocol
Four primitives, zero trust
Everything Lorenz does reduces to four moving parts, and the chain enforces all of them.
The Lorenz agent
One agent runs the entire loop (observing the market, deciding the trade, and settling it on-chain) continuously, with no desk and no discretion.
Read the source- –Observe → Decide → Settle
- –Reproducible, integer-exact decisions
- –Autonomous, around the clock
DEX arbitrage
Lorenz reads every major Solana venue as one book and searches the route graph for mispriced cycles, ranked by net profit after fees and slippage.
Open the screener- –Cross-venue route graph
- –Ranked by deterministic profit
- –Live prices, no mock data
Flash loans
Every trade borrows its full size and repays it inside the same transaction. The fund needs none of your capital to move millions, and never holds a position past the block.
Run a backtest- –Borrow up to pool depth
- –Repaid in the same instruction
- –Zero overnight exposure
Atomic transactions
Borrow, swap across pools, and repay settle as a single instruction. If the cycle would not clear a profit, the chain reverts the whole thing, safety enforced by consensus, not trust.
See the executor- –All-or-nothing settlement
- –Reverts below the profit floor
- –Guaranteed by the chain
FAQ
Frequently asked questions
Does Lorenz take custody of my funds?
No. Lorenz is non-custodial: your keys never leave your control. Execution runs against wallets and contracts you own.
Do I need capital to start?
No. Every trade is funded by a flash loan: the agent borrows the full size and repays it inside the same atomic transaction, so the fund needs none of your money to move.
Is it audited?
No. Lorenz is experimental and unaudited. We say that plainly and make no profitability claims: the safeguard is the chain, which reverts any trade that would not clear a profit.
Can I verify what it does?
Yes. The strategy is the source. The engine is open-source and MIT licensed: read it, run it, fork it. Decisions are integer-exact and reproducible.
Which chain does it run on?
Solana. Lorenz reads every major Solana venue as one book and searches for mispriced cycles across them.
Is this financial advice?
No. Nothing here is financial advice, and there are no guarantees of return. It is a read-only, open-source research project.
Run your own Lorenz
We stand up a private instance of the agent and help you operate it: dedicated infrastructure, hands-on onboarding, and direct support from the people who built the protocol. You keep full custody and control; Lorenz does the trading.







