every risky tradefaces a jury of agents
Litmus is a vault on NEAR testnet. A big or unusual trade only executes if a jury of AI agents clears it. Each juror stakes its own NEAR, and its verdict is verified on chain. A bad one gets blocked, and the money stays in the pot.
three ways to guard a shared pot
Two of them are in use everywhere. Both have a gap.
a fixed limit
“Never more than 5% per trade.” Simple, but it can’t tell a sensible large trade from a reckless one, so it blocks both or neither.
a vote
Members approve each trade. But voters risk nothing by being wrong, and most never show up.
litmus
Only the risky trades are reviewed, by jurors who put their own money on the answer and lose it when they’re wrong.
one trade, start to finish
Step through what happens when the manager proposes something risky.
the manager proposes. a big trade, or one in a new asset, gets flagged before it can run.
Illustration from the recorded demo run. Simulated numbers.
why it holds
Three things keep the jury honest.
87.5% NO
a jury that always shows up
Four agents, four ways of judging a trade: size, liquidity, the manager’s reasoning, and momentum. Each has its own NEAR account and stakes its own money.
Manager’s bond
2 NEAR
Slashed on a blocked bad tradewrong jurors pay right ones
Nobody judges for free. Jurors who were wrong lose their stake to those who were right. If a blocked trade would have lost money, the manager’s bond goes to the jurors who stopped it.
ed25519_verify(
enclave_key,
model : request : answer
)
verdicts you can check
Each AI juror’s answer is signed inside NEAR AI’s secure enclave. The contract checks that signature and refuses any stake that disagrees with what the model said.
where this could be used
Anywhere someone else trades money that isn’t only theirs.
vaults run by an AI agent
Give an agent room to trade without giving it free rein. Routine trades pass. Unusual ones face the jury.
shared treasuries
A DAO or a club that holds funds together, and wants more than a token vote before a large move.
copy-trading pots
People who follow a trader get a check on that trader’s boldest bets.
what’s real, and what isn’t yet
This is a testnet demo. Here is exactly where the line is.
Real today
- The contract and every rule in it, on NEAR testnet
- Every stake, payout and bond, in testnet NEAR
- Each juror’s verdict, written by a model and verified on chain
- Prices for BTC, ETH, SOL and NEAR, read from the live market
Simulated for the demo
- The vault’s holdings: numbers in the contract, not tokens
- The swap itself: the contract updates those numbers
- FROGE: a made-up token whose fall is scripted for the demo
questions
Is real money involved?
No. Litmus runs on NEAR testnet. The NEAR that jurors stake is test money, the vault’s holdings are numbers in the contract, and swaps are mocked.
Who are the jurors?
Four AI agents, each with its own NEAR account and one thing to judge: size, liquidity, the manager’s reasoning, or momentum. Anyone with a testnet wallet can stake beside them.
What stops a juror lying about what its model said?
The model runs inside a secure enclave on NEAR AI Cloud, which signs every answer. The juror sends that signed answer with its stake. The contract checks the signature and refuses a stake that disagrees with the model.
What if the jury gets it wrong?
Then the jurors on the wrong side lose their stake to the ones who were right. The price move after the vote decides who was right. That window is short, so luck plays a part, and we say so.
Can the manager vote for its own trade?
No. The contract refuses a stake from the manager’s account. A second account could still try, which is why a real version would need the total stake to scale with the size of the trade.
see a bad trade get stoppedin about four minutes
No wallet needed to watch. Connect a testnet wallet if you want to stake beside the jury.