What is an agent session?

An agent session is a persistent record of one ongoing interaction between a user or system and an AI agent. It stores message history, tool calls and outputs, pending human approvals, and the pinned agent version so work can pause for hours and resume cleanly without mid-conversation behavior shifts.

By Sacha Arbonel, Founder and CTOLast updated
  • Also called
  • Conversation
  • Thread

Why does agent session matter?

Real business workflows rarely finish in a single synchronous HTTP request. Durable sessions keep multi-turn conversations coherent, survive approvals and page reloads, and guarantee that shipping a new agent version does not break chats already in progress.

A session holds everything about one conversation: the messages, the tool calls and results, and anything waiting for a person. Lasting sessions let an agent pause for hours, for example for an approval, and continue exactly where it stopped.

Sessions also decide which version of an agent answers. Keeping a conversation on the version it started with avoids surprises when a new version ships mid-conversation.

Key characteristics of agent session

  • Tracks the ordered transcript of user messages, model replies, tool calls, and tool results.
  • Holds pause-and-resume state when an action waits for human approval.
  • Pins the agent version at creation time so live upgrades only affect new conversations.
  • Scopes state to a single customer or tenant boundary.

Example in practice

How Norilu handles agent session

Frequently asked questions

What happens to active agent sessions when a new version is released?
In well-designed runtimes, active sessions stay pinned to the version they started on while newly created sessions route to the newly released version.
How is an agent session different from agent memory?
A session captures one specific conversation and its state, while long-term memory carries selected facts across multiple separate sessions.

Go deeper