@opengeni/react renders Opengeni sessions in your product. It uses the SDK client you pass to OpenGeniProvider, so it works behind createSessionProxyHandler. Keep all @opengeni packages on the same version.
Components
See Conversation UI & theming for props, tool renderers, and branding.
Entry points
Hooks
Build a custom interface on the same session behavior withuseSessionEvents, useSession, useTurnQueue, useComposer, useSessionControl, and useHumanInputRequests. Each takes a session id and reads the client from OpenGeniProvider, or from { client, workspaceId } passed per call.
Optional workbench surfaces
The terminal, code editor, and desktop viewer use optional libraries. Enable each once from its entry point (enableSandboxTerminal(), enableCodeEditor(), enableDesktopViewer()) when your product shows that surface. See the optional peer setup.
Styling
Import@opengeni/react/compiled.css once. Styles are scoped to the components, and every visual choice is a --og-* variable. Dark is the default; set data-og-theme="light" on an ancestor for light, and data-og-density="compact" for narrow panels.
The full reference, including Tailwind integration and the workbench, is in packages/react/README.md.