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

# Nested Safe

Every standard Zyfai Smart Account is a Safe Smart Account deployed by the user's EOA. A Nested Safe follows the same model, but is deployed by another Safe Smart Account rather than an EOA.

This is the foundational infrastructure behind Zyfai's institutional offering: direct, unshared ownership within existing multisig rails, with zero counterparty risk from other users in the system. The model aligns with the traditional **Separately Managed Account (SMA)** structure used in TradFi.

### For Institutions: Multisig-Controlled Agents

Nested Safe eliminates the need for an EOA to deploy a Zyfai Smart Account. Instead, an institution's existing multisig infrastructure holds all deposited capital directly: a critical requirement for compliance, internal governance, and institutional capital allocation.

The result is the operational benefit of automated yield management with transparent, segregated custody.

How the structure works:

* **Multisig at the top level:** your existing Safe acts as the controlling multisig.
* **Agent Smart Account underneath:** the Agent operates through a nested Smart Account ([Safe7579](/docs/product/infra/safe7579)) that is owned and controlled by your multisig.
* **Granular delegation via Session Keys:** [Session Keys](/docs/product/control/session-keys) restrict what the Agent can do, which protocols it can access, and which contracts it can call. All parameters are defined and approved by you.

This design ensures that:

* The Agent can rebalance and manage positions efficiently.
* The multisig always remains the ultimate owner and authority.
* No centralized operator, including Zyfai, can unilaterally move funds.

<Tip title="📖 Useful Resources">
  To access your Safe multisig outside of Zyfai, head to our guide: [Use Zyfai via Safe Global](/docs/product/ecosystem/resources/safe-guide).
</Tip>
