Documentation

Predicting with LLMs

Agentic Flows

Text Embedding

Tokenization

Manage Models

Model Info

Project Setup

lmstudio is a library published on PyPI that allows you to use lmstudio-python in your own projects. It is open source and developed on GitHub. You can find the source code here.

Installing lmstudio-python

As it is published to PyPI, lmstudio-python may be installed using pip or your preferred project dependency manager (pdm is shown, but other Python project management tools offer similar dependency addition commands).

pip install lmstudio