types.ts — Shared types for the a2ui-react component library.
All A2UI components build on the AG-UI protocol: agents emit STATE_SNAPSHOT
and STATE_DELTA events, which are projected onto entity-graph-core via
applyAgUiSnapshot / applyAgUiDelta. Components subscribe to the resulting
graph state via useSyncExternalStore.
MCP tool calling is a PROGRESSIVE ENHANCEMENT — components work without it.
Pass an EntityToolProvider to opt-in.
types.ts — Shared types for the a2ui-react component library.
All A2UI components build on the AG-UI protocol: agents emit STATE_SNAPSHOT and STATE_DELTA events, which are projected onto entity-graph-core via applyAgUiSnapshot / applyAgUiDelta. Components subscribe to the resulting graph state via useSyncExternalStore.
MCP tool calling is a PROGRESSIVE ENHANCEMENT — components work without it. Pass an EntityToolProvider to opt-in.