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.0.21.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.0.21-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_all-0.0.21.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.0.21.tar.gz
Algorithm Hash digest
SHA256 4785d42bea5fe93df3ecc3371d492a36f945627a5d0a71f96746d3802b266e95
MD5 fe8c86eb7b97bb584dc5fb587b1d1290
BLAKE2b-256 53f2b007ce0dd33bf2ed0cb55b0d20a94978e90686e5b2ed67758917faf260f5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hindsight_all-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 c652711c3508f4f2f834ea8f74bc1713170ee7ee0667c3dd58d276ef688da3c1
MD5 28801c0e2963426b589bbeb14e7657b9
BLAKE2b-256 c3139daf9061c53ca73a00308d84a697349b06519646f042d8b0922378f44466

See more details on using hashes here.

Provenance

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