π¦ ClawHub
Agent Memory
by @dennis-da-menace
Persistent memory for AI agents to store facts, learn from actions, recall information, and track entities across sessions.
β‘ When to Use
π‘ Examples
from src.memory import AgentMemorymem = AgentMemory()
Remember facts
mem.remember("Important information", tags=["category"])Learn from experience
mem.learn(
action="What was done",
context="situation",
outcome="positive", # or "negative"
insight="What was learned"
)Recall memories
facts = mem.recall("search query")
lessons = mem.get_lessons(context="topic")Track entities
mem.track_entity("Name", "person", {"role": "engineer"})
TERMINAL
clawhub install agent-memory