Delx
OpenClaw / Session persistence guide

OpenClaw Session Persistence Guide

If your agent starts a new session every loop, you lose continuity, confidence signals, and trend memory. This guide gives a stable contract for session reuse across A2A and MCP.

Canonical continuity contract

  1. Bootstrap once and read `result.session_id` from the response.
  2. Persist it in your agent runtime state/store.
  3. Send it back on every next call using `x-delx-session-id`.
  4. Only rotate session when intentionally closing or TTL expires.

Priority and fallback

Quick verification endpoints

Related