CLI Commands
Workspace Commands
Section titled “Workspace Commands”allagents workspace init <path> [--from <source>]allagents workspace sync [--offline] [--dry-run]allagents workspace statusallagents workspace plugin add <plugin@marketplace>allagents workspace plugin remove <plugin>workspace init
Section titled “workspace init”Initialize a new workspace from a template:
| Flag | Description |
|---|---|
--from <source> | Copy workspace.yaml from local path or GitHub URL |
Source formats:
- Local path:
./path/to/templateor/absolute/path - GitHub URL:
https://github.com/owner/repo/tree/branch/path - GitHub shorthand:
owner/repo/pathorowner/repo
When using a GitHub source, AllAgents fetches workspace.yaml from .allagents/workspace.yaml or workspace.yaml in the target path.
workspace sync
Section titled “workspace sync”Syncs plugins to the workspace using non-destructive sync. By default, remote plugins are updated to their latest version.
| Flag | Description |
|---|---|
--offline | Use cached plugins without fetching latest from remote |
--dry-run | Preview 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.
Plugin Commands
Section titled “Plugin Commands”allagents plugin list [marketplace]allagents plugin validate <path>allagents plugin marketplace add <source>allagents plugin marketplace listallagents plugin marketplace remove <name>allagents plugin marketplace update [name]