A Modern SDK for the JetBrains AI Platform
Fluent, robust, and designed for modern JavaScript. Zero dependencies, first-class support for streaming, tool use, and advanced model control.
Everything You Need for Modern AI Development
Discover the powerful features that make the Merci SDK the best choice for your projects.
Fluent & Intuitive API
Chainable methods like `client.chat().withTools()` make building requests simple and readable.
Zero Dependencies
Lightweight and self-contained. No `node_modules`, no package manager required. Just pure JavaScript.
Powerful Tool Use
High-level agent (`.run()`) and low-level manual controls for simple or complex agentic behavior.
Intelligent Parameter Handling
Automatically filters unsupported parameters per model, preventing API errors and providing helpful warnings.
Automatic Authentication
Seamlessly handles JWT refreshing in the background, so you don't have to worry about expired tokens.
Modern & Typed
Written in modern ES Modules and includes a full TypeScript declaration file for an excellent developer experience.
Ready to Dive In?
Explore the step-by-step tutorials to see the SDK in action. Go from a simple "Hello, World" to building complex, multi-tool agents in minutes.