Skip to main content

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.

By Nicolò Boschi
· 3 min read

Hindsight is a source in Strands Stash: the bank mounted as a folder of pages and memories

The Strands team launched Strands 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 for the whole story.

Hindsight works with Strands Stash from day one, as a plugin source. 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 API key or a self-hosted server. The plugin README 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.

Learn more​