Skip to main content
Projects created with the React option use @opencomputer/react. The package owns session creation, multi-turn reuse, and streamed assistant messages.

Hook result

Select the target

Pass agent-id@alias to choose the agent and environment:
An options object can also set the input source, API base path, or fetch implementation:

Development

Keep npm run dev running while using the local application. It starts Vite and provides the authenticated development bridge; credentials are not bundled into browser code. For the durable conversation model, see Sessions and turns.