> For the complete documentation index, see [llms.txt](https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/others/stuff-to-be-aware-of/market-liquidity.md).

# Market Liquidity

One important note on how liquidity works: Agents in the simulation may provide liquidity to the market. This is defined in the “Liquidity provision ratio”. When greater than 0, agents will seek to provide a percentage of their tokens as liquidity for the token market. Every timestep in the simulation, they will adjust their liquidity provision so that the percentage of tokens provided as liquidity matches their liquidity provision objective. This may result in adding or subtracting tokens from the liquidity pool.

This means that if an agent has a different flow of tokens besides the liquidity flow, the number of tokens that the agent provides each timestep will change over time.&#x20;

To avoid complexity in the simulation, we suggest creating an entity that provides all their tokens to liquidity (that means ratio 1), acting as the market maker. If extra liquidity is supplied based on generated fees or similar, we suggest creating an agent that receives those fees, with the goal of providing tokens to the market when the fees arrive.


---

# 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 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, and the optional `goal` query parameter:

```
GET https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/others/stuff-to-be-aware-of/market-liquidity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
