s2://my-basin/agents/{run-id}) containing an ordered log of everything that happened — tool calls, LLM responses, state changes.
Streams can be created automatically on first append or read, to simplify setup.
Use Cases
Agents
Use S2 as the event log for agent sessions, so chats, tool calls, and state can be streamed live, resumed, and replayed later.
The typical pattern is a stream per agent run.
Each invocation gets its own stream (
In production, you would likely want to build around these same methods via our SDKs — in particular, via the Producer API, which handles batching and pipelining automatically.

