> For the complete documentation index, see [llms.txt](https://docs.atlantisprotocol.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.atlantisprotocol.so/atlantis-ecosystem/algebra-integral-v4-amm/plugins.md).

# Plugins

## Plugins <a href="#plugins" id="plugins"></a>

Plugins for Algebra Integral are smart contracts that can expand or limit the functionality of liquidity pools. The plugin can be connected to a liquidity pool, then the pool will be able to call the corresponding plugin methods before and after the main actions in the pool:\
\
Think of plugins as “extensions” for a liquidity pool—similar to how apps add new capabilities to your smartphone. They let developers and protocols integrate advanced features into a pool without needing to modify the core mechanics of the AMM.

The current set of plugins used by Atlantis at launch are the following:

**1. Adaptive fees**

* Allows to adjust the fees of a pool based on its volatility during the last 24h. More info about the calculations on <https://docs.algebra.finance/algebra-integral-documentation/algebra-integral-technical-reference/plugins/adaptive-fee>

**2. Sliding fee**

* Adjusts the fees on every swap based on the price change of the last block and the swap direction. It increases its value when the trade matches with the direction of the price change, and decreases it for the opposite direction. More info about the calculations on <https://docs.algebra.finance/algebra-integral-documentation/algebra-integral-technical-reference/plugins/sliding-fee>

More plugin will be implemented over time.

#### &#x20; <a href="#custom-pools" id="custom-pools"></a>
