Skip to main content
Folders organize resources in the workspace UI. They are per-kind — a model folder and an agent folder are separate namespaces — so you place each resource in a folder of its own kind. You define one with defineFolder. kind is model, agent, play, tool, file, mcpServer, app, worker, alert, or mailbox.

Define folders

folders/crm.ts
Pass a folder handle into the resource it organizes:

From the CLI