Skip to content

Latest commit

 

History

History
 
 

typescript

README.md

RocketRide TypeScript SDK

RocketRide TypeScript SDK

Build, run, and manage AI pipelines from Node.js or the browser.

npm GitHub Discord MIT License

Full documentation: docs.rocketride.org/clients/typescript — guides, the complete API reference, and worked examples.

Quick Start

npm install rocketride
import { RocketRideClient } from 'rocketride';

const client = new RocketRideClient({
	auth: process.env.ROCKETRIDE_APIKEY!,
	uri: 'https://api.rocketride.ai',
});
await client.connect();
const { token } = await client.use({ filepath: './pipeline.pipe' });
const result = await client.send(token, 'Hello, pipeline!', { name: 'input.txt' }, 'text/plain');
console.log(result);
await client.terminate(token);
await client.disconnect();

send() / sendFiles() are for pipelines whose source is webhook or dropper; if your pipeline source is chat, use client.chat() instead. Don't have a pipeline yet? Build one visually with the RocketRide IDE extension.

The SDK ships complete type definitions, runs in Node.js and the browser, includes the rocketride CLI, and covers the full engine surface: pipeline execution, streaming data, chat, deployments with cron schedules, server-side file storage, and run-log replay.

What is RocketRide?

RocketRide is an open-source, developer-native AI pipeline platform: build, debug, and deploy production AI workflows without leaving your IDE, on a visual canvas or code-first. 140+ ready-to-use nodes (15+ LLM providers, 10+ vector stores, OCR, NER, PII anonymization) run on a high-performance C++ engine, deployable anywhere, MIT licensed. You build your .pipe — and run it against the fastest AI runtime available.

Configuration

Variable Description
ROCKETRIDE_URI Server URI (e.g. wss://api.rocketride.ai or ws://localhost:5565)
ROCKETRIDE_APIKEY API key for authentication

All client config options, timeouts, and reconnection behavior: Configuration.

Documentation

Links

License

MIT - see LICENSE.