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/sdkESM, 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 exportPython 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
SDK quick start
The fastest way into Ratel: install the open-source skills into your coding agent and let it integrate Ratel for you, or jump to the TypeScript and Python quickstarts.
What's new in the SDK
Release history of ratel-ai-core, the Rust engine both SDKs bundle, with links to every package changelog.