Ratel Docs
TypeScript SDK

Packages

The five TypeScript packages: SDK, Vercel AI SDK adapter, Mastra adapter, telemetry vocabulary, and the package behind Ratel Local.

Ratel's TypeScript surface is five npm packages:

PackageWhat it is
@ratel-ai/sdkThe TypeScript SDK: catalogs, capability tools, MCP ingestion
@ratel-ai/vercel-ai-sdkVercel AI SDK adapter: ratel().adaptTo(aiSdk()) — AI SDK-native tools and per-turn recall (ai@57), plus the ./otel telemetry integration (RatelOtelIntegration, ai@7)
@ratel-ai/mastraMastra adapter: ratel().adaptTo(mastra())createTool tools and per-turn recall via recallProcessor() (@mastra/core 1.11+)
@ratel-ai/telemetryOTel-free ratel.* semantic-convention vocabulary
@ratel-ai/ratel-localThe package that powers Ratel Local: MCP serving, CLI configuration, and library embedding

Each Core package page carries the raw API reference generated from source doc comments, plus the package's changelog. The @ratel-ai/ratel-local page points to its separately maintained source and product documentation.

For the cross-language map (the Rust core and the Python packages), see Packages.