Skip to content

Snapshot

Defined in: src/agent/snapshot.ts:55

Point-in-time capture of agent state.

scope: Scope;

Defined in: src/agent/snapshot.ts:59

Scope identifying the snapshot context (agent or multi-agent).


schemaVersion: string;

Defined in: src/agent/snapshot.ts:64

Schema version string for forward compatibility.


createdAt: string;

Defined in: src/agent/snapshot.ts:69

ISO 8601 timestamp of when snapshot was created.


data: Record<string, JSONValue>;

Defined in: src/agent/snapshot.ts:74

Agent’s evolving state (messages, state, systemPrompt). Strands-owned.


appData: Record<string, JSONValue>;

Defined in: src/agent/snapshot.ts:79

Application-owned data. Strands does not read or modify this.