Skip to main content
This page provides a complete reference for all classes, methods, components, hooks, types, and events in the Reactor SDK.

SDK Structure

The Reactor SDK is organized into several key components:

Installation

Install the Reactor SDK via npm or pnpm:
  • npm
  • pnpm
npm install @reactor-team/js-sdk

Quick Start

import { Reactor } from "@reactor-team/js-sdk";

const reactor = new Reactor({
  insecureApiKey: process.env.REACTOR_API_KEY,
  modelName: "matrix-2"
});

await reactor.connect();
I