# Cap Automator

Since launch, supply and borrow caps have been managed by our risk team [@BlockAnalitica](https://twitter.com/BlockAnalitica).&#x20;

But as liquidity matured over time, the maximum possible caps were often larger than the on-chain demand (e.g., USDT0, at one point our largest stablecoin market, had a 95M supply cap, with only 10-15M actually supplied). While not inherently problematic, this creates unnecessary risk exposure in long-tail risk scenarios (as seen in cases like rsETH).

To address this, we adopted the on-chain **Cap Automator** contract (originally developed by [SparkLend](https://x.com/BlockAnalitica/status/1765395680833740892)), deployed at [0x01f550365b99aE5B76533241c5BA8255441BA312](https://hyperevmscan.io/address/0x01f550365b99aE5B76533241c5BA8255441BA312).&#x20;

Caps now expand based on demand, within predefined limits and rate controls:

* Under normal conditions, caps adjust automatically in line with usage (with limits and timers visible in the UI).
* During stressed conditions, automation can be paused to limit exposure

<figure><img src="/files/HZ55trTWz2rFrhyDnPBY" alt=""><figcaption></figcaption></figure>


---

# 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.hyperlend.finance/architecture/cap-automator.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.
