Skip to content

Commit b8268ac

Browse files
committed
fix: clarify design
1 parent 1f68c5a commit b8268ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

designs/snapshot-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ The intent is that anything stored or restored by session-management would be st
4747

4848
### Contract
4949

50-
- **`metadata`**Caller-owned. Strands does not read, modify, or manage this field. Use it to store checkpoint labels, timestamps, or any application-specific data.
50+
- **`metadata`**Application-owned. Strands does not read, modify, or manage this field. Use it to store checkpoint labels, timestamps, or any application-specific data without the need for a separate/standalone object/datastore.
5151
- **`type` and `state`** — Strands-owned. These fields are managed internally and should be treated as opaque. The format of `state` is subject to change; do not modify or depend on its structure.
5252
- **Serialization** — Strands guarantees that `type` and `state` will only contain JSON-serializable values.
5353

5454
### Future Concerns
5555

56-
- Snapshotting for MultiAgent constructs: This proposal would
56+
- Snapshotting for MultiAgent constructs - Snapshot is designed in a way that the snapshot could be reused for multi-agent with a similar api
5757
- Providing a storage API for snapshot CRUD operations (save to disk, database, etc.)
5858
- Providing APIs to customize serialization formats
5959

0 commit comments

Comments
 (0)