Single chat() interface handles one-shot replies, multi-turn streams, human approval gates, and detached long-running tasks without framework swaps.
Summary
Eliminates context-switching between primitives as agents grow from chatbot to multi-step workflow. Typed state separation and pluggable persistence reduce memory-management bugs and let you choose client or server data residency to match compliance constraints.
Why it matters
Eliminates context-switching between primitives as agents grow from chatbot to multi-step workflow. Typed state separation and pluggable persistence reduce memory-management bugs and let you choose client or server data residency to match compliance constraints.
Implementation verdict
Replaces ad-hoc message buffering and tool execution loops in TypeScript/Go today (Python/Dart in roadmap). Requires configuring a session store (Firestore, in-memory, or custom) or accepting client-managed state payloads. Worth prototyping now if you need detached task polling or human-in-the-loop tool approval; ecosystem smaller than LangChain but full-stack story stronger.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.