Strands Agents Typescript SDK
    Preparing search index...

    Interface SessionManagerConfig

    interface SessionManagerConfig {
        storage: { snapshot: SnapshotStorage };
        sessionId?: string;
        saveLatestOn?: SaveLatestStrategy;
        snapshotTrigger?: SnapshotTriggerCallback;
    }
    Index

    Properties

    storage: { snapshot: SnapshotStorage }

    Pluggable storage backends for snapshot persistence. Defaults to FileStorage in Node.js; required in browser environments.

    sessionId?: string

    Unique session identifier. Defaults to 'default-session'.

    saveLatestOn?: SaveLatestStrategy

    When to save snapshot_latest. Default: 'invocation' (after each agent invocation completes). See SaveLatestStrategy for details.

    snapshotTrigger?: SnapshotTriggerCallback

    Callback invoked after each invocation to decide whether to create an immutable snapshot.