Skip to main content

All-in-one package for Hindsight - Semantic memory system with personality-driven thinking

Project description

hindsight-all

All-in-one package for Hindsight - Semantic memory system with personality-driven thinking for AI agents.

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.1.0.tar.gz (8.2 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.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_all-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 71d3f7d00bf656d4fb6d8cc2ae468cd7035f0db88aed6eb4622592277ccdc91e
MD5 98584b77b6ff6fc75c705a8a899969aa
BLAKE2b-256 5e9408aa0a9b76f7c805a5ae2f3c6f2826edff86bf7e7ae8925e3702e5aa7463

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_all-0.1.0.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: hindsight_all-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc87a0145f060d84e1e199ea68618b1ab6447c6d0eb92ad708b07b7f6c39f28
MD5 f6042741c1ed6f02f5a42a43837cb373
BLAKE2b-256 31938ea46a93ab576d06fc60c002e84f8476853b4a82cfadc07b4f37631a4b07

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_all-0.1.0-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