Supported harnesses and frameworks
One mount serves any harness. You set up the mount once, then connect each agent that needs it. The agents read the same files, and their sessions feed the same sources.
| Harness or framework | How it connects | Page |
|---|---|---|
| Claude Code | stash attach | Claude Code |
| Codex | stash attach | Codex |
Kiro (kiro-cli chat --v3) | stash attach | Kiro |
| Strands Agents, in Python and TypeScript | the StrandsStash memory manager | Strands Agents |
Any other agent with a shell can use a mount too. It reads the files, and runs
stash search, stash tool call, and stash note save. Any MCP client can run
stash mcp NAME as a server. Without hooks, Stash doesn’t capture its turns.
Where Stash runs
Section titled “Where Stash runs”Stash runs where the agent runs: on a laptop, in a container, on Amazon Bedrock AgentCore Runtime, or inside a Strands Box sandbox. It supports Linux (x86_64 and arm64, glibc 2.17 or later) and macOS on Apple silicon. See Deploy on AgentCore Runtime and Run an agent in a box.
What a coding agent gets
Section titled “What a coding agent gets”For Claude Code, Codex, and Kiro, stash attach writes three things into the files that
the harness reads:
- a steering block that tells the agent where its context is, and how to use it;
- hooks that warm the mount at session start, capture each turn, and ask for notes;
- the
stashMCP server, unless you attach in CLI mode.
Stash owns only its own entries, and keeps each byte outside them. See Attachment modes for the steering block, the hooks, and the choice between MCP and CLI mode.
Attach every session
Section titled “Attach every session”A global attach applies to each session of the harness, in any folder:
stash attach ops --globalYou can’t attach your home folder as a workspace, because its files are the files of a
global attach. Use --global instead.
Detach
Section titled “Detach”stash detach # this folderstash detach --global # the harness homesdetach takes no mount name. It removes the hooks, the steering block, and the stash
server. A file that held only Stash content goes away.
Let the agent set it up
Section titled “Let the agent set it up”The repository has agent skills in
skills/. They work in Claude
Code, Codex, and Kiro:
/stash-setupinstalls Stash, writes the mount config, creates the mount, and attaches your folder./stash-import-mcp-serversmoves the MCP servers that your harness uses into the mount./stash-diagnosefinds why Stash doesn’t work in a folder.
Next steps
Section titled “Next steps”- Quickstart: create and attach your first mount.
- Attachment modes: choose MCP or CLI mode.
- Secure Stash: limit what an attached agent can reach.