agui-developmentlisted
Install: claude install-skill RahulDas-dev/skill_builder
# AG-UI Protocol Events Reference
Quick-reference for the AG-UI (Agent-User Interaction) protocol streaming events.
## When to Use This Skill
* Building a frontend that consumes streaming agent responses
* Implementing a backend endpoint that serves AG-UI events
* Debugging event ordering or missing events in streaming flows
* Understanding the event lifecycle for tool calls, text messages, or reasoning
## Dependencies
| Package | Role | Required |
| --- | --- | --- |
| `ag-ui-protocol` (PyPI) | Python event classes (Pydantic v2) — backend emission | Yes, for a Python backend |
| `pydantic>=2.11.2` | Required by `ag-ui-protocol` for model validation/serialization | Yes (transitive) |
| `@ag-ui/core` (npm) | TypeScript event types/enums — canonical type source for frontend | Yes, for a TS/JS frontend |
| `@ag-ui/client` | SSE consumer / agent runner, depends on `@ag-ui/core` | Recommended |
| `@ag-ui/react` | React hooks (`useAgentStream`, `useAgentState`) | Optional |
| `sse-starlette` | Alternative FastAPI SSE response wrapper (see backend-guide.md) | Optional |
| `fast-json-patch` (npm) | Applying `STATE_DELTA`/`ACTIVITY_DELTA` RFC 6902 patches on the frontend | Optional |
See "Verified against" below for exact versions this skill was checked against.
## Official References
| Resource | Link |
| :--- | :--- |
| **AG-UI Protocol (GitHub)** | https://github.com/ag-ui-protocol/ag-ui |
| **AG-UI Documentation** | https://docs.ag-ui.com |
| **AG-UI Python SDK** | https:/