Overview
The agent reads live yields, judges each venue against exploits and exit liquidity, and moves funds through a vault that only lets it do what the owner approved.
Activity
All moves- Reading the agent log…
Yield, judged
Live mainnet rates, read from the venue contracts. The policy caps or blocks each venue and says why.
| Venue | Yield | Agent may put in | Why |
|---|---|---|---|
| Reading NEAR mainnet… | |||
The policy rules
The vault
Read live from the chain.
Keys on the vault account
No full-access key exists, so nobody can redeploy the contract or move funds outside it. Only the owner can change code, through the contract.
Rules the contract enforces
| Approved venue | Status | In venue | Venue cap | Per move |
|---|
Agent
The plan is computed live from mainnet judgements and the vault's state. Nothing is signed from this page; the agent signs with its own key.
Plan right now
| Move | Amount | Policy at the time | Proof |
|---|---|---|---|
| Reading the agent log… | |||
Attack drill
A script holds the real agent key and tries to take the money. Each line links to its transaction.
| Attempt | Result | What stopped it | Proof |
|---|
How it works
Three parties. Only the owner can take money out.
Agent key
A function-call key on the vault, limited to supply, withdraw and claim. It cannot send NEAR, call tokens or touch owner methods.
Vault contract
Approved venues with fixed contracts, a cap per move and per venue, a cooldown, a daily limit, and withdrawals only to the owner.
Risk feeder
Blocks a venue or pauses the vault when an exploit or depeg lands. It cannot unblock, add venues or move funds.
FAQ
- What if the agent's key is stolen?
- The thief gets the agent's powers and nothing more: moving capped amounts between the vault and venues the owner approved. NEAR refuses any transfer or method outside the key's list before it runs, and the contract refuses the rest. The owner or risk feeder can delete the key in one call.
- Why does the highest yield get a smaller allocation?
- Rhea Lend pays the most on NEAR, and it lost $18.4M to price manipulation on 16 April 2026 with no funds returned. Its pools are also about 89% lent out, so only a slice can leave at short notice. The policy keeps the venue and cuts the size.
- Is the yield real?
- Lending rates come from the Rhea Lend contract and are paid by borrowers; the reward farms are empty. Staking rates come from the change in the LiNEAR and rNEAR share price over the last 30 days.
- Which network is the vault on?
- The vault, the agent moves and the drill run on NEAR testnet against the testnet deployments of Burrow (the code Rhea Lend runs) and LiNEAR. The yield table reads mainnet, and the agent sizes its testnet moves from those mainnet judgements.
- Is the code open?
- Yes, MIT licensed: the Rust vault contract, the agent and policy, and the drill.
Sources: NEAR RPC via FastNEAR, the Rhea Lend, LiNEAR and rNEAR contracts, DefiLlama hacks and prices, NearBlocks for transactions. Built for NEAR HACKATHON 2026.