AI coding agents keep running into the same wall: every session starts by loading a giant memory file, and every long investigation stuffs its results back into the model's context window. On December 1, Amazon Web Services open-sourced a fix. Strands Stash, a new tool from the Strands Agents project, gives agents a shared workspace where context lives as files on disk, so each model request uses only what it actually needs.
Strands Stash is released under the Apache 2.0 license and is currently in preview, according to the Strands Agents blog. It works with Claude Code, Codex, Kiro, and agents built on the Strands SDK, and it runs wherever the agent runs: on a laptop, in a container, on Amazon Bedrock AgentCore Runtime, or inside a Strands Box sandbox.
One folder instead of one giant memory file
The problem Strands Stash attacks is familiar to anyone who has run a coding agent for more than a few sessions. Memory usually lives in a single markdown file that loads in full at the start of every session. One developer's file had grown to 35,000 tokens, according to a report on the launch, which means tens of thousands of tokens are spent before the agent does any work at all.
Strands Stash takes a different approach. A small daemon runs next to the agent and mounts its context sources as one folder of Markdown and JSON files. The agent then reads that folder with the tools it already knows: ls, grep, cat, and jq. Instead of loading everything, it searches for the entry a step needs and reads only that entry.
The same idea applies to tool results. When an agent calls a tool that returns a large result, Strands Stash saves the full result to a file and shows the agent a preview and a path. The agent can then read selected records from the cached file on a later turn, without sending the whole result to the model up front or querying the source again while the file is still cached.
What Strands Stash connects to
Strands Stash mounts several kinds of sources behind that single folder. According to the Strands documentation, it can connect to AgentCore Memory, knowledge bases reached through AgentCore Gateway, and MCP servers, alongside its own entries for conversations and tool results. AWS Context, the governed context graph that recently became generally available, is one of the sources Stash can connect to, as covered in an earlier report on AWS Context.
Connecting a coding agent takes one command. Running stash attach writes three things into the files 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 and capture each turn, and the Stash MCP server, unless the user attaches in CLI mode. One mount serves any harness, so the same folder can feed Claude Code, Codex, Kiro, and Strands agents in turn.
The shared folder also changes how agents hand work to each other. Because every agent reads the same files and their sessions feed the same sources, something one agent learns can be found by another. A note written by Claude Code during an investigation is searchable by Kiro in the next session, without either agent copying context between them.
The numbers from the re:Invent demo
Strands Stash was presented at AWS re:Invent 2026, where speakers ran it through a live incident: slow checkouts, with Claude Code as the agent. In the recorded runs, the same answers came back with 40 percent less context at the end of the session, according to a recap of the re:Invent talk. Input tokens fell by 23 percent and model cost by 18 percent in those runs.
Those figures come from a vendor demonstration, not an independent benchmark, and the gains depend on the workload. A developer digest of the launch notes that the overhead may not pay off for short tasks, where there is little context to save. The benefit grows with session length, which is where context costs compound fastest.
That framing fits the wider direction of agent tooling at re:Invent. The conference also brought AWS Context to general availability, Claude Managed Agents for Amazon Bedrock into preview, and automated-reasoning guardrails in AWS Greenlight, all aimed at agents that run longer, touch more systems, and need their context managed rather than merely expanded.
Why shared context matters now
Strands Stash arrives as the agent ecosystem converges on a simple idea: context is the scarce resource, not model capability. Long-horizon agents accumulate memory, tool outputs, and retrieved knowledge across hours of work, and every token of it costs money and attention. Tools that let agents fetch context on demand, instead of carrying it all, are becoming as important as the models themselves.
The same shift is visible across the ecosystem. Approval workflows are being pulled into AI assistants through MCP servers, as covered in a recent report on MCP-based approval tools, and governed context graphs are feeding agents through standard protocols. Strands Stash extends that pattern to the agent's own memory, treating it as a mounted filesystem rather than a prompt.
For teams running several coding agents side by side, the pitch is practical: one folder, searchable by every harness, with large results cached on disk instead of billed into every turn. The project is open source, so the workspace itself can be inspected, extended, and run anywhere the agent runs.
Sources: Strands Agents blog, Automater coverage, The Space Channel, re:Invent Day 3 recap.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.