Skip to main content

CLI command reference

This page indexes the customer CLI commands through Aient CLI 0.12.6. Use aient COMMAND --help to confirm the flags supported by your installed version.

Authentication

See Authentication and project profiles.

Sandboxes

Use --preserve-node-modules on sandbox sync or sandbox exec --workspace to keep existing pnpm dependencies. See Run and synchronise workspaces and Retained sandbox lifecycle.
An environment-bound customer sandbox requires --environment on status, wait, and logs, and its original environment and repository selectors on sync, exec, and execution. files and shell apply only to sandboxes without an environment binding.
Use --workspace-commit COMMIT on sandbox run or sandbox exec --workspace to run a committed tree without local edits.

Reviews and Agent tasks

See pull request reviews and Agent conversations for scopes, retry behaviour and task limits.

Workspace operations

A workspace-backed sandbox run, sandbox exec --workspace or sandbox sync keeps its operation record only while it runs. To recover from a failed or interrupted sync, rerun the command; it syncs the worktree as it is now. See Run and synchronise workspaces.

Agent worktree reads

See Agent worktree reads. The command requires a compatible server and the aient.agent.read and aient.sandbox.files grants.

Agent worktree sync

Available from Aient CLI 0.11.27. Use a customer OAuth profile and repeat --path for each file. See Agent checkout sync for file limits, overwrite behaviour, and notification recovery.

Environment secrets

See Environment secrets. Only current organisation owners and administrators can set secrets.

Supervised executions

See Executions, output, and files. Repeat the original --environment and --repository selectors on every execution observation or cancellation of an environment-bound customer command.

Explicit files

See file and directory downloads for scopes, destination rules and limits.

Utility commands

Global customer flags