This repository contains the source code for Modal's official SDKs.
See the online documentation for a detailed user guide and many example applications.
For usage questions or other support, please reach out on the Modal Slack.
The Modal Python SDK allows you to deploy high-performance serverless applications and programmatically interact with the Modal platform.
See the Python reference for details on usage.
Install the package with uv or pip:
uv pip install modalThe Python package includes the modal CLI. The CLI can also be installed as a standalone tool via uvx.sh:
curl -LsSf uvx.sh/modal/install.sh | shThe JS and Go SDKs allow you to use Modal Sandboxes, invoke deployed Modal Functions, and interact with some Modal platform resources.
For more details, see the reference documentation:
Modal distributes an official skill to help coding agents use its latest features. The skill can be installed and maintained via the modal CLI:
modal skills installWhen the skill is installed via the modal CLI, the skill references will be populated with version-aligned documentation.
The skill can also be managed via npx skills:
npx skills add modal-labs/modal-clientNote that installation via npx skills will not include versioning or reference documentation.