AWS open-sources Strands Stash so Claude Code and Codex can pull context from a single folder
An AI agent might need just a handful of lines from a document or database to complete a task, yet
Amazon Web Services (AWS) has released Strands Stash, an open-source tool designed to help AI agents efficiently manage their context. This tool enables agents to store context in a filesystem, allowing them to access data from various sources, such as memory stores, knowledge bases, and MCP servers, without consuming valuable context space or tokens from the model.
Strands Stash addresses the issue of agents consuming excessive context when handling large tool results, which can lead to inefficiencies and higher token costs. By providing agents with a filesystem-like interface, Strands Stash allows them to navigate and retrieve relevant data using familiar shell commands like ls, cat, and grep. This means that agents can isolate and work with specific information, such as customer order records, without sending all the data to the model.
The tool works alongside other components of AWS's Strands family, such as Strands Agents and Strands Harness. Agents can use Strands Stash to store context files in a directory structure, with each source having its own subfolder. Developers can add new sources through configuration or plugins, ensuring consistent access to data across different sources.
Strands Stash is compatible with Claude Code, Codex, AWS's Kiro, and Strands Agents, and it comes with built-in integrations for AWS services like Bedrock AgentCore Memory and Bedrock Knowledge Bases, as well as support for Model Context Protocol (MCP) servers. However, it may not always provide benefits for shorter tasks with small tool results due to the additional overhead of navigating the filesystem.
AWS also introduced harness optimization in Strands Evals, an open-source agent evaluation toolkit, which automates the process of tuning harness settings to improve agent performance. Additionally, the company is expanding the Rust implementation of Strands Harness to improve startup time, memory usage, and concurrency for agents, particularly in resource-constrained environments like serverless computing, robotics, and edge devices.
Rewritten by urgent.news; may contain errors โ check the original.
Source: thenewstack.io
Read the original at thenewstack.io โ
More from The New Stack on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up