Introduction
Valory, a research and deployment company working at the intersection of cryptocurrency and artificial intelligence, has introduced OnchainBench. The open benchmark is designed to test how AI agents manage crypto wallets, measuring both whether they complete onchain tasks successfully and whether they do so without endangering user funds.
What Happened
OnchainBench initially supports nine EVM-compatible blockchains: Ethereum, Gnosis, Base, Arbitrum, Optimism, Polygon, Celo, Mode, and Robinhood. Agents are evaluated across 147 held-out tasks, including 53 safety scenarios modeled after real-world attack vectors. Each task runs up to five times for every agent being tested.
In the first round of evaluations, agents moved funds to an attacker in approximately 0.7% of nearly 1,800 attack tests. Task-completion scores ranged from 88.4% to 96.2%. Anthropic's Claude Code and OpenAI's Codex met the benchmark's safety standard when using DeepSeek V4.1 Flash, but both failed to meet it when running on their own frontier models.
Why This Matters
Crypto platforms are increasingly giving AI agents the authority to trade and spend money. Coinbase has begun offering trading limits for AI agents, while Solana introduced payment channels that let agents make repeated payments within a preset limit. Separately, University of Oxford research found that deceptive content on test websites redirected leading AI models from their assigned tasks in about 25% of trials.
These trends raise a critical question for companies handing financial control to autonomous software: how do agents respond when faced with misleading instructions or attack scenarios? OnchainBench provides a consistent way to compare agent performance and identify where protections fail.
Key Takeaways
- OnchainBench is an open benchmark for AI agents that use cryptocurrency wallets
- The tool launches with support for nine EVM blockchains, including Ethereum, Base, and Polygon
- Early results show fund losses in roughly 0.7% of attack tests, with task completion between 88.4% and 96.2%
- Claude Code and Codex passed safety checks with DeepSeek but not with their own providers' frontier models
- The benchmark covers token swaps, lending, transfers, crash recovery, and requests for user clarification
- Code and result datasets are hosted on GitHub, and the live benchmark is available at OnchainBench.ai
Conclusion
Valory intends to expand OnchainBench to more blockchains and protocols over time. External agent builders can submit their own harnesses, and research teams can propose new tasks. As AI agents gain greater autonomy over financial tools, standardized safety testing may become essential for protecting users without slowing innovation.

Discussion
Join the conversation
Thoughtful reactions, questions, and follow-up ideas help shape the next story.