# Architecture Overview

Alloc8’s architecture connects modular smart accounts, Agents, and policy enforcement to manage and rebalance concentrated liquidity positions.

#### High-level flow

1. **Account Setup**: EOA deploys and configures a Smart Account and installs modules.
2. **Strategy Input**: The system requests optimal ranges from the Agent.
3. **Position Management**: deposits mint LP positions via the Position Manager.
4. **Rebalancing**: agent proposes operations; GSPM validates policy constraints.
5. **Execution**: operations execute through ERC-4337 (bundler → EntryPoint).
6. **Liquidity Update**: Position Manager burns/mints positions to update ranges.

During rebalance/autocompound actions, realized fees/yield may be collected, and the protocol performance fee is applied to the generated yield amount.

Result: non-custodial, policy-based execution for continuous LP optimization.

<figure><img src="/files/cNuTNmEj6VE608oY3wRN" 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.alloc8.xyz/architechure/readme.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.
