# Share files between agents

Source: https://agenta.ai/docs/guides/share-files-between-agents

A volume is a folder of files that several agents can use. Put the documents they all need in one volume, and attach it to each agent. For how volumes work, see [Files and knowledge](https://agenta.ai/docs/concepts/files-and-knowledge.md).

## Create a volume

1. Open **Settings > Volumes**.
2. Click **Create volume**, give it a name, and optionally a description. A new volume is shared, so every project member whose role allows it can open its files.
3. Click the volume's row to open it. Drop files on the page to upload them, or open the **...** menu at the top right (or right-click) and choose **Upload files…** or **New folder**.

A new folder is named "untitled folder", and a folder cannot be renamed. Only files can.

## Attach the volume to an agent

1. Open the agent's **Configuration** page. Under **What it can use**, find **Volumes**.
2. Click **+** to open **Attach a volume**, and pick the volume under **Volume**. The list shows each volume's slug, the short name used in its path.
3. Under **Access**, pick **Read only** or **Read and write**.
4. Click **Attach**. The change is saved at once.

The agent finds the files at `drives/<slug>/`. An agent can have up to 8 volumes. Repeat the steps for each agent that needs the files.

You can also ask the builder to create and attach a volume. It asks you to approve each change.

## Next

- [Files and knowledge](https://agenta.ai/docs/concepts/files-and-knowledge.md) explains the home volume and who can see a volume.
- [Share a volume between agents](https://agenta.ai/docs/reference/agents/files-and-attachments.md#share-a-drive-between-agents) does the same through the API.
