Skip to main content
You need Python 3.12 or later and Modal 1.5.3 or later.

Install the package

Use pip when your project does not use uv:
The base package loads Modal lazily when a lifecycle operation needs it.

Set up Modal credentials

Keep Modal credentials out of source files and shell transcripts.

Choose optional provider extras

The provider adapters translate actions and results. Your application owns provider credentials, model calls, conversation state, and approval policy.

Verify the install