Skip to content

A mount is the directory where your agent finds its context. You name it, you give it a config, and the Stash daemon fills it with files from each source. The agent reads it with the tools it already knows: ls, cat, grep, and jq.

This page describes what a mount holds, how its files behave, and how it moves through its life. To create your first mount, see the Quickstart.

Each source in the config is one folder, at KIND/NAME/. A dot in the kind is one more folder level, so gateway.bedrock-knowledge-bases named runbooks is at gateway/bedrock-knowledge-bases/runbooks/. Here is the ops mount, at /tmp/ops-context:

/tmp/ops-context/
.strands-stash owner marker: the name of the mount
_sources/ one page for each source, and local.md
incidents.md
runbooks.md
ticketing.md
local.md
agentcore-memory/incidents/ memory records, one folder for each namespace
summaries/2026-11-20__checkout-latency-after-deploy.md
gateway/bedrock-knowledge-bases/runbooks/
2026-11-22__checkout-runbook-pdf.md one file for each passage found
mcp/ticketing/
_tools/get_ticket.json the JSON schema of each tool
_tools_results/get_ticket/20261122T093005123Z-a1b2c3d4/
call_metadata.json the input, the error, and the facts of each block
content/1.json one saved JSON result block
local/
memories/<session>/mitigation-plan.md notes, with [extraction]
PathWhat it holds
_sources/NAME.mdWhat the source holds, its path, and what it supports: files, search, and tools. The agent reads it before its first search.
KIND/NAME/...The records of the source. A memory source has one folder for each namespace.
KIND/NAME/_tools/TOOL.jsonThe schema of each tool of an mcp or Gateway source.
KIND/NAME/_tools_results/TOOL/TIME-HASH/The call metadata and each result file that fits the mount limits. TIME is the UTC time of the call. HASH comes from the tool and its input.
local/memories/The notes of the local store, when the config has [extraction].

Each file that Stash writes has mode 0444, so the agent can’t change it by mistake. The steering block tells the agent the same rule: don’t write to the mount.

Nothing reaches the mount unless something asks for it:

  • Hydration, when the mount starts. Each source loads its first files. See Hydration.
  • A search. stash search writes each hit as a file before it prints the path.
  • A tool call. stash tool call writes call metadata and each result file that fits under _tools_results/.
  • A note. stash note save writes one file in local/memories/.

ls, cat, and grep never call a source. An empty folder means nothing has been fetched yet, not that the source is empty.

Stash keeps a list of each file it wrote, with its SHA-256 hash, at mounts/NAME/projection.json in the data root. Stash changes only the bytes on that list. A file that someone changed is not replaced or removed, and it leaves the list. See Data and control roots for the data root location.

The .strands-stash marker names the mount that owns the directory. create refuses a mount point that holds files and has no marker, and a mount point that another mount owns. The mount point must be empty, missing, or already owned by this mount. It can’t overlap the data root or another mount point.

stash delete NAME --remove-data is the one exception to the list: it removes the mount point with every file in it, also files that Stash didn’t write.

stash ls and stash status NAME show the state of each mount.

StateMeaning
pending_config_resolutionThe config has ${...} variables with no value. Run stash bind. The mount doesn’t serve yet.
startingThe sources start and hydrate. A search or a tool call fails with mount "NAME" is starting.
readyThe mount serves. health is ok, or degraded when a source didn’t start.
failedNo source of the config started, or the mount died. The daemon keeps the mount. stash status NAME shows the error.

create returns before the mount is ready. Poll stash status NAME until it shows state: ready. A source that doesn’t start doesn’t stop the others: its _sources/NAME.md page gives the reason.

stash daemon stop suspends each mount. The files and the queued writes stay, and the next daemon restores the mount. At a restart, a source whose records the last run kept starts from them, with no fetch.

Source files and tool results share the cache_max_bytes budget. Each source can set its own refresh and expiry intervals. When the cache is full, Stash removes the least recently used files first.

Notes do not count against the budget and do not expire. A large tool result can stay preview-only when it does not fit. Run stash compact NAME to trim the cache now.

See The cache for every key, default, and limit. Managed workspace explains how refresh, expiry, and compaction affect the files.

The configuration reference owns the source count, name rules, and reserved names. See Sources.

Outside AgentCore Runtime, you choose an absolute mount_point. Runtime chooses the mount point for its session. See Top-level keys and Deploy on AgentCore Runtime.