cpsl, verify the capsule CLI, then authenticate to your workspace.
The package includes both pieces:
cpsl, the Python API you write your app withcapsule, the CLI you use forlogin,serve,deploy, secrets, channels, and filesystems
Requirements
- Python
3.10+ - a virtual environment or
uvproject - access to a Capsule workspace if you want to
serve,deploy, manage secrets, create channels, or mount filesystems
Install with uv
Install with pip
Verify the CLI
Authenticate to your workspace
serve, deploy, secret, channel, and fs all talk to Capsule, so login is part of normal local setup.
Scaffold a project
Usecreate when you want a template instead of a blank app.py:
quickstartfor a BAML-backed assistant with packaged contextmedia-studiofor generated media in chatbrowser-agentfor browser workflowsbackground-agentfor scheduled agent loops
quickstart for the main path, then use media-studio, browser-agent, or background-agent when you want a more specialized starter.
Next steps
- Follow the Quickstart.
- Build the First Chat App.
- Use Troubleshooting if setup fails.
- See CLI Reference for the full command surface.