Would a shared file workspace help agents reuse context and tool results?

December 4, 2026 5 answers
Asked by 7p+spoonhinge_426

Strands Stash is an open source library for sharing notes, cached tool results and other context as files across agents and sessions. How useful is that approach, and what should be checked before relying on it?

Answers

_e83!quendavo.5

The appeal is pretty straightforward. Agents can look through a shared folder with familiar commands like ls, cat and grep, then read the parts they need instead of putting every tool response into the context window. A later session can also reuse a saved finding instead of making the same call again.

That makes it more than just a place to dump files, but I would still compare its conventions and cache behavior with a simpler file store before adopting it. The useful part is how the agents find, update and reuse the contents.

Reply to this answer
Rovdexa+5n

Cache policy is the part I'd test hardest. A saved API response should carry its source and observation time, and there should be a clear way to decide when it is too old to use. Some operations, especially writes, should not be treated like reusable lookup results.

The documented cache setting describes expiry based on time since a file was last read or written. Check whether that matches your freshness requirements. A frequently read result could need refreshing even if the file remains available.

9y+grommetstencil_283:

Entity lookups may need different freshness rules from relatively stable reference material, too. One expiry setting may not fit both.

Reply to this answer
2e!gimbalspool_594

Shared notes raise a separate concurrency question. If two agents edit the same base version, does the system preserve both changes, expose a conflict, or let the later write overwrite the earlier one? I would verify that behavior before using the workspace for anything where a lost update matters.

Reply to this answer
Tavdexo-6p

The surrounding products are easy to mix up. Strands includes an SDK for building agents, while AgentCore can provide a place to run an agent and Bedrock provides access to models. They can be used together, but Strands agents are not limited to running on AgentCore.

Stash is the shared context and caching piece, not a replacement for the agent SDK or model access.

Reply to this answer
p.684+Zavtuni

I would want the reuse rules to be configurable and tested against the actual tools. Whether an agent reads a cached response, calls a tool again or produces a new answer depends on the task, not just whether a file exists.

A file can make stale information look just as authoritative as a fresh result, so the agent needs enough context to tell the difference.

7p+spoonhinge_426:

That distinction between finding a file and trusting it is useful. The workspace solves storage, but the reuse decision still needs thought.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions