Skip to content

Snapshot

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

Point-in-time capture of agent state.

scope: Scope;

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

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


schemaVersion: string;

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

Schema version string for forward compatibility.


createdAt: string;

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

ISO 8601 timestamp of when snapshot was created.


data: Record<string, JSONValue>;

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

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


appData: Record<string, JSONValue>;

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

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