Bring your own models
Plug in your API keys: OpenAI, Anthropic, or a local model, whatever you trust. XVN is model-agnostic; the brain is yours.
Open source·Built on Mantle·Trades on Orderly + Byreal
Most AI trading agents are just prompts and optimism. XVN is where market knowledge meets AI: turn your idea into a trading agent, test it against honest baselines, and only let the ones that actually work go live. Bring your own models and keys. Your machine, your edge.
Apache-2.0 · runs on your machine · bring your own models · trade on the exchange you want · you keep your keys · every live trade attested on Mantle
If the strategy is weak, the agent is weak. Everyone's wiring up an AI trading bot right now, but almost none can show their edge is real. XVN does the unglamorous part for you: testing your idea against honest baselines, throwing out the flukes, and only running live what actually survived.
A clever prompt with no testing is just gambling with extra steps.
One loop, end to end. Your keys, your models, your machine. Nothing handed to a platform.
Plug in your API keys: OpenAI, Anthropic, or a local model, whatever you trust. XVN is model-agnostic; the brain is yours.
Turn your idea into a trading agent. Set how it thinks, its risk limits, and the conditions it's allowed to act on. Wire up a single agent or a multi-stage pipeline, from the dashboard or the CLI.
Run it against cached history and a paper account, scored on honest baselines. No real money until it's earned its place.
XVN tries hundreds of variations of your agent while you sleep, keeping only the ones that beat your original on data they've never seen.
Push the winner live — on Orderly, on Byreal, wherever you trade. Want it to earn while you sleep? List it and let others run it. Every trade attested on-chain.
Test on paper. Sharpen while you sleep. Go live with what survives. Let it earn, if you want.
01
XVN is the API. The dashboard is just a window.
Everything XVN does is scriptable. Every surface is a CLI verb (strategies, evals, deploys, the optimizer), and the whole platform is exposed over a built-in MCP server, so your own agents can drive it end to end. Click through the dashboard, automate with the CLI, or hand the keys to an agent and let it run the loop for you.
02
Prove the edge before you risk a cent.
Every strategy, LLM-driven or pure mechanical, runs through the same backtest and gets scored on a pre-committed metric. The anti-overfitting gate is the part that matters: nothing graduates to live unless it beats baseline across multiple market scenarios, not just the one it was tuned on.
03
Stop paying the agent to trade noise.
Inline, deterministic filters decide whether the agent even runs on a given bar: RSI, moving averages, Bollinger, ATR, funding rates, exchange flows, portfolio state, authored from the CLI or the dashboard. Deterministic where it should be; AI only where AI earns its keep.
04
Your models, your agents, composed your way.
Agents are reusable templates (a prompt, a model, skills, memory) that you create, fork, and wire into multi-stage pipelines. Stage roles are free text, so a strategy can be one agent or a whole relay. Optional per-agent memory is temporally safe, so backtests never peek at future-dated observations.
05
Trade where you want, with guardrails that don't flinch.
Push it live for perps — on Orderly (Mantle) or Byreal (Solana), with more exchanges coming. You fund your own account; XVN trades it with a scoped key. A deterministic risk layer wraps every entry: size caps, exposure limits, a daily-loss circuit breaker, correlation caps, a mandatory stop, with race-free per-strategy budgets. Same risk engine, whichever exchange.
06
Your strategies get sharper while you sleep.
Overnight, XVN tries hundreds of variations of your agent: different prompts, models, risk settings, parameters, filters, even how the agents are wired together. Each one is backtested on data it has never seen, and only the variations that beat your original are kept.
07
Optional: let a proven agent earn for you.
A strategy that survives the testing is worth something to people who don't want to build their own. If you want, list it and let others run it for a fee. Strategies are attested as ERC-8004 records on Mantle and every trade is tracked on-chain.
XVN is Apache-2.0 and built to be run by you, not rented from us. A single
xvn binary with the dashboard baked in. No SaaS, no account,
no middleman holding your keys or your models. The risk engine is
deterministic Rust you can read; the eval metrics are pre-committed and
inspectable; the audit log is append-only and yours.
# 1 · install — prebuilt binary, dashboard baked in
$ curl -fsSL https://xvnapp.com/install.sh | sh
# 2 · set up the local database (one time)
$ xvn init
# 3 · boot the dashboard
$ xvn dashboard serve --bind 127.0.0.1:8788
# prefer to build it yourself?
$ git clone https://github.com/latentwill/xvision
$ cd xvision && cargo build --release
→ dashboard ready at http://localhost:8788
A variant goes in, gets evaluated, and a better-than-parent survivor is sealed into the lineage.
Reconstruct full position state from the append-only log alone. Nothing hidden, nothing inferred.
A sealed strategy's record and its trades, written to Mantle and readable by anyone.
Discover a proven agent, and delegate to it.
The honest footnote. XVN is early software that places real orders. Non-custodial means your funds live in your own Orderly account, not ours, but a buggy strategy or a loose risk config can absolutely lose money, and a deployed agent trades on its own. Start with small caps, keep an eye on it, and read the safety docs before you size up.
XVN is open source and runs on your machine. Bring your models, point it at a paper account, and let it do the rest.