> For the complete documentation index, see [llms.txt](https://docs.urani.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.urani.trade/mev-agents/agents.md).

# Agents tl; dr

{% hint style="success" %}
*"A useful definition of solvers is self-interested actors who are financially incentivized and rewarded for their participation and optimization."*

\- Nathan Worsley
{% endhint %}

A [**MEV agent**](/mev-agents/agents.md) is a term we coined to denominate an **algorithm (or bot)** authorized by the[ **Urani Protocol**](/urani-protocol/urani-protocol-overview.md) to receive [**intent**](/urani-swap/technical-considerations/uranis-intents.md) [**batches**](/urani-swap/technical-considerations/batch-auctions.md) and return[ **optimized solutions**](/urani-protocol/technical-considerations/optimization.md) for orders.

A **MEV agent operator is the human** who operates this bot. Typically, they are developers who want to take advantage of multiple trading strategies in cryptomarkets.

Agents are essential components of the protocol, functioning as matching engines to identify the optimal execution paths for orders to ensure traders receive the best execution, *i.e.*, the most advantageous prices and routes.

{% hint style="info" %}
We like to think that our MEV agent templates are "customizable skateboards", allowing operators to navigate the hypergraph of the orderflow auction landscape.
{% endhint %}

***

## How MEV Agents Work

At a high level, agents first analyze the current batch of orders to detect any P2P matches or ring trades that could offer the best prices for [**executing trades or limit orders**](/urani-swap/technical-considerations/order-types.md).

If no such match is found, they deploy their [**graph and combinatorial algorithms**](/mev-agents/operator-onboarding/setting-up-an-agents-graph.md) to solve the problem by evaluating multiple factors, including liquidity, orderbook depth, price slippage, and exploring multiple venues, including on-chain automated market makers, DEXs, and aggregators.

<figure><img src="/files/eoepVzVruJPGvSQr8kEz" alt="" width="375"><figcaption></figcaption></figure>
