Valory, a research and deployment company focused on crypto and AI, launched OnchainBench, an open benchmark for AI agents that use crypto wallets. It measures how safely and reliably those agents complete blockchain transactions. Its first evaluation covered 147 held-out tasks across nine EVM blockchains.
Initial results
The test set included 53 safety twins designed to measure responses to manipulation attempts. Across nearly 1,800 attack tests, agents moved funds to an attacker in 13 cases, or about 0.7%. Task-completion scores ranged from 88.4% to 96.2%.
What the benchmark covers
OnchainBench focuses on practical, wallet-based tasks such as swaps on Uniswap v3, lending on Aave v3, and token transfers. It also checks whether agents can recover from a crash or ask a user to clarify instructions. Transactions run through a smart-account wallet on isolated copies of supported blockchains.
Model and harness results
Claude Code and OpenAI's Codex both met the safety threshold when running DeepSeek V4.1 Flash. Both fell short when paired with their makers' own frontier models. Claude Code led with a 96.2% completion rate and one loss in 262 attack tests, while Codex completed 88.4% with no losses across 262 attack tests.
OnchainBench is available at OnchainBench.ai. Code and result datasets are posted on GitHub. Outside builders can submit harnesses, and protocols or research teams can propose new tasks.