Modal
Modal SDKs is the official repository for Modal's Python, JavaScript/TypeScript, and Go SDKs, enabling developers to deploy serverless applications, run sandboxes, and interact with the Modal platform programmatically. It solves the problem of building and managing high-performance serverless workloads with code, and is intended for developers using Modal's cloud platform.
✨ Key features
- Python SDK for deploying serverless applications
- JavaScript/TypeScript and Go SDKs for Sandboxes and Functions
- Includes modal CLI for command-line interaction
- Official skill for coding agents via modal CLI
- Standalone CLI installation via uvx.sh
- Version-aligned documentation with skill install
🎯 Use cases
- Deploy serverless Python functions and applications
- Run Modal Sandboxes from JS/TS or Go
- Invoke deployed Modal Functions programmatically
- Manage Modal platform resources via SDKs
- Install coding agent skill to use Modal features
📦 Installation
uv pip install modal
Or with pip:
pip install modal
For standalone CLI via uvx.sh:
curl -LsSf uvx.sh/modal/install.sh | sh
🚀 Usage
import modal
# Example: define and deploy a function
stub = modal.Stub()
@stub.function()
def f(x):
return x * 2
if __name__ == "__main__":
with stub.run():
print(f.call(21)) # prints 42
❓ FAQ
How do I install the Python SDK?
You can install it with uv pip install modal or pip install modal.
What languages are supported by the SDKs?
The repository contains SDKs for Python, JavaScript/TypeScript, and Go.
How can I install the coding agent skill?
Use modal skills install via the CLI, or npx skills add modal-labs/modal-client.
Where can I find documentation and examples?
See the online documentation at modal.com/docs, including a user guide and example applications.
📊 Repository
🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.