In depthGovernance subject1 min read

Session identifier

Session Identifier (session_id) is the ID that every run in a multi-turn conversation records, which ties the separate runs of one conversation together.

What it is.

Session Identifier (session_id) is the ID that every run in a multi-turn conversation records, which ties the separate runs of one conversation together. Where the runtime assigns its own session ID, that value is used unchanged.

What to consider.

Use these as a checklist when you review an agent. Tick each one you have covered.

0 of 4 covered
  1. Groups runs into conversations

    All the runs belonging to one conversation share the same session_id.

  2. Runtime value used as-is

    No reformatting, prefixing or replacing, so the value matches the runtime's own logs and toolsToolA named operation an agent can call to act outside its own context, such as reading a record or sending a message. A tool is served by a tool server (an MCP server), has an Effect and can be called only if it is on the agent's allowlist. exactly.

  3. Recorded where it applies

    Multi-turn conversations carry it. Single, standalone runs may not.

  4. Matching across systems

    The runtime's view of a conversation can be joined directly with the governed records of it.

Why it matters.

A conversation often spans many runs, and the runtime and the governance system each keep their own records.

Using the runtime's ID unchanged lines the two views up exactly. Investigators can follow a whole conversation end to end without translation tables or guesswork.

Words that go with it.

Stuck on another word?

Every AI governance term, explained in plain English.

Ready to get AI working in your business?

A 30 minute call. No pitch deck, no obligation. You leave with a clear view of where AI can help and what the first step looks like.