MEV Agent Aleph
Last updated
Last updated
Agent Aleph is Urani's first in-house arbitrage agent, written in Python.
Its source code is open-sourced, allowing operators to use it as a template and plug in their favorite strategies.
Agent Aleph is one of the agents running in the Protocol to help with gauging and fallback. Nevertheless, in-house agents are not intended to outperform MEV agents outsourced by operators.
In its first version (v1), this agent runs the following algorithm:
1️⃣ Listen for incoming batches.
2️⃣ Parse these batches to extract the order intents.
3️⃣ Check for peer-to-peer matches among the intents.
4️⃣ Spin a new thread for each intent to calculate solutions for best quotes through arbitrage in different liquidity sources.
5️⃣ Pack the solutions and send them to the protocol.
More advanced strategies should be incorporated into future versions of the protocol, both in terms of arbitrage algorithms and liquidity searching.
Additionally, agents will also be responsible for the settlement, allowing the system to become fully permissionless.