fleet-memory/hindsight-integrations/strands/hindsight_strands/__init__.py
Ben 7fe773c0ee
feat: add Strands Agents SDK integration with Hindsight memory tools (#659)
* feat: add Strands Agents SDK integration with Hindsight memory tools

* fix: add strands docs to versioned docs so build link check passes

* fix(strands): run hindsight client calls in thread pool to avoid event loop conflict with Strands
2026-03-24 17:21:30 +01:00

39 lines
900 B
Python

"""Hindsight-Strands: Persistent memory tools for AI agents.
Provides Hindsight-backed tool functions for Strands agents,
giving them long-term memory via retain, recall, and reflect tools.
Basic usage::
from strands import Agent
from hindsight_strands import create_hindsight_tools
tools = create_hindsight_tools(
bank_id="user-123",
hindsight_api_url="http://localhost:8888",
)
agent = Agent(tools=tools)
agent("Remember that I prefer dark mode")
"""
from .config import (
HindsightStrandsConfig,
configure,
get_config,
reset_config,
)
from .errors import HindsightError
from .tools import create_hindsight_tools, memory_instructions
__version__ = "0.1.0"
__all__ = [
"configure",
"get_config",
"reset_config",
"HindsightStrandsConfig",
"HindsightError",
"create_hindsight_tools",
"memory_instructions",
]