> For the complete documentation index, see [llms.txt](https://docs.valantis.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valantis.xyz/amms-and-vaults/design-space.md). Agents can also search and read this documentation through its [MCP server](https://docs.valantis.xyz/~gitbook/mcp).

# The Modular AMM Protocol

How Valantis pools are built, and what has been built so far.

<figure><img src="https://986147118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1hNJeG4CApeBcE2NlR61%2Fuploads%2Fgit-blob-789514e5977144a3ab6242ec0f82b3a811abb548%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Valantis is built on **Sovereign Pools**. Sovereign Pools are a novel modular framework for constructing decentralized exchanges. This architecture introduces a paradigm shift by embracing composability, allowing developers to assemble customized DEX designs through reusable [**Modules**](https://docs.valantis.xyz/amms-and-vaults/design-space/modules.md). In contrast to monolithic implementations that require building each new AMM iteration from the ground up, Sovereign Pools facilitate the integration of various components responsible for functions such as pricing logic, fee calculation, oracle services, and liquidity management strategies.

In practice, this design space allows for:

* A pool built for LSTs that can exchange its reserves using staking contracts, [**STEX**](https://docs.valantis.xyz/amms-and-vaults/staked-amm.md)**.**
* An AMM that shares its liquidity between an MEV-Resistant AMM and Offchain RfQ/Order book systems, [**HOT**](https://docs.valantis.xyz/amms-and-vaults/design-space/hot.md)**.**
* Recovering **ANY** AMM design in less code, for example, Solidly ([**Validly**](https://docs.valantis.xyz/amms-and-vaults/design-space/validly.md)).

By embracing modularity and composability, Sovereign Pools empower Valantis to innovate on AMM designs while leveraging battle-tested components, reducing implementation complexity, and promoting security through independent module audits.
