# Ambient Docs

## Ambient Docs

- [Introduction to Ambient](https://docs.ambient.finance/introduction-to-ambient.md)
- [AMMs](https://docs.ambient.finance/concepts/amms.md)
- [Concentrated Liquidity](https://docs.ambient.finance/concepts/concentrated-liquidity.md)
- [Knockout Liquidity](https://docs.ambient.finance/concepts/knockout-liquidity.md)
- [Governance & Policy](https://docs.ambient.finance/concepts/governance-and-policy.md)
- [Surplus Collateral](https://docs.ambient.finance/concepts/surplus-collateral.md)
- [Permissioned Pools](https://docs.ambient.finance/concepts/permissioned-pools.md)
- [Account Abstraction](https://docs.ambient.finance/concepts/account-abstraction.md)
- [Swaps](https://docs.ambient.finance/users/swaps.md)
- [LP Positions](https://docs.ambient.finance/users/lp-positions.md)
- [Surplus Collateral](https://docs.ambient.finance/users/surplus-collateral.md)
- [Dynamic Fees](https://docs.ambient.finance/users/dynamic-fees.md)
- [Knockout Positions](https://docs.ambient.finance/users/knockout-positions.md)
- [Initializing Pools](https://docs.ambient.finance/users/initializing-pools.md)
- [Gasless Transactions](https://docs.ambient.finance/users/gasless-transactions.md)
- [External Routers](https://docs.ambient.finance/users/external-routers.md)
- [Ops & Treasury Multisigs](https://docs.ambient.finance/governance-and-policy/ops-and-treasury-multisigs.md)
- [Policy](https://docs.ambient.finance/governance-and-policy/policy.md)
- [Upgrading Code](https://docs.ambient.finance/governance-and-policy/upgrading-code.md)
- [Emergency](https://docs.ambient.finance/governance-and-policy/emergency.md)
- [Deployed Contracts](https://docs.ambient.finance/developers/deployed-contracts.md)
- [Token Transfers](https://docs.ambient.finance/developers/token-transfers.md)
- [Type Conventions](https://docs.ambient.finance/developers/type-conventions.md)
- [DEX Contract Interface](https://docs.ambient.finance/developers/dex-contract-interface.md)
- [userCmd Callpaths](https://docs.ambient.finance/developers/dex-contract-interface/usercmd-callpaths.md)
- [Swaps](https://docs.ambient.finance/developers/dex-contract-interface/swaps.md)
- [Hot Path Swap Migration](https://docs.ambient.finance/developers/dex-contract-interface/swaps/hot-path-swap-migration.md)
- [Directly Calling CrocSwapDex](https://docs.ambient.finance/developers/dex-contract-interface/swaps/hot-path-swap-migration/directly-calling-crocswapdex.md)
- [External Swap Router](https://docs.ambient.finance/developers/dex-contract-interface/swaps/hot-path-swap-migration/external-swap-router.md)
- [Flat LP Calls](https://docs.ambient.finance/developers/dex-contract-interface/flat-lp-calls.md)
- [Long Form Orders](https://docs.ambient.finance/developers/dex-contract-interface/long-form-orders.md)
- [Knockout LP Calls](https://docs.ambient.finance/developers/dex-contract-interface/knockout-lp-calls.md)
- [Pool Initialization](https://docs.ambient.finance/developers/dex-contract-interface/pool-initialization.md)
- [Surplus Collateral](https://docs.ambient.finance/developers/dex-contract-interface/surplus-collateral.md)
- [Router Calls](https://docs.ambient.finance/developers/dex-contract-interface/router-calls.md)
- [Relayer Calls](https://docs.ambient.finance/developers/dex-contract-interface/relayer-calls.md)
- [Query Contracts](https://docs.ambient.finance/developers/query-contracts.md)
- [CrocQuery Contract](https://docs.ambient.finance/developers/query-contracts/crocquery-contract.md)
- [CrocImpact Contract](https://docs.ambient.finance/developers/query-contracts/crocimpact-contract.md)
- [Logs and Queries](https://docs.ambient.finance/developers/logs-and-queries.md)
- [Libraries and APIs](https://docs.ambient.finance/developers/libraries-and-apis.md)
- [SDK](https://docs.ambient.finance/developers/libraries-and-apis/sdk.md)
- [Indexer API](https://docs.ambient.finance/developers/libraries-and-apis/indexer-api.md)
- [Subgraph](https://docs.ambient.finance/developers/libraries-and-apis/subgraph.md)


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.ambient.finance/introduction-to-ambient.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.
