lmstudio-ai/lmstudio-python

LM Studio Python SDK

56
/ 100
Established

Provides synchronous and asynchronous APIs for programmatic interaction with LM Studio's local LLM inference server via WebSocket connections, handling chat history management and text completion requests. The SDK auto-generates Python type stubs from LM Studio's JavaScript schema to maintain API parity, with support for multiple Python versions and strict type checking via mypy.

762 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 24 / 25

How are scores calculated?

Stars

762

Forks

131

Language

Python

License

MIT

Last pushed

Oct 27, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/lmstudio-ai/lmstudio-python"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.