Ratel Docs
Get started

Install

Install the Ratel SDK for TypeScript or Python.

Ratel ships as two SDKs over one Rust core. No hosted Ratel service or API key is required. For Claude Code, Codex or OpenCode, connect them to the Platform.

SDK

npm install @ratel-ai/sdk

ESM, Node.js 20.6 or newer.

Full guide (native targets, optional packages, embedding model): TypeScript install. Then the TypeScript quickstart.

pip install ratel-ai
# extras:
pip install 'ratel-ai[mcp]'   # register upstream MCP servers
pip install 'ratel-ai[otlp]'  # OTLP telemetry export

Python 3.10 or newer for these guides; the base SDK supports 3.9, the mcp extra needs 3.10+.

Full guide (prebuilt wheels, extras, embedding model): Python install. Then the Python quickstart.

Requirements

  • Prebuilt native targets: macOS (darwin-arm64, darwin-x64), Linux glibc (linux-x64-gnu, linux-arm64-gnu), Windows (win32-x64-msvc).
  • On those targets nothing compiles at install time: no Rust toolchain.
  • Semantic & hybrid search is opt-in and, by default, downloads a local embedding model on first use; BM25 needs nothing.

The Rust crate ratel-ai-core underlies both SDKs; it is a reference, not an install target.

Next steps

On this page