云提供商
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.

连接

从终端连接Modal。传入--help查看Modal接受的标志,在无头环境中再加上--no-browser。

Terminal
polylane cloud connect --provider modal

断开连接

断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane在Modal中设置的一切也会被移除;不会留下任何东西。

Terminal
polylane cloud disconnect <id>

工具

5

智能体可以在线程中执行的操作。

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

支持的资源

10

会出现在你的基础设施图中的资源类型。

Environment
App
Function
Class
Sandbox
Image
Volume
Secret
Queue
Dict