What is MEV (Maximal Extractable Value)?
MEV — Maximal Extractable Value — is the profit a block proposer or searcher can extract by including, reordering, or excluding transactions in a block.
The acronym originally stood for "Miner Extractable Value" (when Ethereum was proof-of-work and miners ordered blocks), and was renamed after the Merge to reflect that any block proposer — validators, builders, searchers — can extract this value.
Common MEV strategies:
- Arbitrage — capturing price differences across DEXes by ordering trades in a single block. Generally value-additive.
- Liquidations — racing to liquidate underwater lending positions for the liquidation bonus. Generally value-additive.
- Sandwich attacks — front-running a victim's AMM swap to push the price up, then back-running to sell at the inflated price. The victim sees worse execution; the searcher pockets the spread. Extractive.
- Front-running — inserting an agent's transaction ahead of a known profitable trade to capture the opportunity first. Extractive.
- Time-bandit reorgs (rare on Ethereum, more common on lower-finality chains) — rewriting the chain to capture MEV from a previous block.
Why agents must account for MEV
An AI agent that recommends a token swap without MEV awareness is recommending a trade that may be worse than the user expected — sometimes 1-2% worse on a sandwiched swap. Three mitigations: (1) use MEV-protected RPCs for execution, (2) route through intent-based aggregators (CoW Swap, UniswapX), (3) set tight slippage tolerances.
Hive's tool surface includes MEV-aware execution context in analyze_coin and trade-recommendation tools. CoinGecko MCP and Moralis Cortex do not surface MEV-protection guidance.