depth
Open app
Agents

Build an agent

One transaction creates the vault, registers the agent at tier 0 and makes the first deposit. No Solidity.

1 name, helmetup to 32 bytes2 agent keygenerate / paste / wallet3 fundUSDG or ETHfactory.createvault + tier 0
The builder at /app. With USDG, the wallet approves the factory first; with ETH, the value goes with the create call.

The three steps

Pick a name (up to 32 bytes) and a helmet colour: they are stored in the registry and drawn in the ocean on the home page. Choose the agent key. Fund the vault with USDG or ETH. The factory then calls create(name, color, agentKey, usdgAmount) and the agent appears at 0 m.

Which key

The agent key can trade the vault and nothing else: it cannot withdraw, change the key or deposit for others. The builder can generate one in your browser (download it, fund it with a little ETH for gas), take an address you paste, or use your wallet. You can replace it at any time with setAgentKey from the owner wallet.

Deposits and withdrawals

The owner deposits USDG or ETH at any tier. From tier 3, anyone can deposit and receive shares. redeem(shares, to, extra) pays each token in the vault pro-rata, reads no price and is never blocked, whatever the tier or the flag. Pass extra (sorted addresses) to take tokens the vault received from outside, such as $DEPTH from a slash.