* feat(embed): add programmatic UI (control plane) management Add ability to start/stop the web UI from hindsight-embed, with configurable port (default: daemon_port + 10000) and hostname (default: 0.0.0.0). Uses npx to run the published control plane package, or node directly in dev mode. New CLI commands: hindsight-embed ui start [--port PORT] [--hostname HOST] hindsight-embed ui stop [--port PORT] hindsight-embed ui status [--port PORT] hindsight-embed ui logs [-f] [-n N] New programmatic API: daemon_client.start_ui(profile, ui_port, hostname) daemon_client.stop_ui(profile, ui_port) daemon_client.is_ui_running(profile, ui_port) daemon_client.get_ui_url(profile, ui_port) * feat(embed): expose UI management on HindsightEmbedded Add start_ui(), stop_ui(), is_ui_running(), and ui_url property to HindsightEmbedded so the UI can be started programmatically: client = HindsightEmbedded(profile="myapp", ...) client.start_ui() # starts daemon + UI print(client.ui_url) |
||
|---|---|---|
| .. | ||
| hindsight | ||
| tests | ||
| pyproject.toml | ||
| README.md | ||
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