> [!NOTE]
> **Note:**
>
> Filestore agent volumes are available under an Allowlisted GA (AGA)
> program. To request access for your Google Cloud project, submit the
> Filestore agent volumes
> [access request form](https://forms.gle/vYPkcFiZVoTjf7Ah7).
>
> The Agent Substrate integration with Filestore agent volumes is in Preview and doesn't support automation
> for Filestore volume snapshots, cloning, or data tiering.

Filestore agent volumes are a fully managed, high-density elastic NFS
file storage capability built for stateful AI agent sandboxes, autonomous
agent fleets, and multi-agent developer environments.

Filestore agent volumes provide the persistent storage layer
required to maintain state, context, and history across agent executions,
enabling low latency workloads, high density compute utilization, and strong
sandbox isolation. You can also use Filestore agent volumes for
any agent workspace needs, because agents natively work on file
systems.

While designed primarily for AI agent workloads and developer sandboxes,
volume pools and volumes also provide a general-purpose file storage
architecture for applications that require multiple lightweight, independent
file systems.

## Use cases

Filestore agent volumes are designed for architectures that
require many fast-mounting file systems. Common use cases
include:

- **Stateful AI agent sandboxes:** provide persistent storage for interactive coding agents and autonomous workflows, supporting under 100 ms volume reattachment across suspend and resume cycles.
- **Collaborative multi-agent swarms:** enable teams of specialized agents to work concurrently on shared repositories with POSIX-compliant ReadWriteMany (RWX) access and byte-range locking.
- **High-density developer environments:** host multi-tenant cloud IDEs and developer sandboxes, scaling up to 20 million isolated volumes with up to 50,000 active volumes and up to 400 TiB of `HOT` capacity (up to 5 PB including `COLD` storage), backed by a single regional capacity pool.
- **CI/CD pipelines and automated testing:** provision short-lived, isolated storage for test runners and build pipelines with sub-second API turnover.
- **Workspace cloning and branching:** create instant copies of existing agent environments from snapshots to fork tasks, branch code experiments, or create test runners in seconds without duplicating baseline data transfer.

## Filestore agent volumes workflow

The following diagram illustrates how Filestore agent volumes,
Private Service Connect (PSC), and Google Kubernetes Engine work together
during an agent session:
![Step-by-step workflow showing Filestore agent volumes on GKE](https://docs.cloud.google.com/static/filestore/images/filestore-agent-volumes-workflow.svg) **Figure 1.** Step-by-step workflow showing how Filestore agent volumes work with GKE.

1. The GKE cluster communicates with the managed storage plane through PSC service connection policies. All storage and NFS traffic remains private within your Virtual Private Cloud (VPC) network without requiring external IP addresses or VPC peering.
2. A regional volume pool reserves shared capacity and IOPS for your project. When an agent session is requested, an individual volume is provisioned from the pool using the Filestore CSI driver or API in under one to two seconds.
3. GKE schedules a container pod isolated with gVisor. The Filestore CSI driver attaches and mounts the volume to the pod's workspace directory very quickly, typically in less than 100 ms.
4. The agent initializes inside the sandbox, immediately accessing its dedicated file system to clone Git repositories, install packages, and write scratchpad artifacts. When the agent becomes idle, GKE can terminate the compute pod to save costs while the volume preserves all workspace state for instant resumption.

### Core capabilities

Filestore agent volumes deliver the following core capabilities:

- **Ultra-high volume density:** Provision up to 20 million independent volumes (with up to 50,000 concurrently active volumes and up to 400 TiB of `HOT` capacity, or up to 5 PB including `COLD` storage) within a single regional volume pool.
- **Sub-second operations:** Create and delete volumes in under one to two seconds using REST APIs, matching the ephemeral lifecycle of autonomous agent tasks.
- **Storage attach under 100 ms:** Mount existing volumes into pre-warmed sandboxes in under 100 ms, enabling instant interactive user sessions and high utilization of compute infrastructure.
- **POSIX compliance and RWX sharing:** Provide NFSv3 file system semantics, directory hierarchies, and byte-range file locking across multiple containers and nodes.
- **Secure connectivity:** Connect securely to your VPC network using Private Service Connect (PSC) service connection policies.
- **Workspace tiering:** Automatically tier detached agent workspaces to the low-cost `COLD` tier and restore them to the `HOT` tier in seconds when the agent resumes.
- **Workspace cloning from snapshots:** Fork existing agent workspaces directly from volume snapshots using the `createFromSource` API in seconds.
- **Dynamic per-volume IP ACLs:** Restrict NFS mount permissions dynamically to specific sandbox pod IP addresses upon attach and detach.

## Volume pool and volumes

Filestore agent volumes introduce a simplified two-tier resource
model. The underlying storage infrastructure is managed for you, so you don't
need to manage or configure file server instances:

- **Volume pool** : The top-level managed regional resource. A volume pool reserves a shared pool of storage capacity and IOPS for a project and VPC network, and enforces default volume quota policies. Volume pools support custom provisioned IOPS allocation using the `activeVolumeIops` parameter.
- **Volume**: The individual, POSIX-compliant storage resource provisioned inside a volume pool. Each volume represents an isolated file system that can be mounted into one or more containers, pods, or VMs.

### Volume lifecycle and workspace tiering

Filestore agent volumes support an integrated lifecycle and
workspace tiering model designed to minimize storage costs for intermittent or
bursty agent workloads:

- **`CREATING`:** the volume is being provisioned from the pool.
- **`HOT`:** the volume is mounted and actively serving I/O at high performance.
- **`COLD`:** the workspace file system is serialized to low-cost regional cloud object storage. Tiering to `COLD` occurs automatically after a detached volume has had its IP ACLs cleared for the pool's auto-freeze duration (7 days by default), or on demand using the `volumes.patch` API. When an agent session resumes, an `unfreeze` API call restores the volume from the `COLD` tier to the `HOT` tier in seconds.

## Pricing and billing model

Filestore agent volumes introduce a pay-per-use capacity model
combined with provisioned IOPS billing, with zero minimum capacity commitment
and no base volume pool hourly fee. For more information, see the
[Filestore pricing](https://docs.cloud.google.com/filestore/pricing) page.

## Use Filestore agent volumes

After you complete the one-time
[project and networking setup](https://docs.cloud.google.com/filestore/docs/agent-volumes-prerequisites.md.txt) and
[create a volume pool](https://docs.cloud.google.com/filestore/docs/create-volume-pools.md.txt#create-volume-pool),
you can integrate Filestore agent volumes using either
GKE or your own orchestration framework:
![Workflow showing shared setup steps and orchestration paths for Filestore agent volumes](https://docs.cloud.google.com/static/filestore/images/filestore-agent-volumes-setup-options.svg) **Figure 2.** Setup steps and orchestration options for working with Filestore agent volumes.

### Deploy agent volumes with GKE

When you run agent workloads on GKE, the Filestore
CSI driver automatically provisions, attaches, and manages volumes from your
volume pool. First
[set up your GKE environment](https://docs.cloud.google.com/filestore/docs/use-filestore-agent-volumes-gke.md.txt),
and then choose the GKE pattern that matches your workload:

- **GKE Agent Substrate:** Use GKE Agent Substrate to manage the lifecycle of stateful agent sandboxes. Agent Substrate suspends idle agents to save compute costs and resumes them in under a second, while Filestore agent volumes persist the workspace file system state across suspend and resume operations. For more information, see [Use Filestore agent volumes with GKE Agent Substrate](https://docs.cloud.google.com/filestore/docs/agent-substrate.md.txt).
- **GKE Agent Sandbox:** Use GKE Agent Sandbox to manage the lifecycle of isolated, stateful agent environments with pre-warmed gVisor sandbox pools. For more information, see [Use Filestore agent volumes with GKE Agent Sandbox](https://docs.cloud.google.com/filestore/docs/agent-sandbox.md.txt).
- **Dynamic storage late-binding:** For latency-critical interactive platforms, inject pre-provisioned NFS volumes into pre-warmed running sandbox pods in under 100 ms using host daemons and mount propagation, eliminating pod restart latency. For more information, see [Use Filestore agent volumes with Agent Sandbox dynamic storage late-binding](https://docs.cloud.google.com/filestore/docs/agent-sandbox-latebind.md.txt).
- **Self-managed GKE workloads:** Deploy standard Kubernetes `Deployment`, `StatefulSet`, or `Job` workloads with `PersistentVolumeClaim` (PVC) resources backed by the Filestore CSI driver and volume pool `StorageClass` resources. For more information, see [Use Filestore agent volumes with self-managed GKE workloads](https://docs.cloud.google.com/filestore/docs/self-managed-gke.md.txt).

### Deploy agent volumes with your own orchestration framework

If you run custom agent orchestrators, VM-based sandboxes, or non-Kubernetes
container platforms, your control plane can provision and manage individual
volumes directly using the Filestore REST API:

- Provision and delete volumes on demand in under one to two seconds.
- Mount the returned NFSv3 `mountPoint` directly into VMs or containers over Private Service Connect.
- Clone workspaces from snapshots, update per-volume quotas and IP ACLs, and tier volumes between the `COLD` and `HOT` tiers.

See [Use agent volumes with your own orchestration framework](https://docs.cloud.google.com/filestore/docs/manage-agent-volumes.md.txt).

## What's next

- [Set up Filestore agent volumes](https://docs.cloud.google.com/filestore/docs/agent-volumes-prerequisites.md.txt).
- [Create and manage volume pools](https://docs.cloud.google.com/filestore/docs/create-volume-pools.md.txt).
- [Set up your GKE environment](https://docs.cloud.google.com/filestore/docs/use-filestore-agent-volumes-gke.md.txt) or [manage volumes directly using the REST API](https://docs.cloud.google.com/filestore/docs/manage-agent-volumes.md.txt).