Skip to main content

Memory Hub for AI agents. Typed graph memory with episodic/semantic/working surfaces, decision replay, utility-weighted edges, git-style branching, and zero-friction markdown ingest. Includes can(), plan(), and auto_remember() for agent coordination. Zero LLM cost.

Project description

🃏 HyperStack Python SDK

Cloud memory for AI agents. Zero dependencies. 3 lines to integrate.

Install

pip install hyperstack-py

Quick Start

from hyperstack import HyperStack

hs = HyperStack("hs_your_key")

# Store a memory
hs.store("project-api", "API", "FastAPI 3.12 on AWS", stack="projects", keywords=["fastapi", "python"])

# Search memories
results = hs.search("python")

# List all cards
cards = hs.list()

# Delete a card
hs.delete("project-api")

# Get usage stats
stats = hs.stats()
print(f"Saving {stats['savings_pct']}% on tokens!")

# Auto-extract from conversation text
hs.ingest("Alice is a senior engineer. We decided to use FastAPI over Django.")

Why HyperStack?

  • Zero dependencies — just Python stdlib
  • No LLM costs — memory ops are free
  • 94% token savings — ~350 tokens vs ~6,000 per message
  • 30-second setup — get key at cascadeai.dev

API Reference

Method Description
store(slug, title, body, stack, keywords) Create/update a card
search(query) Search cards
list(stack=None) List all cards
get(slug) Get one card
delete(slug) Delete a card
stats() Usage summary
ingest(text) Auto-extract memories

Get a free key

cascadeai.dev — 50 cards free, no credit card.

License

MIT © CascadeAI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyperstack_py-1.5.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

hyperstack_py-1.5.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file hyperstack_py-1.5.2.tar.gz.

File metadata

  • Download URL: hyperstack_py-1.5.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hyperstack_py-1.5.2.tar.gz
Algorithm Hash digest
SHA256 ccdd23c1ca67de764b4fac033f1c3c945d0f9137074cff08fa3caa52b70da156
MD5 2ab4f68c772446396e73c8029d0662da
BLAKE2b-256 07d3583739bb776cf7d48e1be2e357d21635efb751638fa171e61756dd1c5a25

See more details on using hashes here.

File details

Details for the file hyperstack_py-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: hyperstack_py-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hyperstack_py-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb6ef1589c10d4e42f36bafcc04e045ee99f83918ba42aca0ab691a9548146d
MD5 84e0d78089dbe6bc94c142b56c57e97c
BLAKE2b-256 808f0cbaceece758c16df964b9c8746cfcf804cf5b8bb3503d5dff9d0004367e

See more details on using hashes here.

Supported by

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