Skip to main content

Hindsight: Agent Memory That Works Like Human Memory - All-in-One Bundle

Project description

hindsight-all

All-in-one package for Hindsight - Agent Memory That Works Like Human Memory

Quick Start

from hindsight import start_server, HindsightClient

# Start server with embedded PostgreSQL
server = start_server(
    llm_provider="groq",
    llm_api_key="your-api-key",
    llm_model="openai/gpt-oss-120b"
)

# Create client
client = HindsightClient(base_url=server.url)

# Store memories
client.put(agent_id="assistant", content="User prefers Python for data analysis")

# Search memories
results = client.search(agent_id="assistant", query="programming preferences")

# Generate contextual response
response = client.think(agent_id="assistant", query="What languages should I recommend?")

# Stop server when done
server.stop()

Using Context Manager

from hindsight import HindsightServer, HindsightClient

with HindsightServer(llm_provider="groq", llm_api_key="...") as server:
    client = HindsightClient(base_url=server.url)
    # ... use client ...
# Server automatically stops

Installation

pip install hindsight-all

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

hindsight_all-0.4.9.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

hindsight_all-0.4.9-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file hindsight_all-0.4.9.tar.gz.

File metadata

  • Download URL: hindsight_all-0.4.9.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hindsight_all-0.4.9.tar.gz
Algorithm Hash digest
SHA256 a61b32373bf228f57b17eaf310245f2e38846130fb3cf61bb84fed4bf1bb7eab
MD5 96947c3af8bedf79d9c44fa778e4b808
BLAKE2b-256 3951d7b2408cd2edb4270143a44c82e292cb9796dccbb848df8d8521fe89024d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_all-0.4.9.tar.gz:

Publisher: release.yml on vectorize-io/hindsight

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

File details

Details for the file hindsight_all-0.4.9-py3-none-any.whl.

File metadata

  • Download URL: hindsight_all-0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hindsight_all-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 539870fd08173fbdf8bbb4bac72e9fa53f2c80151c000f220d3a715f22d7faa7
MD5 78a465a5236d97bd9d10a78c31607b28
BLAKE2b-256 978e2876fc1ea3b5d439e0d85ad19a2a5bcaf5775880f39a557f28afb4f7f495

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_all-0.4.9-py3-none-any.whl:

Publisher: release.yml on vectorize-io/hindsight

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

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