Cloud provider
Connect your Modal workspace to map its environments, apps, functions, web endpoints, sandboxes, volumes, secrets, queues, and dicts into the context graph. Agents can then reason about what runs where, what each function depends on, and what changed between syncs.

Connect

Connect Modal from the terminal. Pass --help for the flags Modal accepts, plus --no-browser for headless environments.

Terminal
polylane cloud connect --provider modal

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Everything Polylane set up in Modal is removed as well; nothing is left behind.

Terminal
polylane cloud disconnect <id>

Tools

5

Operations agents can perform in threads.

Get Logs
Get Modal app logs: per-bucket volume by stream plus sampled lines
List Sandboxes
List Modal sandboxes in an environment, with their state and resource shape
List Deployments
List Modal app deployments: version, who deployed, and when
Describe App
Describe one Modal app: state, deploy provenance, and the functions inside it
Get Cost
Get metered Modal spend, for one app or broken down across the workspace

Supported resources

10

Resource types that show up in your infrastructure graph.

Environment
App
Function
Class
Sandbox
Image
Volume
Secret
Queue
Dict