Registry / llm-agents / hindsight-client

hindsight-client

JSON →
library0.6.1pypypi✓ verified 79d ago

Python client for Hindsight, a semantic memory system with personality-driven thinking. Current version 0.6.1, requires Python >=3.10. Released under MIT license. Development is active with regular updates.

pip install hindsight-client
INSTALL
IMPORT
SIG · HINDSIGHT-CLIENT
H
hindsight-client
llm-agentspythonv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hindsight
from hindsight_client import Hindsight
from hindsight_client import Client
hindsight_client
import hindsight_client
from hindsight_client import Client
ApiClient
from hindsight_client_api import ApiClient
from hindsight_client import Client

Initialize client with API key and base URL, then call think() to generate a response.

from hindsight_client import Client client = Client( api_key=os.environ.get('HINDSIGHT_API_KEY', ''), base_url="https://api.example.com" ) response = client.think(prompt="Tell me about semantic memory", personality="analytical") print(response['text'])
Debug
Known issues
breakingAPI key is required; missing key raises a ValueError on first call. Always set HINDSIGHT_API_KEY environment variable.
fix
Set environment variable before using client: export HINDSIGHT_API_KEY='your_key'
affects: all
gotchaClient instantiation does not validate the API key; validation happens on first request. A typo in the key will only surface then.
fix
Call client.validate() immediately after construction to test credentials.
affects: all
deprecatedThe 'personality' parameter in think() used to accept a string like 'logical', but now expects a Personality enum member.
fix
Use from hindsight_client import Personality; response = client.think(prompt=..., personality=Personality.LOGICAL)
affects: >=0.6.0
Upgrade
Version history
0.6.1latest on PyPI · released May 8, 2026
Audit
Dependencies
requestsrequiredHTTP client for API calls
pydanticrequiredData validation and settings
Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
hindsight-client — pip install hindsight-client · libregistry