# Hindsight Is a Source in Strands Stash

> Source: <https://hindsight.ai/oss/blog/2026/12/01/strands-stash>
> Published: 2026-12-01 12:00:00+00:00

**Key takeaway:** Installing `hindsight-stash` and adding a `plugin` source with `plugin = "hindsight"` and a bank id mounts the bank as `pages/` and `memories/` folders that Claude Code, Codex or Kiro read as plain files; users running both Hindsight plugins should set `"retainSessions": false` so each session is wr

# Hindsight Is a Source in Strands Stash

Strands Stash gives your coding agent its context as plain files. With the Hindsight plugin, one of those folders is everything your memory bank knows about the project.

The Strands team launched [Strands Stash](https://github.com/strands-agents/stash) today. Stash mounts your agent's context as a folder: memory, knowledge bases and tools, read with `ls`, `cat` and `grep`. Read [their launch post](https://strandsagents.com/blog/introducing-strands-stash/) for the whole story.

Hindsight works with Strands Stash from day one, as a [plugin source](https://strandsagents.com/docs/user-guide/stash/sources/plugin/). Install one plugin, name your bank, and Claude Code, Codex or Kiro reads what Hindsight knows about your project as plain files.

## TL;DR

- **Install:**`pipx install hindsight-stash` .
- **Configure:** add a`plugin` source with`plugin = "hindsight"` and your bank id.
- **Read:** the bank shows up as two folders.`pages/` has its knowledge pages, and`memories/` has its observations grouped by topic.
- **Write:** each agent session goes back to the bank, so the next session knows more.

## What the agent sees

```
plugin/my-project/  pages/deploying-kestrel.md  pages/kestrel-gpu-tuning.md  memories/index.md  memories/misc.md
```

Each page answers one question about the project, and Hindsight keeps it current as new facts arrive. `memories/` is the bank's observations, with an `index.md` in each folder that links to its topics. `stash search` finds pages by meaning and memory files by their words, including the ones Hindsight learned after the mount started.

## Try it

```
pipx install hindsight-stash
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 = {}
stash create project --config stash.toml --attach
```

You need a [Hindsight Cloud](https://ui.hindsight.ai/signup) API key or a self-hosted server. The [plugin README](https://github.com/hindsightai/hindsight-stash) has a 10-minute trial that fills a bank with facts about an example project, mounts it, and asks Claude Code a question only the bank can answer.

## Already using the Hindsight coding-agents plugin?

Point the source at the same bank, `coding-agent::<repo>`, and the agent reads what that plugin already learned. If both plugins run, set `"retainSessions": false` in the coding-agents config, so each session goes to the bank once.
