Overview
This section documents the React integration surface exposed by @interopio/io-assist-react.
io.Assist React is designed around a single public entry point:
- the
IoAssistcomponent, configured through two props —staticConfiganddynamicConfig
Unlike the Angular delivery, there is no provider function to register at bootstrap. Both configuration objects are passed directly to the component, which makes the React integration a single import and a single component.
What This Reference Covers
The io.Assist React reference is organized into these pages:
- Component API for the
IoAssistcomponent and its props - Configuration for static config, dynamic config, and prompt shapes
- Examples for common React integration patterns
Integration Model
Most applications use io.Assist React like this:
- install
@interopio/io-assist-react - import the stylesheet from
@interopio/io-assist-react/styles - build a
staticConfig(io.Connect setup, agent server, MCP, prompts, Working Context) - build a
dynamicConfig(the active user and optional per-user agent headers) - render
<IoAssist staticConfig={staticConfig} dynamicConfig={dynamicConfig} />
The static config holds infrastructure details that are known at bootstrap. The dynamic config holds the active user and optional per-user agent headers, which are often only known after login.
Public API Surface
The package exposes a deliberately small surface:
| Export | Kind | Description |
|---|---|---|
IoAssist | Component | The root component. Takes staticConfig and dynamicConfig props |
IoAssistStaticConfig | Type | Static configuration shape for the staticConfig prop |
IoAssistDynamicConfig | Type | Runtime configuration shape for the dynamicConfig prop |
Prompt, icon, and Working Context shapes are reachable structurally through IoAssistStaticConfig, so you author them as inline literals rather than importing extra types.
Relationship to AI Web
io.Assist React is built on AI Web, so MCP, Working Context, and backend protocol behavior ultimately flow through the underlying AI Web configuration model.
Use io.Assist React when you want the ready-made React UI. Use AI Web directly when you want full control over the frontend experience.
Related Resources
- Introduction for the package-selection overview
- AI Web Overview for the lower-level frontend SDK
- Agent Protocol Reference for the backend contract used underneath AI Web
- AI Mastra Bridge Overview if you want the recommended Mastra backend path
- Working Context Overview if the embedded assistant should react to live workflow state