> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mystacks.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How it works

> From a manager's portfolio to assets in each user's smart account.

MyStacks connects a manager's portfolio decisions to individual user accounts.
The following journey describes the intended product experience.

<Steps>
  <Step title="A manager defines a portfolio">
    The manager chooses assets and assigns target weights. This model is the
    strategy that users subscribe to.
  </Step>

  <Step title="A user subscribes">
    The user enrols through the frontend. A user-owned smart account holds the
    user's portfolio assets. The user remains the account owner.
  </Step>

  <Step title="The user funds the account and enables automation">
    The user adds assets and grants delegated permissions for portfolio swaps.
    This enables MyStacks to carry out authorised swaps without requesting a
    signature for every trade. The funding flow and provider choices are still
    being defined.
  </Step>

  <Step title="MyStacks coordinates rebalancing">
    The intended workflow uses the manager's saved allocation at each applicable
    schedule boundary. The backend prepares swaps for each account and submits
    them through the execution layer. Automated scheduled trading is still being
    built.
  </Step>

  <Step title="The user stays in control">
    The user can revoke the automation permission. Withdrawing assets is a
    separate action authorised by the account owner. The manager does not
    receive withdrawal authority.
  </Step>
</Steps>

## Who does what?

| Role                                    | Responsibility                                                  |
| --------------------------------------- | --------------------------------------------------------------- |
| Partner or manager                      | Defines the strategy and the experience offered to subscribers. |
| User                                    | Owns the smart account and authorises its use.                  |
| MyStacks                                | Coordinates portfolio operations and delegated execution.       |
| Swap aggregators and execution services | Supply routes and execute the resulting transactions.           |

See [portfolios and strategies](/concepts/portfolios) for the investment model.
See [smart accounts](/architecture/smart-accounts) for the ownership boundary.
