# Strands Stash Memory: Files for Your Agent, and Hindsight as a Source

> What Strands Stash is, how it mounts memory and context as plain files for Claude Code, Codex and Kiro, and how the hindsight-stash plugin mounts a Hindsight bank with pages and observations.

Source: https://aiagentmemory.org/articles/strands-stash-memory/ · Updated 2026-12-02 · aiagentmemory.org


Kiro has its own memory too: see [Kiro memory](/articles/kiro-memory/) for its folders, access levels and sync.

## What is Strands Stash?

**Strands Stash gives a coding agent its context as plain files.** It mounts each context source as a folder.
The agent reads that folder with the tools it already has, such as `ls`, `cat` and `grep`, so it only loads
what it opens. Strands Stash is an open source project from the Strands team, and the team launched it on
1 December 2026. It is in preview.

Stash does not store memories itself. It is the folder layer. A source supplies the memory. Stash can also
send each agent session back to a memory source, so the next session starts with what the last one learned.

## What sources can Stash mount?

The Stash README (github.com/strands-agents/stash, read 2 December 2026) lists these source kinds: AgentCore
Memory, Bedrock knowledge bases, web search, AWS Context, any MCP server, and any store that a plugin serves.
Stash works with Claude Code, Codex, Kiro and Strands agents, and runs on Linux (x86-64 and arm64) and on
macOS with Apple silicon.

| Question | Answer (Stash README, read 2 December 2026) |
|---|---|
| Who made it | The Strands team (github.com/strands-agents/stash, Apache 2.0 license) |
| Status | Preview |
| Agents it works with | Claude Code, Codex, Kiro, Strands agents |
| Install | `npm install -g @strands-agents/stash`, or `pipx install strands-stash`, or `uv tool install strands-stash` |
| Memory it has itself | None. A source supplies the memory |

## How the Hindsight plugin fits in

The `hindsight-stash` plugin (PyPI, version 0.1.0, read 2 December 2026) mounts one Hindsight memory bank as
a Stash source. It has two folders:

- `pages/` holds the bank's knowledge pages. Each page answers one question about the project, and Hindsight
  keeps it current as new facts arrive.
- `memories/` holds the bank's observations, grouped by topic. Each folder has an `index.md` that links to its topics.

`stash search` finds pages by meaning and by keyword, and finds files in `memories/` by the words in them. The
plugin README (github.com/vectorize-io/hindsight-stash) says the search also brings in pages and topics the bank
learned after the mount started.

A minimal config looks like this:

```toml
mount_point = "/tmp/hindsight-mount"
harnesses = ["claude"]

[sources.project]
kind = "plugin"
plugin = "hindsight"
description = "What Hindsight knows about this project"
settings = { bank = "my-project" }
env = { HINDSIGHT_API_KEY = { from_env = "HINDSIGHT_API_KEY" } }
write.trajectory = {}
```

Then run `pipx install hindsight-stash`, set `HINDSIGHT_API_KEY`, and start the mount with `stash create`. The
files show under `<mount_point>/plugin/project/`. Leave out `write.trajectory = {}` for a mount that only reads.

If you already use the Hindsight Coding Agents package, point the source at the same bank, `coding-agent::<repo>`.
The agent then reads what that package already learned. If both run, set `"retainSessions": false` in the
Coding Agents config, so each session reaches the bank once.

## Where Hindsight fits

**Hindsight gives Stash a memory bank that the agent reads as files.** The bank holds the facts, pages and
observations from past sessions. Stash turns them into folders, so Claude Code, Codex or Kiro can open them
with plain commands.

- Hindsight's own strengths are its memory design: observations, mental models, and `reflect`, which gives a
  reasoned answer over stored memories (Hindsight README). We found no benchmark of the Stash plugin itself,
  so this page gives no score for it.
- The bank can also hold the Coding Agents package's memories for your repo, so Claude Code, Codex and Kiro
  read one shared bank.
- The plugin's `url` setting points at a self-hosted server. Hindsight is MIT licensed and its full server is
  open source, so you can run the whole stack yourself.

**Limits to know before you use it:**

- Stash reads the list of files only when the mount starts. A page or topic the bank gets later shows up when
  a search finds it, or after you delete the mount and create it again.
- A search of `memories/` matches words, not meaning.
- The plugin needs a Hindsight Cloud API key or a server you run.
- Stash is in preview.

## When to use it

Use Strands Stash when you want your coding agent to read memory and project context as files, and you already use
AWS Strands or want a single folder for many sources. Use the Hindsight plugin when the memory you want is a
Hindsight bank.

If you only want memory inside one coding agent, the simpler path is the Hindsight Coding Agents package, which
installs into each agent's own hooks. See [AI coding agent memory](/articles/ai-coding-agent-memory/),
[Claude Code memory](/articles/claude-code-memory/) and [Codex memory](/articles/codex-memory/) for those.

For how Hindsight's memory works in general, see [AI memory with Hindsight](/articles/ai-memory-hindsight/).

## Sources

- Strands Stash README and docs: https://github.com/strands-agents/stash (read 2 December 2026)
- hindsight-stash plugin README: https://github.com/vectorize-io/hindsight-stash (read 2 December 2026)
- hindsight-stash on PyPI: https://pypi.org/project/hindsight-stash/ (version 0.1.0)
- Hindsight blog, "Hindsight Is a Source in Strands Stash" (1 December 2026): https://hindsight.ai/oss/blog/2026/12/01/strands-stash


## FAQ

### What is Strands Stash?

Strands Stash is an open source tool from the Strands team, released on 1 December 2026 in preview. It mounts an agent's context sources, such as memory, knowledge bases and MCP servers, as one folder of files. The agent reads that folder with ls, cat and grep. It works with Claude Code, Codex, Kiro and Strands agents.

### Does Strands Stash have its own memory?

No. Stash is the folder layer. The memory comes from a source: AgentCore Memory, a Bedrock knowledge base, an MCP server, or a plugin such as hindsight-stash. Stash can also write each session back to a memory source.

### How do I give Strands Stash memory from Hindsight?

Run pipx install hindsight-stash, add a source with kind = "plugin" and plugin = "hindsight" to the Stash config, and name your bank. You need a Hindsight Cloud API key or a self-hosted server. The bank shows as a pages folder and a memories folder.

