SI Agent News
← All news

AWS open-sources Strands Stash to manage context for Claude Code and Codex

AWS released Strands Stash, which keeps agent context in files instead of the model's window, though it may not help shorter tasks.

3 min readMade with AI

The short version

  • Stash is in preview for Linux and Apple silicon Macs.
  • The quickstart guide does not require an AWS account.
  • Harness optimization in Strands Evals lifted Claude Haiku 5.5 from 60% to 99% in one benchmark.
  • Strands Decider v2 is a family of open-weight models released last week.
  • Rust cold starts: On AWS Lambda, the Rust version of Strands recorded median cold starts of 50 milliseconds, against 2,428 milliseconds for Python.

What Strands Stash does

An AI agent may need only a few lines from a document, yet a whole tool response can land in its context window. Amazon Web Services (AWS) is trying to fix that with Strands Stash, a new open source tool announced in a blog post on Tuesday.

The New Stack reports that Stash lets agents manage context through a filesystem. A small background program runs next to the agent. It exposes memory stores, knowledge bases, MCP servers and other sources as Markdown and JSON files in one directory.

Every source sits in its own subfolder. The report says a descriptive page under _sources/ explains what each one contains and how to access it. To add a source, developers can use a few lines of configuration or a plugin.

Why it matters

A developer using Claude Code or Codex could keep notes and memory in one folder and carry them between harnesses. The report says Stash is in preview and may not pay off on short tasks.

How agents use the files

When a tool returns a large result, Stash saves the full output to a file, as long as it fits the configured storage limits. The agent gets a short preview and the file path. The rest stays out of the context window until the agent needs it.

Agents already know how to work with filesystems. With shell commands such as ls, cat and grep, an agent can find, read and filter data. For example, an agent querying customer order records could isolate refunded orders without sending every record to the model.

Why AWS built it

AWS says developers often truncate tool results, trim context windows or build custom tools for single data sources. Those workarounds can hurt agent performance and make switching harnesses harder. The blog authors write that such fixes "still leave agent state tied to its harness."

Because the context lives in a filesystem apart from the harness, notes and memory can persist across sessions and across different harnesses. An agent can also share its workspace with sub-agents where supported.

Compatibility, setup and limits

Stash works with Claude Code and Codex, plus AWS's Kiro and Strands Agents. It ships with built-in integrations for Bedrock AgentCore Memory and Bedrock Knowledge Bases, and it supports Model Context Protocol (MCP) servers.

Developers can install it with npm (npm install -g @strands-agents/stash) or Python (pipx install strands-stash). A standalone script is also on GitHub. The stash configure command sets up sources, and stash attach connects a harness.

Stash is in preview for Linux and Apple silicon Macs. AWS published a quickstart guide that needs no AWS account. AWS acknowledges that for shorter tasks with small tool results, the extra overhead of navigating the filesystem may outweigh the benefits.

Other AWS agent cost work

Stash is the latest addition to the Strands family. It began with Strands Agents, an open source SDK AWS introduced last year. In September AWS open-sourced Strands Harness, a general-purpose agent it claimed could match Claude Code and Codex at a 28% lower token cost.

This week AWS also added harness optimization to Strands Evals, its open source evaluation toolkit. It automates tuning of system prompts, tool descriptions, skills and other settings against a developer's own test cases. In one telecom customer service benchmark, Claude Haiku 5.5's task success rate rose from 60% to 99% while token costs fell 16%. Other benchmarks showed higher accuracy sometimes came with higher token use.

Strands in Rust and Decider v2

AWS also brought Strands Harness and its SDK to Rust in developer preview. Arron Bailiss, a principal engineer at AWS, points to agents showing up in serverless computing, robotics and edge devices. He writes that startup time, memory and concurrency really matter in those places.

On AWS Lambda, the Rust version showed median cold start times of 50 milliseconds. TypeScript came in at 635 milliseconds and Python at 2,428 milliseconds. Rust also used roughly a quarter of the memory of the other two. Anthropic's Claude Code is not part of this test, but the same week AWS open-sourced Strands Factory, an autonomous software development system built on Strands Harness and its SDK, and used it to build the Rust version.

The questions people ask

What it means for you

A developer who runs Claude Code, Codex, Kiro or Strands Agents and wants context to carry across harnesses should look at Stash.

Who gains

Large tool results stay in files, so the agent sees a preview and a path instead of the full output. That frees context space and tokens.

How solid is it

Mixed. The evidence is AWS's own blog posts and benchmarks. AWS itself says Stash may not help shorter tasks, and some benchmarks showed higher token use.

What you can do

Try the quickstart on Linux or an Apple silicon Mac if your agents handle long tasks with big tool results. Skip it for short, small jobs.

What to watch

  • Will Stash move beyond preview and support more than Linux and Apple silicon Macs?
  • How much overhead does filesystem navigation add on shorter tasks, which AWS says may outweigh the benefits?
  • Will other benchmarks of harness optimization keep trading accuracy for higher token use?
Up nextSachin Sharma open-sources Claude-BugHunter, a bug bounty toolkit for Claude Code

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.

More AI news