Explicit lifecycle
Remember, improve, and forget are deliberate operations, not hidden vector-store side effects.
Agent primitivesMemory
Remember, recall, improve, and forget on top of a durable log. Memory changes remain inspectable while retrieval can grow from recent facts to semantic search.
memory = laser.memory("assistant")
first = ls.new_conversation_id()
city = await memory.remember(
"Lives in Gdansk", conversation=first, user="user-42"
)
# a later conversation corrects the fact
second = ls.new_conversation_id()
await memory.supersede(
city, "Lives in Lisbon", conversation=second, user="user-42"
)
facts = await memory.recall(user="user-42", limit=10)Auditable recall
Remember, improve, and forget are deliberate operations, not hidden vector-store side effects.
Trace a recalled fact back through the changes that produced its current form.
Start with deterministic recency and add semantic retrieval or reranking when needed.
Combine transport, prompt assembly, recall, relationships and live views without stitching together disconnected systems.
Laser Stack runs the whole stack locally in Docker. LaserData Cloud runs it for you.