Guides
Organizations and workspaces
Create and manage organizations, workspaces, and their members from the CLI, and choose the default workspace for later commands.
AgentClash is multi-tenant. An organization groups people and ownership. A workspace lives inside an organization and holds the resources you work with: builds, deployments, challenge packs, secrets, and runs. Most commands act on one workspace at a time.
Organizations
1agentclash org create --name "Acme"
2agentclash org list
3agentclash org get <orgId>
4agentclash org update <orgId> --name "Acme Inc"org create accepts an optional --slug; one is generated if you omit it. org update --status takes active or archived. org list supports --limit and --offset.
Organization members
1agentclash org members list <orgId>
2agentclash org members invite <orgId> --email dev@example.com --role org_member
3agentclash org members update <membershipId> --role org_admin
4agentclash org members update <membershipId> --status suspendedRoles are org_admin and org_member. Membership status is active, suspended, or archived.
Workspaces
1agentclash workspace create --org <orgId> --name "Support evals"
2agentclash workspace list --org <orgId>
3agentclash workspace get <workspaceId>
4agentclash workspace update <workspaceId> --name "Support evals v2"
5agentclash workspace update <workspaceId> --public-packs=trueworkspace update --status takes active or archived. --public-packs controls whether the workspace may use public challenge packs.
Workspace members
Workspace member commands act on the selected workspace, so set it first (see below) or pass --workspace <id>.
1agentclash workspace members list
2agentclash workspace members invite --email dev@example.com --role workspace_member
3agentclash workspace members update <membershipId> --role workspace_viewerInvite roles are workspace_admin, workspace_member, and workspace_viewer.
Choose the default workspace
1agentclash workspace list
2agentclash workspace use <workspaceId>workspace use saves the ID to ~/.config/agentclash/config.yaml. For the guided post-login flow, use agentclash link. In CI, set AGENTCLASH_WORKSPACE or pass --workspace instead of relying on saved config.
Info
workspace list uses your default organization when you do not pass --org.
See also
- Quickstart - first login and workspace selection
- CLI configuration - config file and environment variables
- Builds and versions - first resources to create in a workspace
- CLI reference - every flag for
organdworkspace