Skip to main content
SharedState provides a single source of truth for all agents in a workflow. No more passing data around or wondering who has the latest version.

Basic Usage

Nested Access

Use dot notation for nested paths:

Versioning

Every change increments the version:

Snapshots

Save and restore state:

State History

Track what changed:

Watching for Changes

Atomic Updates

Multiple changes as one version:

Getting All State

Best Practices

research.findings.primary is better than data.a.b.
Easy rollback if something goes wrong.
Helps debug what happened.