Agent sessions that survive a restart and can be audited later
Record every request, reply, model call, tool call and state change of a session on a durable log, in order. A restarted worker reads the session back and continues, other agents share the same context, and risk teams can replay what happened.
Agents and tools
- Your agent code
- Model calls
- Tool calls and results
- Human approvals
Write with the Laser SDK
- Rust, Python, TypeScript
- A2A, MCP and AG-UI bridges
- Declared context policies
The SDK records model calls. It never calls a model.
Durable session log on LaserData
- One ordered history per conversation
- Shared across agents and handoffs
- Workflows resume without repeating finished steps
- Replay from saved offsets
What your agents read
- Context window
- Memory
- Key-value state
- Views and graph
State, views and graph need LaserData Cloud or Laser Stack.
Why agents break in production
Agent demos run in one process. Production agents run across pods, models, tools and people, and the data that ties a session together ends up scattered.
- State lives in five places
- Context in a cache, memory in a vector store, state in a database, handoffs on a queue. They disagree, and nobody can say in what order things happened.
- A restart loses the agent's place
- A pod restart in the middle of a workflow loses the agent's position. Tool calls run twice or never, and the user explains everything again.
- Audits run on fragments
- Logs are sampled, traces expire and prompts sit in a vendor console. Answering why an agent did something takes days.
- Every prompt change is a gamble
- Offline evaluations rarely match production traffic, so regressions surface as incidents and support tickets.
What a durable session changes in the architecture
Instead of each agent team building its own mix of queues, caches and stores, every session is recorded on one log and the rest is derived from it.
One ordered log per conversation
A session records the requests, replies, model calls, tool calls and state changes of one unit of work. Records are appended, never updated in place.
Resume without repeating finished steps
Each completed workflow step is journaled, so a resumed run returns the recorded value without running that step again. Delivery is at least once, so handlers stay idempotent.
Shared across agents
Triage, diagnosis and resolver agents read and write the same session, so a handoff keeps the full context.
Derived from the log
Sessions, context, memory, workflows and agents run on plain Apache Iggy. Key-value state, views, the change feed, graph, consumer filters and forks work on LaserData Cloud, and locally on Laser Stack. On plain Apache Iggy the call returns an unsupported error.
Context as declared policy
The prompt window is a policy in code, such as the last 20 turns within a token budget, reviewed like any other change.
Your model, your deployment
The SDK records which model produced an output, but it never calls a model. LaserData Cloud runs as Managed, as BYOC in your AWS or GCP account, or On-Premise.
What it means for each team
Reliability, auditability and release speed land with different owners. A durable session helps each of them.
| Team | What they get |
|---|---|
| Support and operations | Users do not start over A restarted worker reads the session back from the log and continues, instead of opening a new conversation. |
| Risk and compliance | A record of why an agent acted Model calls, tool calls, state changes and approvals are records on an append-only log that can be read back or replayed. |
| AI platform teams | Tests on real sessions Replay a recorded session through your own evaluation code to try a new prompt, model or policy before it ships. |
| Engineering leadership | Less glue code to own One client covers streaming, queries, key-value state, graphs, agent memory, durable workflows and agent coordination. No separate orchestration server is required. |
Where it fits
Multi-agent support
Triage, diagnosis and resolver agents working one ticket together.
Agent governance
A replayable record of agent steps, with pre-action policy and session budgets.
Human-in-the-loop
Durable approval records kept in the same history as the actions they authorize.
Long-running workflows
Agent work that spans hours or days and has to survive restarts.
Agent memory
Facts that any agent can remember, supersede and recall, kept on the log.
Languages and protocol bridges
- Rust
- Python
- TypeScript
- A2A
- MCP
- AG-UI
The Laser SDK is Apache-2.0 and has no adapters for agent frameworks. Your agent code calls it directly. Explore the agent primitives.
Common questions
What is a durable agent session?
A session records the requests, replies, model calls, tool calls and state changes of one unit of work on an append-only log, so it can be read back or replayed. Because the record is durable, a restarted worker can continue the work, several agents can share the same context, and teams can audit the session later.
Do we have to replace our agent framework?
No. The Laser SDK is a library for Rust, Python and TypeScript that your agent code calls. It never calls a model and it ships no framework adapters, so it does not depend on a particular framework. Agent routing, contracts, fan-out and workflows run as client-side state machines and do not require a separate orchestration server. External clients connect through the A2A, MCP and AG-UI bridges.
How is this different from storing chat history in a database?
A chat table stores messages. A session log stores every record in order, including model calls, tool calls and state changes, and context and memory are derived from it. That is what makes resuming after a restart, replay and sharing across agents possible.
Which models does it work with?
The SDK never calls a model. Your code calls whichever model it uses, and the SDK records which model produced an output. The history lives on the log, not with a model provider.
Is delivery exactly once?
No. Delivery is at least once. Exactly-once effects need an application idempotency key and durable storage of processed keys. Completed workflow steps are journaled, so a resumed run does not run them again.
Where does it run?
Sessions, context, memory, workflows and agents run on plain Apache Iggy. Key-value state, views, the change feed, graph, consumer filters and forks work on LaserData Cloud, and locally on Laser Stack. On plain Apache Iggy the call returns an unsupported error. LaserData Cloud is available as Managed, as BYOC in your AWS or GCP account, and On-Premise. All three models use the same Warden agent, Console UI, and APIs.
Bring one agent workflow. We'll show you what it looks like on a durable session.
Pick the workflow where a failure or an audit question hurts most. We'll map it with you and plan a pilot.