⚠️ This repository is deprecated. With the release of@reactor-team/js-sdk@3.0.0, the JS SDK has moved into ourreactor-client-sdksmonorepo, alongside our other language SDKs. All new development happens at:The npm package name is unchanged (
@reactor-team/js-sdk), sonpm install @reactor-team/js-sdkcontinues to work — it now installs from the new source. This repository is kept for historical reference only and receives no further updates. Please file new issues in thereactor-client-sdksrepo instead.
The official JavaScript SDK for building real-time AI video applications with Reactor.
npm install @reactor-team/js-sdknpx create-reactor-app my-app --model=helios
cd my-app
npm run dev"use client";
import { use } from "react";
import { ReactorProvider, ReactorView } from "@reactor-team/js-sdk";
const tokenPromise = fetch("/api/token")
.then((r) => r.json())
.then(({ token }) => token);
export default function App() {
const token = use(tokenPromise);
return (
<ReactorProvider modelName="your-model-name" jwtToken={token}>
<ReactorView className="w-full aspect-video" />
</ReactorProvider>
);
}Apache 2.0 © 2024-2026 Reactor Technologies, Inc.
See NOTICE for attribution requirements and CONTRIBUTING.md for the contributor sign-off (DCO) policy.