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

# Your vault

> Your own smart contract that holds your money and your stock.

When you set up OwnFlow you create a **vault**: a smart contract on Base that belongs to your wallet. It receives USDC, splits it by your rules and holds the stock tokens that are bought.

## What your vault holds

| In the vault | What it is |
| - | - |
| Stock bucket | USDC waiting to buy stock |
| Earn | USDC set aside to be lent, and your lending position |
| Running costs | USDC for your agents' real AI cost |
| Yours to withdraw | USDC you can take at any time |
| Stock tokens | The stocks your agent has bought |

## Who controls it

* **Only you** can withdraw, sell, change the split or the stock list, change your settings and pause your vault.
* **Your agent** can only split payments, buy stock inside your rules, lend your Earn share into an approved vault and bill real AI cost from your running costs.
* **OwnFlow** cannot withdraw your money or your stock. The only thing billed to it is your agents' AI cost, from [running costs](https://docs.ownflow.xyz/concepts/running-costs.md), within limits.

## Your vault is yours

Your vault does not depend on the OwnFlow website to give your money back. The rules are in the contract. You can always take your money and stock out with the wallet that owns the vault.

> [!NOTE]
>
> A wallet creates one vault in the app. Keep access to that wallet. If you use email or Google, you can export your private key in **Settings** and keep it somewhere safe.

> [!NOTE]
>
> A deposit limit may apply to a vault at launch. Money above a limit is not split and stays in the vault for you to take back.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.