> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-integral-technical-reference/omega-router/overview.md).

# Overview

The `OmegaRouter` is an ETH and ERC20 swap router, designed to aggregate trades across multiple DEX protocols including Algebra Integral, Uniswap V3, and Uniswap V2. It provides users with highly flexible and composable transactions. The contract is unowned and non-upgradeable.

The flexible command-based architecture enables:

* Token swaps on Algebra Integral, Uniswap V3, and Uniswap V2
* Liquidity management for Algebra Integral positions
* Interaction with ERC4626 vaults for wrapping and unwrapping
* Partial fills of trades
* Wrapping and unwrapping of ETH (via WETH)
* Time-bound, signature-controlled token approvals using [Permit2](broken://pages/180018a856bd08fa86ed15a76d887406c2012daa)
* Sub-plan execution and balance checks

{% hint style="info" %}
The `OmegaRouter` integrates with `Permit2` to eliminate the need for direct token approvals. See the [Permit2 documentation](broken://pages/180018a856bd08fa86ed15a76d887406c2012daa) for details.
{% endhint %}

## Resources

* [OmegaRouter on GitHub](https://github.com/cryptoalgebra/omega-router)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algebra.finance/algebra-integral-documentation/algebra-integral-technical-reference/omega-router/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
