Skip to content

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 frameworkHow it connectsPage
Claude Codestash attachClaude Code
Codexstash attachCodex
Kiro (kiro-cli chat --v3)stash attachKiro
Strands Agents, in Python and TypeScriptthe StrandsStash memory managerStrands 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.

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.

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 stash MCP 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.

A global attach applies to each session of the harness, in any folder:

Terminal window
stash attach ops --global

You can’t attach your home folder as a workspace, because its files are the files of a global attach. Use --global instead.

Terminal window
stash detach # this folder
stash detach --global # the harness homes

detach takes no mount name. It removes the hooks, the steering block, and the stash server. A file that held only Stash content goes away.

The repository has agent skills in skills/. They work in Claude Code, Codex, and Kiro:

  • /stash-setup installs Stash, writes the mount config, creates the mount, and attaches your folder.
  • /stash-import-mcp-servers moves the MCP servers that your harness uses into the mount.
  • /stash-diagnose finds why Stash doesn’t work in a folder.