Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

strands-dakera (Python)

Persistent, decay-weighted memory for Strands Agents, backed by a self-hosted Dakera server.

See the repository README for full usage. Quick start:

pip install strands-dakera

As an explicit tool:

from strands import Agent
from strands_dakera import dakera_memory

agent = Agent(tools=[dakera_memory])

Or as a MemoryStore that plugs into the agent loop (Strands ≥ 1.45):

from strands import Agent
from strands.memory import MemoryManager
from strands_dakera import DakeraMemoryStore

store = DakeraMemoryStore(agent_id="alex", writable=True, extraction=True)
agent = Agent(memory_manager=MemoryManager(stores=[store]))

Local development

pip install hatch
hatch run test        # run the test suite (mocked client, no live server)
hatch run lint        # ruff
hatch run typecheck   # mypy
hatch run prepare     # format + lint + typecheck + test

Release

Tag a GitHub release with a python-v* tag (e.g. python-v0.1.0); the publish-python workflow builds the wheel and publishes it to PyPI via trusted publishing.