Skip to main content

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

stash_sdk-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stash_sdk-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for stash_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49f8f0e028685c55c30ae48c0033fd2aa65e3c661a5b9d9841f35b277bc20022
MD5 7d3464c0bbdd775a145ed0271bebbb11
BLAKE2b-256 d166e826dd67d5fcf842bfdb4eb34697f68b526563b11f989245b6d73d797639

See more details on using hashes here.

Provenance

The following attestation bundles were made for stash_sdk-0.1.0.tar.gz:

Publisher: publish.yml on Fergana-Labs/stash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for stash_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc36865bd44cbf89d6198539cd18d964018c5b0ccfe02cdaaf01e714146dace
MD5 4dd3843b71c460790374fe2998d70a4f
BLAKE2b-256 63fc386cb41ee45ca6a66e164826bb8268a9a9929fbda3e08b652a2dada764aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for stash_sdk-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Fergana-Labs/stash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page