react components
AI-native react components.
chat, generative UI, tool approvals. drop in, connect to any inference.sh agent, ship.
import { AgentChatProvider, Chat } from '@inference/ui' <AgentChatProvider agent="my-agent"> <Chat /> </AgentChatProvider>
generated with pruna/flux-dev in 7.9sfull agent chat in 4 lines.
not just chat
30+ widgets your agent can render
agent decides what to render. components are typed with JSON schemas. structured output → rich UI.
streaming
real-time token streaming with useAgentChat(). no manual SSE parsing. state managed for you.
tool approvals
HITL gates render as UI. user clicks approve or reject inline. no modal interruptions.
embed anywhere
react natively. iframe for anything else. proxy adapters for next.js, remix, sveltekit, hono.
npm i @inference/uifrequently asked questions
no. it's a full generative UI system. your agent can render tables, charts, forms, cards, not just text. components are typed with JSON schemas.
ready to ship?
start with the hosted platform. deploy your own when you're ready.
we use cookies
we use cookies to ensure you get the best experience on our website. for more information on how we use cookies, please see our cookie policy.
by clicking "accept", you agree to our use of cookies.
learn more.