stash-sdk
Python client for Stash — shared memory for AI agents. One dependency (httpx), fully typed.
pip install stash-sdk
from stash_sdk import Stash
stash = Stash() # reads STASH_API_KEY (and optional STASH_URL) from env
stash.push_event(
agent_name="my-agent",
event_type="user_message",
content="Can you rebook my Lisbon trip?",
session_id="sam:trip-114",
)
hits = stash.search_events("Lisbon")
Everything the API offers is a method on Stash: events and transcripts,
pages and folders, files, tables, and Skills. Errors raise StashError
with the API's status code and detail — nothing fails silently.
The full API reference lives at joinstash.ai/docs.
Metadata
Release files for stash-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stash_sdk-0.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stash_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / stash_sdk-0.1.0.tar.gz
| Download URL | stash_sdk-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f8f0e028685c55c30ae48c0033fd2aa65e3c661a5b9d9841f35b277bc20022
|
|
BLAKE2b-256 checksum How to use checksums |
d166e826dd67d5fcf842bfdb4eb34697f68b526563b11f989245b6d73d797639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 22, 2026.
Transparency logRelease files / stash_sdk-0.1.0-py3-none-any.whl
| Download URL | stash_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fc36865bd44cbf89d6198539cd18d964018c5b0ccfe02cdaaf01e714146dace
|
|
BLAKE2b-256 checksum How to use checksums |
63fc386cb41ee45ca6a66e164826bb8268a9a9929fbda3e08b652a2dada764aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 22, 2026.
Transparency log