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#
# 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#
ada workspaces current
Select a Workspace#
# Set the active workspace by ID (aliases: switch, use)
ada workspaces select --id <workspace-id>
Create a Workspace#
# 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#
# 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#
# 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:
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#
# 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:
# Trigger an immediate sync
ada sync now
# Show sync status
ada sync status
# JSON output
ada sync status --format json
Resolve Conflicts#
# 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#
# Detailed sync status
ada sync status --verbose
# Detailed progress while syncing
ada sync now --verbose
# Check authentication status
ada auth status
Wrong Workspace#
# Show which workspace is active
ada workspaces current
# Select the one you want
ada workspaces list
ada workspaces select --id <workspace-id>
Daemon Issues#
# Daemon, agent, and reachability health
ada status
# Local diagnostics
ada doctor
Best Practices#
- Use descriptive names:
mobile-app-iosrather thanproject1. - One workspace per project: run
ada workspaces initin each project directory. - Scope agents and tasks: pass
--workspaceso work is easy to find later. - Resolve conflicts promptly: check
ada sync conflictsafter syncing from more than one device.
Next Steps:
- Chat, Agents, and Sessions: put Ada to work in your workspace
- Agent Execution: start and monitor agents
- Editor Integration: connect your editor