Skip to content
Lovelace

Workspace Management Guide

Organize agents and tasks into workspaces and keep them in sync

Overview#

Workspaces are environments for organizing agents and tasks. A workspace has a name, an optional description, and an optional project path. Ada stores workspaces locally and can sync them with a cloud sync target.

ada workspaces also answers to ada workspace.

Workspace Operations#

List Workspaces#

bash
# List all workspaces
ada workspaces list

# Filter by name or status (active, archived)
ada workspaces list --name mobile
ada workspaces list --status archived

# JSON output for scripting
ada workspaces list --format json

Show the Active Workspace#

bash
ada workspaces current

Select a Workspace#

bash
# Set the active workspace by ID (aliases: switch, use)
ada workspaces select --id <workspace-id>

Create a Workspace#

bash
# Create a workspace
ada workspaces create --name my-new-project

# Create with a description and a project path
ada workspaces create --name mobile-app --description "React Native mobile application" --path ~/code/mobile-app

Update or Delete a Workspace#

bash
# Rename a workspace or change its description
ada workspaces update --id <workspace-id> --name mobile-app-ios --description "iOS client"

# Delete a workspace (asks you to type 'yes')
ada workspaces delete --id <workspace-id>

# Delete without a confirmation prompt
ada workspaces delete --id <workspace-id> --yes

Project Integration#

Initialize a Workspace for a Project#

bash
# Navigate to your project directory
cd /path/to/your/project

# Initialize a workspace named after the directory
ada workspaces init

# Or choose the name and description
ada workspaces init --name my-application --description "Customer-facing web app"

ada workspaces init creates a workspace whose path is the current directory (or --path) and whose name defaults to the directory name.

Scope Work to a Workspace#

Commands that create or list agents and tasks accept a workspace ID:

bash
ada agents start "Add input validation to the signup form" --workspace <workspace-id>
ada agents list --workspace <workspace-id>
ada tasks submit "Update the changelog" --workspace <workspace-id>
ada tasks list --workspace <workspace-id>

Without --workspace, ada tasks submit uses the active workspace. Editors can pass a workspace to ACP with ada acp start --workspace-id <workspace-id>.

Synchronization#

Sync the Active Workspace#

bash
# Sync local and remote changes
ada workspaces sync

# Push local changes to the cloud sync target
ada workspaces push

# Pull remote changes from the cloud sync target
ada workspaces pull

# Sync a specific workspace instead of the active one
ada workspaces sync --workspace <workspace-id>

The ada sync command group offers the same operations plus status and conflict handling:

bash
# Trigger an immediate sync
ada sync now

# Show sync status
ada sync status

# JSON output
ada sync status --format json

Resolve Conflicts#

bash
# List unresolved conflicts
ada sync conflicts

# Keep the local version of an object
ada sync resolve <object-id> --strategy keep-local

# Keep the remote version
ada sync resolve <object-id> --strategy keep-remote

# Keep both versions
ada sync resolve <object-id> --strategy keep-both

Troubleshooting#

Sync Issues#

bash
# Detailed sync status
ada sync status --verbose

# Detailed progress while syncing
ada sync now --verbose

# Check authentication status
ada auth status

Wrong Workspace#

bash
# Show which workspace is active
ada workspaces current

# Select the one you want
ada workspaces list
ada workspaces select --id <workspace-id>

Daemon Issues#

bash
# Daemon, agent, and reachability health
ada status

# Local diagnostics
ada doctor

Best Practices#

  1. Use descriptive names: mobile-app-ios rather than project1.
  2. One workspace per project: run ada workspaces init in each project directory.
  3. Scope agents and tasks: pass --workspace so work is easy to find later.
  4. Resolve conflicts promptly: check ada sync conflicts after syncing from more than one device.

Next Steps: