Documentation
Basics
Agentic Flows
Plugins (Beta)
Tools Provider
Prompt Preprocessor
Generators
Custom Configuration
Publishing a Plugin
Text Embedding
Tokenization
API Reference
Model Info
Basics
Agentic Flows
Plugins (Beta)
Tools Provider
Prompt Preprocessor
Generators
Custom Configuration
Publishing a Plugin
Text Embedding
Tokenization
API Reference
Model Info
Plugins SDK is currently in private beta. Join the beta here.
npmLM Studio plugins supports npm packages. You can just install them using npm install.
When the plugin is installed, LM Studio will automatically download all the required dependencies that are declared in package.json and package-lock.json. (The user does not need to have Node.js/npm installed.)
postinstall scriptsFor safety reasons, we do not run postinstall scripts. Thus please make sure you are not using any npm packages that require postinstall scripts to work.
Since we rely on package-lock.json, lock files produced by other package managers will not work. Thus we recommend only using npm when developing LM Studio plugins.
This page's source is available on GitHub
On this page
Add dependencies to your plugin with npm
postinstall scripts
Using Other Package Managers