# AMM

## What is Haiko AMM?

[Haiko](https://www.haiko.xyz/) is a  powerful Automated Market Maker (AMM) protocol for efficiently trading and providing liquidity on [Starknet](https://www.starknet.io/en). It offers best in class features like Concentrated Liquidity and Hooks, while introducing new ones like [Automated Vaults](/docs/protocol/vaults.md) and native [Limit Orders](/docs/protocol/amm/order-types.md).

## How is Haiko different from other AMMs?

In regular AMMs, liquidity positions are placed across a static price range. In Haiko, positions are replaced with [Vaults](/docs/protocol/vaults.md), which place and update positions *dynamically* for users.

This allows LPs to better express their on-chain positions, manage risk, and earn higher yields on their capital.

Architecturally, Haiko is most similar to [Uniswap V4](https://github.com/Uniswap/v4-core). It is a:

* Concentrated liquidity AMM with a singleton contract design
* Advanced exchange protocol with native limit orders, dynamic fees, customisable market schemas and other advanced features
* Customisable protocol with extensible strategies that update positions before user swaps, socialising the gas burden of position updates across liquidity providers

You can learn more about [order matching](https://app.gitbook.com/o/93iSXojwW5FIIJRO5tSg/s/gQw40yNaDQ8b6I9fTxtG/~/changes/2/protocol/haiko-amm/execution-and-order-matching), [position](/docs/protocol/amm/position-types.md) and [order types](https://haiko-docs.gitbook.io/docs/), [market schemas](https://app.gitbook.com/o/93iSXojwW5FIIJRO5tSg/s/gQw40yNaDQ8b6I9fTxtG/~/changes/2/protocol/haiko-amm/market-schemas), and [fees and rewards](https://haiko-docs.gitbook.io/docs/) in this section.


---

# 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://haiko-docs.gitbook.io/docs/protocol/amm.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.
