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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stash_sdk-0.1.0.tar.gz.
File metadata
- Download URL: stash_sdk-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49f8f0e028685c55c30ae48c0033fd2aa65e3c661a5b9d9841f35b277bc20022
|
|
| MD5 |
7d3464c0bbdd775a145ed0271bebbb11
|
|
| BLAKE2b-256 |
d166e826dd67d5fcf842bfdb4eb34697f68b526563b11f989245b6d73d797639
|
Provenance
The following attestation bundles were made for stash_sdk-0.1.0.tar.gz:
Publisher:
publish.yml on Fergana-Labs/stash
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stash_sdk-0.1.0.tar.gz -
Subject digest:
49f8f0e028685c55c30ae48c0033fd2aa65e3c661a5b9d9841f35b277bc20022 - Sigstore transparency entry: 2560267341
- Sigstore integration time:
-
Permalink:
Fergana-Labs/stash@bf61423d745a021b3db3fbe2969de0b0e44336be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Fergana-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bf61423d745a021b3db3fbe2969de0b0e44336be -
Trigger Event:
push
-
Statement type:
File details
Details for the file stash_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stash_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fc36865bd44cbf89d6198539cd18d964018c5b0ccfe02cdaaf01e714146dace
|
|
| MD5 |
4dd3843b71c460790374fe2998d70a4f
|
|
| BLAKE2b-256 |
63fc386cb41ee45ca6a66e164826bb8268a9a9929fbda3e08b652a2dada764aa
|
Provenance
The following attestation bundles were made for stash_sdk-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Fergana-Labs/stash
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stash_sdk-0.1.0-py3-none-any.whl -
Subject digest:
3fc36865bd44cbf89d6198539cd18d964018c5b0ccfe02cdaaf01e714146dace - Sigstore transparency entry: 2560268278
- Sigstore integration time:
-
Permalink:
Fergana-Labs/stash@bf61423d745a021b3db3fbe2969de0b0e44336be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Fergana-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bf61423d745a021b3db3fbe2969de0b0e44336be -
Trigger Event:
push
-
Statement type: