Skip to content

CLI Commands

Terminal window
allagents workspace init <path> [--from <source>]
allagents workspace sync [--force] [--dry-run]
allagents workspace status
allagents workspace plugin add <plugin@marketplace>
allagents workspace plugin remove <plugin>

Initialize a new workspace from a template:

FlagDescription
--from <source>Copy workspace.yaml from local path or GitHub URL

Source formats:

  • Local path: ./path/to/template or /absolute/path
  • GitHub URL: https://github.com/owner/repo/tree/branch/path
  • GitHub shorthand: owner/repo/path or owner/repo

When using a GitHub source, AllAgents fetches workspace.yaml from .allagents/workspace.yaml or workspace.yaml in the target path.

Syncs plugins to the workspace using non-destructive sync:

FlagDescription
--force, -fForce re-fetch of remote plugins even if cached
--dry-runPreview changes without applying them

Non-destructive behavior:

  • First sync overlays files without deleting existing user files
  • Subsequent syncs only remove files previously synced by AllAgents
  • User files (not from plugins) are never deleted

Sync state is tracked in .allagents/sync-state.json.

Terminal window
allagents plugin list [marketplace]
allagents plugin validate <path>
allagents plugin marketplace add <source>
allagents plugin marketplace list
allagents plugin marketplace remove <name>
allagents plugin marketplace update [name]