Modal SDKs
Documentation
See the online documentation for many example applications, a user guide, and the detailed API reference.
Python SDK
The Modal Python SDK provides convenient, on-demand access to serverless cloud compute from Python scripts on your local computer.
This library requires Python 3.10 – 3.14.
Installation
Install the package with uv or pip:
uv pip install modal
You can create a Modal account (or link your existing one) directly on the command line:
python3 -m modal setup
JavaScript/TypeScript and Go SDKs
This repo hosts the Modal SDKs for JavaScript/TypeScript and Go. They provide convenient, on-demand access to serverless cloud compute on Modal from JS/TS and golang projects. Use it to safely run arbitrary code in Modal Sandboxes, call Modal Functions, and interact with Modal resources.
For more details, documentation and installation instructions, see the README for each SDK:
Community SDKs
There are also open-source Modal libraries built and maintained by our community. These projects are not officially supported by Modal and we thus can't vouch for them, but feel free to explore and contribute.
- Ruby: anthonycorletti/modal-rb
Support
For usage questions and other support, please reach out on the Modal Slack.