| Package | npm | Purpose |
|---|
@kibadist/agentui-protocol |  | TypeScript types for the wire protocol (UIEvent, ActionEvent, UINode) |
@kibadist/agentui-validate |  | Zod schemas + parsers (parseUIEvent, safeParseUIEvent) |
@kibadist/agentui-react |  | Registry, renderer, SSE hook, action context |
@kibadist/agentui-nest |  | Session event bus + controller factory for NestJS |
@kibadist/agentui-ai |  | Provider-agnostic adapter via Vercel AI SDK (OpenAI, Anthropic, Google, DeepSeek) |
@kibadist/agentui-llm |  | Provider-native LLM stream adapters (Anthropic, OpenAI, Gemini) |
@kibadist/agentui-next |  | SSE proxy + action proxy helpers for Next.js App Router |
flowchart BT
protocol["📦 protocol\n(zero deps — pure types)"]
validate["📦 validate\n(+zod)"]
react["📦 react\n(+react)"]
nest["📦 nest\n(+@nestjs/common, rxjs)"]
ai["📦 ai\n(+Vercel AI SDK)"]
next["📦 next\n(no runtime deps)"]
validate --> protocol
react --> protocol
nest --> protocol
ai --> protocol
next --> protocol