> For the complete documentation index, see [llms.txt](https://docs.brahma.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brahma.fi/brahma-agents-or-built-with-console-kit/surge-and-purge-agent.md).

# Surge & Purge Agent

## What happens to my funds after I deposit?&#x20;

The Agent creates a dedicated sub-account in a Brahma Account , analyzes user inputs and market conditions, then executes trades based on trend momentum, liquidity depth, and volume impact — either accumulating or offloading the asset for optimal execution.

## How does rebalancing frequency work?&#x20;

Unlike traditional DCA, which follows a fixed execution pattern, the Surge & Purge Agent dynamically adjusts order sizes based on liquidity, price action, and slippage. This ensures a more optimized average buy/sell price in real-time market conditions. For example, if you've set up a Surge (Buy) automation and the asset's price drops significantly, the Agent will increase the order size; if the price spikes, it will reduce the order size to enhance efficiency.

## **Can I withdraw anytime?**&#x20;

Yes, you can cancel the Agent at any time. Once canceled, it will automatically transfer your assets back to your wallet.\ <br>
