Collected sources and patterns will appear here. Add from search, explore, or the patterns library.
SDKHookState -> NormalizedChatRuntimeState
Adapt backend-specific streaming SDK hooks (e.g., Vercel AI SDK, LangGraph) into a normalized frontend chat state.
Problem it solves
Frontends tightly coupled to a single AI orchestrator API are hard to migrate or split-test.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.