Overview
Recipes for common SNA integrations.
Task-shaped recipes for the patterns we get asked about most.
Streaming completions
Token-by-token UX for one-shot prompts and runOnce.
Permission flows
Wiring approval UIs and safe-tool allowlists.
Multi-runtime sessions
Switch runtimes mid-thread without losing history.
Embedding SNA in an app
Patterns for embedding SNA inside a product.
One-shot jobs
Use completion, runOnce, and runOnceStream for product tasks.
Runtime setup
Detect runtimes, persist paths, register models, and test installs.
Missing a recipe? File an issue on GitHub; these pages are demand-driven.