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
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
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