lmstudio.js is the official TypeScript and JavaScript SDK that enables developers to programmatically interact with LM Studio’s local AI runtime. The library exposes the same capabilities used internally by the LM Studio desktop application, allowing external apps to load models, run inference, and build autonomous AI workflows. It is designed to simplify the creation of local AI tools by handling complex concerns such as dependency management, hardware compatibility, and model configuration. The SDK introduces an agent-style API that can execute multi-step tool-using workflows through a single call, enabling more advanced automation scenarios. Applications built with the SDK can run anywhere LM Studio is available, whether in foreground or headless mode. Overall, lmstudio-js acts as a developer bridge between local LLM infrastructure and modern JavaScript applications.

Features

  • TypeScript SDK for LM Studio integration
  • Local model inference from Node.js or browser apps
  • Agent-style autonomous task execution API
  • Cross-platform hardware abstraction
  • Automatic dependency and runtime handling
  • Works with headless or desktop LM Studio

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow lmstudio.js

lmstudio.js Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of lmstudio.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Artificial Intelligence Software

Registered

2026-03-02