Skip to content

Workspaces

A workspace is a named store of state with a scope. Agents and tools use a workspace to store and retrieve data that must be shared across agents and tools. Today, particles are the main users of workspaces. A particle uses a workspace for its KV state and its filesystem mounts.

Quick Reference

Workspace

FieldPurposeGuidance
NameIdentifies the workspace

Particles reference workspaces by name for KV state and mounts.

ScopeWho shares the state

Global: state is shared by every agent and conversation that uses the workspace. Conversation: keeps separate state for each conversation; the workspace acts as a template and each conversation gets its own copy. The scope can't be changed after the workspace is created.

Browsing (Global scope)

FieldPurposeGuidance
FilesFile tree

Browse folders, add folders, upload files, download and delete.

Key/valueKV state

Search by key prefix, add a key, view, edit, copy or delete a value.

Choosing a scope

  • Use Global scope for shared reference data and caches.
  • Use Conversation scope for scratch space that belongs to one conversation.

You cannot browse a Conversation workspace in the UI. Each conversation has its own copy.

Related

  • Particles – use a workspace for KV state and mounts.