Agent primitivesMemory

Remember what matters, and why.

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

A durable foundation. Not another integration.

Explicit lifecycle

Remember, improve, and forget are deliberate operations, not hidden vector-store side effects.

Auditable history

Trace a recalled fact back through the changes that produced its current form.

Pluggable retrieval

Start with deterministic recency and add semantic retrieval or reranking when needed.

Built forPersonalized assistantsAgent learningLong-lived workflows

Eight primitives. One durable history.

Combine transport, prompt assembly, recall, relationships and live views without stitching together disconnected systems.

Try every primitive on your laptop. Then run it in production.

Laser Stack runs the whole stack locally in Docker. LaserData Cloud runs it for you.