# 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>


---

# Agent Instructions: 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.atlantisprotocol.so/atlantis-ecosystem/algebra-integral-v4-amm/plugins.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.
