React Integration
Installation
SKILL.md
React Integration
Overview
The @hhopkins/agent-runtime-react package provides React hooks and context for connecting to the agent runtime backend. It handles:
- WebSocket connection management
- Session lifecycle
- Real-time streaming updates
- State management via Context + Reducer
Installation
pnpm add @hhopkins/agent-runtime-react
Provider Setup
Wrap the application with AgentServiceProvider: