Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

Stash Strands memory manager for Python

StrandsStash gives a Strands agent a Stash mount. It is a MemoryManager that builds the Stash memory store, puts the session context of the mount in the system prompt, and turns off the search on each turn. init_agent runs inside Agent(...), so a mount that does not serve fails there.

from stash_strands import StrandsStash
from strands import Agent

agent = Agent(
    memory_manager=StrandsStash(
        config_path="stash.toml",
        session_id="session-123",
        mount_name="team-memory",
    ),
)
  • By default, the agent gets the tools of stash mcp. agent.cleanup() stops that client. Pass mcp=False to give the agent a shell instead, such as the vended Strands shell.
  • Pass exclude_tool_blocks=True to write back the words of each turn only. flush() writes the turns that Strands has not sent yet.
  • Agent(...) blocks its thread while the manager runs. In an event loop, use await asyncio.to_thread(lambda: Agent(...)).

The user guide has the config, the install, and each option. The integration README says how the manager works, and how to run the tests.

Metadata

Release files for strands-stash-memory-manager 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for strands-stash-memory-manager 0.1.0
File Size Uploaded Provenance Actions
strands_stash_memory_manager-0.1.0.tar.gz 36.8 kB With provenance Details for strands_stash_memory_manager-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for strands-stash-memory-manager 0.1.0
File Interpreter ABI Platform Actions
strands_stash_memory_manager-0.1.0-py3-none-any.whl Python 3 none any Details for strands_stash_memory_manager-0.1.0-py3-none-any.whl

Total release size: 59.9 kB

Release files / strands_stash_memory_manager-0.1.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL strands_stash_memory_manager-0.1.0.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c500a98226c99edfe7cf2324c0aa9cc47cd75a1abe6799391b2892c327875f32
BLAKE2b-256 checksum
How to use checksums
a70f0ae6222811af4b45a576540eba0fb562e85b911b646dc9757a8f69695b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / strands_stash_memory_manager-0.1.0-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL strands_stash_memory_manager-0.1.0-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e823b48beceb2b4d622c3602bb983e1fd760916cd802ca48476e996120306917
BLAKE2b-256 checksum
How to use checksums
4b4102b18ee0c6dd2d6ed91d94204327bbda501c28a223f15a2cfb130f354577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for strands-stash-memory-manager 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for strands_stash_memory_manager-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page