Skip to content

amux CLI Reference ​

This reference is generated from the current amux Cobra command tree. It covers public commands, arguments, options, defaults, aliases, and registered examples on every supported platform. Root options are global options available to all subcommands. Platform restrictions are explicit. Hidden commands and flags are excluded from the public CLI contract.

After changing public command names, hierarchy, visibility, descriptions, arguments, flags, or defaults, run make cli-doc. The repository check rejects stale generated output. Product semantics and behavior boundaries are defined by the CLI product model.

Command index ​

CommandDescription
amuxUnified manager for code agents across runtimes
amux agentManage agent profiles
amux agent credentialManage credential profiles
amux agent credential lsList credential profiles
amux agent credential setSave one environment secret in a credential profile
amux agent credential setupSet up one credential for an identified Principal
amux agent credential showShow credential profile metadata without secret values
amux agent doctorDiagnose an agent profile
amux agent listList available agent profiles
amux agent packManage agent profile packs
amux agent pack addAdd a Git-backed agent pack
amux agent pack autosyncManage background agent pack auto sync
amux agent pack autosync logsShow background agent pack auto sync log path
amux agent pack autosync startStart background agent pack auto sync
amux agent pack autosync statusShow background agent pack auto sync status
amux agent pack autosync stopStop background agent pack auto sync
amux agent pack lsList agent packs
amux agent pack removeRemove an agent pack
amux agent pack rollbackRoll back a pack to a recorded revision
amux agent pack syncSync one or all agent packs
amux agent pack versionsList recorded pack revisions
amux agent pack watchContinuously sync an agent pack
amux agent renderRender a profile workspace projection
amux agent showShow an agent profile
amux completionGenerate the autocompletion script for the specified shell
amux completion bashGenerate the autocompletion script for bash
amux completion fishGenerate the autocompletion script for fish
amux completion powershellGenerate the autocompletion script for powershell
amux completion zshGenerate the autocompletion script for zsh
amux helpHelp about any command
amux isolationManage identified principals and Linux UID/DAC isolation
amux isolation accountInspect target-local principal account mappings
amux isolation account gcPreview or explicitly remove idle principal accounts
amux isolation account listList mappings known to this runtime
amux isolation aliasManage scoped principal aliases
amux isolation alias bindBind provider/scope/subject to a principal
amux isolation alias listList scoped principal aliases
amux isolation delegationManage run_as delegations
amux isolation delegation grantGrant an actor permission to run as another principal
amux isolation delegation revokeRevoke a run_as delegation
amux isolation enrollCreate and store a CLI actor credential
amux isolation global-envManage environment secrets shared by identified isolated executions
amux isolation global-env lsList shared isolated environment names without values
amux isolation global-env setSave one installation-wide isolated environment secret
amux isolation global-env unsetRemove one installation-wide isolated environment secret
amux isolation helperInstall and manage the privileged Linux helper
amux isolation helper installExplicitly install and start the root helper systemd unit
amux isolation helper statusCheck the local helper handshake
amux isolation helper uninstallStop and remove the helper; preserve account data by default
amux isolation principalManage canonical principals
amux isolation principal createCreate a human or service principal
amux isolation principal disableDisable a principal for new execution and authorization
amux isolation principal listList principals
amux isolation service-memberManage service-principal membership
amux isolation service-member grantAllow a human principal to run as a service principal
amux isolation service-member revokeRevoke service-principal membership and active service launches
amux isolation statusShow isolation configuration, helper readiness, and fallback state
amux memoryManage shared Markdown memory through the Hub
amux memory exportExport one complete memory document to standard output
amux memory forgetConditionally delete a memory document
amux memory searchSearch memory using literal keywords
amux memory showRead a bounded memory document or line range
amux memory upsertConditionally save a UTF-8 Markdown memory document
amux scheduleSchedule prompts or subtasks on a timer
amux schedule createCreate a scheduled prompt
amux schedule create-taskCreate a scheduled subtask
amux schedule disableDisable a scheduled prompt
amux schedule enableEnable a scheduled prompt
amux schedule listList scheduled prompts and subtasks
amux schedule removeDelete a scheduled prompt
amux schedule runsList runs for a schedule
amux schedule updateUpdate a scheduled prompt or subtask in place
amux sessionManage agent sessions
amux session attachAttach to a session (/detach or Ctrl-] to detach)
amux session cwdShow or change a session working directory
amux session interruptInterrupt the current turn without killing the session
amux session listList sessions
amux session pruneRemove archived (invalid) sessions from the default target
amux session queueShow pending input queue for a session
amux session queue cancelCancel one pending input
amux session queue clearClear pending input queue for a session
amux session restartRestart one session or all running local user sessions
amux session resumeResume a sleeping session on its current runtime
amux session runStart an agent and register it as a session
amux session sendSend one message to a session without attaching
amux session set-modelSwitch a session's model while retaining its conversation history
amux session sleepStop a session process while keeping it resumable
amux session stopStop a session and its agent process
amux setupSet up this amux installation
amux systemInspect and manage this amux installation
amux system cleanupPreview managed data cleanup; --apply cleans and reports to administrators
amux system configManage amux configuration
amux system config getGet config value
amux system config pathPrint config file path
amux system config setSet config value
amux system config showPrint config with shared environment values redacted
amux system config unsetUnset config value
amux system diagnoseCorrelate a message, turn, task, or session
amux system doctorDiagnose this installation without changing it
amux system logsShow installation log paths
amux system operationInspect and cancel lifecycle operations
amux system operation cancelCancel a pending lifecycle operation
amux system operation listList lifecycle operations
amux system operation showShow a lifecycle operation
amux system restartRestart this amux installation
amux system serviceManage the Amux Windows Service (hub + runtime)
amux system service installInstall the Amux Windows Service (Automatic start)
amux system service startStart the Amux Windows Service
amux system service statusShow Amux Windows Service status
amux system service stopStop the Amux Windows Service
amux system service uninstallStop and remove the Amux Windows Service
amux system startStart this amux installation
amux system statusShow installation status
amux system stopStop this amux installation
amux system targetManage runtime targets
amux system target listList runtimes connected to the hub
amux system uninstallUninstall amux from the current user
amux taskRun and manage subagent tasks
amux task cancelCancel a task
amux task listList tasks
amux task logsStream a task's events until it finishes (read-only)
amux task pruneDelete terminal task history
amux task respondAnswer an escalated permission request (escalate-to-main)
amux task showShow a task's status and result
amux task submitSubmit a subagent task

amux ​

Unified manager for code agents across runtimes

Usage

text
amux [flags]

Subcommands

CommandDescription
amux agentManage agent profiles
amux completionGenerate the autocompletion script for the specified shell
amux helpHelp about any command
amux isolationManage identified principals and Linux UID/DAC isolation
amux memoryManage shared Markdown memory through the Hub
amux scheduleSchedule prompts or subtasks on a timer
amux sessionManage agent sessions
amux setupSet up this amux installation
amux systemInspect and manage this amux installation
amux taskRun and manage subagent tasks

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for amux
--jsonboolfalseoutput stable JSON
-v, --versionboolfalseversion for amux

amux agent ​

Manage agent profiles

Usage

text
amux agent [flags]

Subcommands

CommandDescription
amux agent credentialManage credential profiles
amux agent doctorDiagnose an agent profile
amux agent listList available agent profiles
amux agent packManage agent profile packs
amux agent renderRender a profile workspace projection
amux agent showShow an agent profile

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for agent

amux agent credential ​

Manage credential profiles

Usage

text
amux agent credential [flags]

Subcommands

CommandDescription
amux agent credential lsList credential profiles
amux agent credential setSave one environment secret in a credential profile
amux agent credential setupSet up one credential for an identified Principal
amux agent credential showShow credential profile metadata without secret values

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for credential

amux agent credential ls ​

List credential profiles

Usage

text
amux agent credential ls [flags]

Aliases: list

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for ls

amux agent credential set ​

Save one environment secret in a credential profile

Usage

text
amux agent credential set <profile> <env-name> [flags]

Examples

bash
amux agent credential set openai-compat OPENAI_API_KEY
printf '%s\n' "$OPENAI_API_KEY" | amux agent credential set openai-compat OPENAI_API_KEY

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for set

amux agent credential setup ​

Set up one credential for an identified Principal

Usage

text
amux agent credential setup <profile> <env-name> [flags]

Examples

bash
amux agent credential setup openai-compat GLM_API_KEY --principal <principal-id>

Options

OptionTypeDefaultDescription
--from-legacy-hostboolfalsecopy the value from the legacy-host credential store
-h, --helpboolfalsehelp for setup
--principalstring""target Principal UUID (required)
--rotate-enrollmentboolfalsereplace the local CLI enrollment with the target Principal

amux agent credential show ​

Show credential profile metadata without secret values

Usage

text
amux agent credential show <profile> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for show

amux agent doctor ​

Diagnose an agent profile

Usage

text
amux agent doctor [profile] [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for doctor
--modelstring""model to diagnose within the selected runtime
--runtimestring""runtime adapter to diagnose with the Agent Profile
--smokeboolfalserun one real end-to-end task turn after static checks
--smoke-timeoutint120smoke turn timeout in seconds

amux agent list ​

List available agent profiles

Usage

text
amux agent list [flags]

Options

OptionTypeDefaultDescription
--allboolfalseinclude dev profile namespaces
--devboolfalseshow only dev profile namespaces
-h, --helpboolfalsehelp for list

amux agent pack ​

Manage agent profile packs

Usage

text
amux agent pack [flags]

Subcommands

CommandDescription
amux agent pack addAdd a Git-backed agent pack
amux agent pack autosyncManage background agent pack auto sync
amux agent pack lsList agent packs
amux agent pack removeRemove an agent pack
amux agent pack rollbackRoll back a pack to a recorded revision
amux agent pack syncSync one or all agent packs
amux agent pack versionsList recorded pack revisions
amux agent pack watchContinuously sync an agent pack

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for pack

amux agent pack add ​

Add a Git-backed agent pack

Usage

text
amux agent pack add <namespace> <git-url> [flags]

Options

OptionTypeDefaultDescription
--dev-ofstring""formal pack namespace that owns this development pack
-h, --helpboolfalsehelp for add
--no-auto-syncboolfalserecord the pack with auto sync disabled
--refstring""Git ref to sync, such as stable, main, or a tag
--sync-intervalstring30sdefault auto sync interval recorded for the pack
--temporaryboolfalsemark a --dev-of pack as temporary and disable auto sync

amux agent pack autosync ​

Manage background agent pack auto sync

Usage

text
amux agent pack autosync [flags]

Subcommands

CommandDescription
amux agent pack autosync logsShow background agent pack auto sync log path
amux agent pack autosync startStart background agent pack auto sync
amux agent pack autosync statusShow background agent pack auto sync status
amux agent pack autosync stopStop background agent pack auto sync

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for autosync

amux agent pack autosync logs ​

Show background agent pack auto sync log path

Usage

text
amux agent pack autosync logs [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for logs

amux agent pack autosync start ​

Start background agent pack auto sync

Usage

text
amux agent pack autosync start [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for start

amux agent pack autosync status ​

Show background agent pack auto sync status

Usage

text
amux agent pack autosync status [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for status

amux agent pack autosync stop ​

Stop background agent pack auto sync

Usage

text
amux agent pack autosync stop [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for stop

amux agent pack ls ​

List agent packs

Usage

text
amux agent pack ls [flags]

Aliases: list

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for ls

amux agent pack remove ​

Remove an agent pack

Usage

text
amux agent pack remove <namespace> [flags]

Aliases: rm, delete

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for remove
--keep-filesboolfalseunregister the pack without deleting its local materialized files

amux agent pack rollback ​

Roll back a pack to a recorded revision

Usage

text
amux agent pack rollback <namespace> <revision> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for rollback

amux agent pack sync ​

Sync one or all agent packs

Usage

text
amux agent pack sync [namespace] [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for sync

amux agent pack versions ​

List recorded pack revisions

Usage

text
amux agent pack versions <namespace> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for versions

amux agent pack watch ​

Continuously sync an agent pack

Usage

text
amux agent pack watch <namespace> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for watch
--intervalstring30ssync interval

amux agent render ​

Render a profile workspace projection

Usage

text
amux agent render <profile> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for render
--modelstring""Model to render for the selected runtime
--outstring""output workspace directory
--runtimestring""Runtime adapter for rendering; required for external v2 profiles, optional for builtin shortcuts with amux caller defaults

amux agent show ​

Show an agent profile

Usage

text
amux agent show <profile> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for show

amux completion ​

Generate the autocompletion script for the specified shell

Generate the autocompletion script for amux for the specified shell. See each sub-command's help for details on how to use the generated script.

Usage

text
amux completion [flags]

Subcommands

CommandDescription
amux completion bashGenerate the autocompletion script for bash
amux completion fishGenerate the autocompletion script for fish
amux completion powershellGenerate the autocompletion script for powershell
amux completion zshGenerate the autocompletion script for zsh

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for completion

amux completion bash ​

Generate the autocompletion script for bash

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(amux completion bash)

To load completions for every new session, execute once:

Linux: ​

amux completion bash > /etc/bash_completion.d/amux

macOS: ​

amux completion bash > $(brew --prefix)/etc/bash_completion.d/amux

You will need to start a new shell for this setup to take effect.

Usage

text
amux completion bash

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for bash
--no-descriptionsboolfalsedisable completion descriptions

amux completion fish ​

Generate the autocompletion script for fish

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

amux completion fish | source

To load completions for every new session, execute once:

amux completion fish > ~/.config/fish/completions/amux.fish

You will need to start a new shell for this setup to take effect.

Usage

text
amux completion fish [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for fish
--no-descriptionsboolfalsedisable completion descriptions

amux completion powershell ​

Generate the autocompletion script for powershell

Generate the autocompletion script for powershell.

To load completions in your current shell session:

amux completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command to your powershell profile.

Usage

text
amux completion powershell [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for powershell
--no-descriptionsboolfalsedisable completion descriptions

amux completion zsh ​

Generate the autocompletion script for zsh

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(amux completion zsh)

To load completions for every new session, execute once:

Linux: ​

amux completion zsh > "${fpath[1]}/_amux"

macOS: ​

amux completion zsh > $(brew --prefix)/share/zsh/site-functions/_amux

You will need to start a new shell for this setup to take effect.

Usage

text
amux completion zsh [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for zsh
--no-descriptionsboolfalsedisable completion descriptions

amux help ​

Help about any command

Help provides help for any command in the application. Simply type amux help [path to command] for full details.

Usage

text
amux help [command] [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for help

amux isolation ​

Manage identified principals and Linux UID/DAC isolation

Usage

text
amux isolation [flags]

Subcommands

CommandDescription
amux isolation accountInspect target-local principal account mappings
amux isolation aliasManage scoped principal aliases
amux isolation delegationManage run_as delegations
amux isolation enrollCreate and store a CLI actor credential
amux isolation global-envManage environment secrets shared by identified isolated executions
amux isolation helperInstall and manage the privileged Linux helper
amux isolation principalManage canonical principals
amux isolation service-memberManage service-principal membership
amux isolation statusShow isolation configuration, helper readiness, and fallback state

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for isolation

amux isolation account ​

Inspect target-local principal account mappings

Usage

text
amux isolation account [flags]

Subcommands

CommandDescription
amux isolation account gcPreview or explicitly remove idle principal accounts
amux isolation account listList mappings known to this runtime

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for account

amux isolation account gc ​

Preview or explicitly remove idle principal accounts

Usage

text
amux isolation account gc [flags]

Options

OptionTypeDefaultDescription
--confirm-principalstring""exact principal UUID to remove
--executeboolfalseperform irreversible account/HOME/workspace removal
-h, --helpboolfalsehelp for gc
--older-than-daysint0idle age threshold (default isolation.gc_idle_days)

amux isolation account list ​

List mappings known to this runtime

Usage

text
amux isolation account list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list
--jsonboolfalseoutput JSON

amux isolation alias ​

Manage scoped principal aliases

Usage

text
amux isolation alias [flags]

Subcommands

CommandDescription
amux isolation alias bindBind provider/scope/subject to a principal
amux isolation alias listList scoped principal aliases

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for alias

amux isolation alias bind ​

Bind provider/scope/subject to a principal

Usage

text
amux isolation alias bind [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for bind
--principalstring""principal UUID (required)
--providerstringclialias provider
--scopestringlocalprovider-local scope
--subjectstring""provider subject (required)

amux isolation alias list ​

List scoped principal aliases

Usage

text
amux isolation alias list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list

amux isolation delegation ​

Manage run_as delegations

Usage

text
amux isolation delegation [flags]

Subcommands

CommandDescription
amux isolation delegation grantGrant an actor permission to run as another principal
amux isolation delegation revokeRevoke a run_as delegation

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for delegation

amux isolation delegation grant ​

Grant an actor permission to run as another principal

Usage

text
amux isolation delegation grant <actor-principal-id> <effective-principal-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for grant

amux isolation delegation revoke ​

Revoke a run_as delegation

Usage

text
amux isolation delegation revoke <delegation-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for revoke

amux isolation enroll ​

Create and store a CLI actor credential

Usage

text
amux isolation enroll [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for enroll
--principalstring""principal UUID (required)
--providerstringcliactor provider
--rotateboolfalsereplace an existing local enrollment credential
--scopestringlocalprovider-local scope
--subjectstring""provider subject (default current user)

amux isolation global-env ​

Manage environment secrets shared by identified isolated executions

Usage

text
amux isolation global-env [flags]

Subcommands

CommandDescription
amux isolation global-env lsList shared isolated environment names without values
amux isolation global-env setSave one installation-wide isolated environment secret
amux isolation global-env unsetRemove one installation-wide isolated environment secret

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for global-env

amux isolation global-env ls ​

List shared isolated environment names without values

Usage

text
amux isolation global-env ls [flags]

Aliases: list

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for ls

amux isolation global-env set ​

Save one installation-wide isolated environment secret

Usage

text
amux isolation global-env set <env-name> [flags]

Examples

bash
amux isolation global-env set GLM_API_KEY
printf '%s\n' "$GLM_API_KEY" | amux isolation global-env set GLM_API_KEY

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for set

amux isolation global-env unset ​

Remove one installation-wide isolated environment secret

Usage

text
amux isolation global-env unset <env-name> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for unset

amux isolation helper ​

Install and manage the privileged Linux helper

Platforms: linux

Usage

text
amux isolation helper [flags]

Subcommands

CommandDescription
amux isolation helper installExplicitly install and start the root helper systemd unit
amux isolation helper statusCheck the local helper handshake
amux isolation helper uninstallStop and remove the helper; preserve account data by default

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for helper

amux isolation helper install ​

Explicitly install and start the root helper systemd unit

Platforms: linux

Usage

text
amux isolation helper install [flags]

Options

OptionTypeDefaultDescription
--amux-homestringruntime-dependentservice user's AMUX_HOME
-h, --helpboolfalsehelp for install
--mount-namespacebooltrueenable mount namespace hardening
--pid-namespacebooltrueenable PID namespace hardening
--principal-rootstring/var/lib/amux/principalsprincipal data root
--seccompbooltrueenable provider seccomp hardening
--service-gidintruntime-dependentamuxlet service gid
--service-uidintruntime-dependentamuxlet service uid allowed to connect
--socketstring""absolute helper socket path (default <amux-home>/isolation-helper.sock)
--uid-range-endint799999last dedicated principal uid
--uid-range-startint700000first dedicated principal uid

amux isolation helper status ​

Check the local helper handshake

Platforms: linux

Usage

text
amux isolation helper status [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for status

amux isolation helper uninstall ​

Stop and remove the helper; preserve account data by default

Platforms: linux

Usage

text
amux isolation helper uninstall [flags]

Options

OptionTypeDefaultDescription
--amux-homestringruntime-dependentservice user's AMUX_HOME
--forceboolfalsekill active isolated launches before uninstall
-h, --helpboolfalsehelp for uninstall
--purgeboolfalserequest destructive data purge (requires separate manual review)
--socketstring""absolute helper socket path (default <amux-home>/isolation-helper.sock)

amux isolation principal ​

Manage canonical principals

Usage

text
amux isolation principal [flags]

Subcommands

CommandDescription
amux isolation principal createCreate a human or service principal
amux isolation principal disableDisable a principal for new execution and authorization
amux isolation principal listList principals

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for principal

amux isolation principal create ​

Create a human or service principal

Usage

text
amux isolation principal create <display-name> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for create
--jsonboolfalseoutput JSON
--kindstringhumanprincipal kind: human or service
--targetstring""optional fixed environment target id

amux isolation principal disable ​

Disable a principal for new execution and authorization

Usage

text
amux isolation principal disable <principal-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for disable

amux isolation principal list ​

List principals

Usage

text
amux isolation principal list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list
--jsonboolfalseoutput JSON

amux isolation service-member ​

Manage service-principal membership

Usage

text
amux isolation service-member [flags]

Subcommands

CommandDescription
amux isolation service-member grantAllow a human principal to run as a service principal
amux isolation service-member revokeRevoke service-principal membership and active service launches

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for service-member

amux isolation service-member grant ​

Allow a human principal to run as a service principal

Usage

text
amux isolation service-member grant [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for grant
--memberstring""member principal UUID (required)
--servicestring""service principal UUID (required)

amux isolation service-member revoke ​

Revoke service-principal membership and active service launches

Usage

text
amux isolation service-member revoke [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for revoke
--memberstring""member principal UUID (required)
--servicestring""service principal UUID (required)

amux isolation status ​

Show isolation configuration, helper readiness, and fallback state

Usage

text
amux isolation status [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for status
--jsonboolfalseoutput JSON

amux memory ​

Manage shared Markdown memory through the Hub

Search, read, conditionally update and forget Markdown memory in the scope selected by the Hub. No Agent Profile is required. Commands return JSON except export, which writes one complete document to standard output.

Usage

text
amux memory [flags]

Subcommands

CommandDescription
amux memory exportExport one complete memory document to standard output
amux memory forgetConditionally delete a memory document
amux memory searchSearch memory using literal keywords
amux memory showRead a bounded memory document or line range
amux memory upsertConditionally save a UTF-8 Markdown memory document

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for memory

amux memory export ​

Export one complete memory document to standard output

Usage

text
amux memory export <path> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for export

amux memory forget ​

Conditionally delete a memory document

Usage

text
amux memory forget <path> [flags]

Options

OptionTypeDefaultDescription
--expected-revisionstring""Previously read SHA-256 revision, or absent if already missing (required)
-h, --helpboolfalsehelp for forget

Search memory using literal keywords

Usage

text
amux memory search <keywords> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for search
--limitint325Maximum matching documents (1-20; 0 uses the server default)
--path-prefixstring""Restrict search to a relative memory path prefix

amux memory show ​

Read a bounded memory document or line range

Usage

text
amux memory show <path> [flags]

Options

OptionTypeDefaultDescription
--end-lineint320Last line to read, inclusive (0 reads to the response limit)
-h, --helpboolfalsehelp for show
--offsetint640Byte offset returned as next_offset by the previous response
--start-lineint320First line to read (1-based; 0 starts at the beginning)

amux memory upsert ​

Conditionally save a UTF-8 Markdown memory document

Usage

text
amux memory upsert <path> [flags]

Options

OptionTypeDefaultDescription
--expected-revisionstring""Previously read SHA-256 revision, or absent for creation (required)
--filestring-Read document content from this file (- reads standard input)
-h, --helpboolfalsehelp for upsert

amux schedule ​

Schedule prompts or subtasks on a timer

Manage scheduled prompts and scheduled subtasks. At the scheduled time amuxd either injects a prompt into a target session (the same as typing it) or submits an ephemeral subtask from a saved task spec. Schedules live in the hub (amuxd), so a hub address must be configured.

Time spec forms: every <duration> e.g. "every 30m", "every 2h" (minimum 1m) daily HH:MM e.g. "daily 09:00" (server local time) at <when> e.g. "at 2026-06-01 09:00" (one-shot) cron <expr> e.g. "cron 0 9 * * 1-5" (standard 5-field)

Usage

text
amux schedule [flags]

Subcommands

CommandDescription
amux schedule createCreate a scheduled prompt
amux schedule create-taskCreate a scheduled subtask
amux schedule disableDisable a scheduled prompt
amux schedule enableEnable a scheduled prompt
amux schedule listList scheduled prompts and subtasks
amux schedule removeDelete a scheduled prompt
amux schedule runsList runs for a schedule
amux schedule updateUpdate a scheduled prompt or subtask in place

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for schedule

amux schedule create ​

Create a scheduled prompt

Usage

text
amux schedule create <session-ref> <spec> <prompt> [flags]

Examples

bash
amux schedule create local/c1 "every 30m" "/daily-report run"
  amux schedule create local/c1 "at 2026-06-01 09:00" "good morning"
  amux schedule create local/c1 "cron 0 9 * * 1-5" "standup reminder"
  amux schedule create local/c1 "every 1h" "/daily-report run" --run-mode new-session-per-run

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for create
--namestring""optional label for the schedule
--run-modestringreuse-sessionexecution mode: reuse-session or new-session-per-run

amux schedule create-task ​

Create a scheduled subtask

Usage

text
amux schedule create-task <spec> [flags]

Examples

bash
amux schedule create-task "every 1h" --agent team/reviewer --task "review recent changes"
  amux schedule create-task "daily 09:00" --agent builtin/codex --task "run smoke tests" --workspace-policy git-worktree --local-dir /path/to/repo

Options

OptionTypeDefaultDescription
--agentstring""agent profile ref or legacy agent type to run
--argstringArray[]native agent argument (repeatable)
--credential-profilestring""credential profile name (control-plane resolved)
-h, --helpboolfalsehelp for create-task
--isolationstring""isolation: process | private-home (default process)
--local-dirstring""target-local working directory override
--modelstring""Per-run model override for the scheduled execution; pass the current session model by default, otherwise the Profile or Agent default model
--namestring""optional label for the schedule
--permission-policystring""Task and native permission policy: default or policy-allow (default), or deny-all; scheduled Tasks cannot use escalate-to-main; overrides native permission flags
--reasoning-effortstring""Per-run reasoning effort override for the scheduled execution; pass the current session effort by default, otherwise the selected model's declared default
--repo-cache-keystring""workspace repo cache key
--repo-commitstring""workspace repo commit/ref
--repo-kindstring""workspace repo kind (for example: git)
--repo-remotestring""workspace repo remote URL or stable id
--repo-subdirstring""workspace repo subdirectory
--run-asstring""run as an enrolled principal alias (resolved and frozen when the schedule is saved)
--runtimestring""Execution runtime adapter; omitted uses the builtin shortcut preset or the distribution default for other experts
--taskstring""task prompt to run on each schedule fire
--timeoutint0task timeout in seconds (0 = runtime default)
--trusted-mode-ackbooltruelegacy no-op: long-lived secrets inject under weak isolation by default (v0.38)
--workspace-policystringtemp-dirworkspace policy: temp-dir | git-worktree

amux schedule disable ​

Disable a scheduled prompt

Usage

text
amux schedule disable <id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for disable

amux schedule enable ​

Enable a scheduled prompt

Usage

text
amux schedule enable <id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for enable

amux schedule list ​

List scheduled prompts and subtasks

Usage

text
amux schedule list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list

amux schedule remove ​

Delete a scheduled prompt

Usage

text
amux schedule remove <id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for remove

amux schedule runs ​

List runs for a schedule

Usage

text
amux schedule runs <id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for runs

amux schedule update ​

Update a scheduled prompt or subtask in place

Usage

text
amux schedule update <id> [flags]

Examples

bash
amux schedule update 8 --name nightly-report
  amux schedule update 8 --spec "daily 09:00"
  amux schedule update 8 --agent builtin/codex --task "run smoke tests"

Options

OptionTypeDefaultDescription
--agentstring""agent profile ref or legacy agent type to run
--argstringArray[]native agent argument (repeatable)
--credential-profilestring""credential profile name (control-plane resolved)
-h, --helpboolfalsehelp for update
--isolationstring""isolation: process | private-home (default process)
--local-dirstring""target-local working directory override
--modelstring""Per-run model override for the scheduled execution; pass the current session model by default, otherwise the Profile or Agent default model
--namestring""new label for the schedule
--permission-policystring""Task and native permission policy: default or policy-allow (default), or deny-all; scheduled Tasks cannot use escalate-to-main; overrides native permission flags
--reasoning-effortstring""Per-run reasoning effort override for the scheduled execution; pass the current session effort by default, otherwise the selected model's declared default
--repo-cache-keystring""workspace repo cache key
--repo-commitstring""workspace repo commit/ref
--repo-kindstring""workspace repo kind (for example: git)
--repo-remotestring""workspace repo remote URL or stable id
--repo-subdirstring""workspace repo subdirectory
--run-asstring""run as an enrolled principal alias (resolved and frozen when the schedule is saved)
--runtimestring""Execution runtime adapter; omitted uses the builtin shortcut preset or the distribution default for other experts
--specstring""new time rule (every <duration>, daily HH:MM, at <when>, or cron <expr>); recomputes next run
--taskstring""task prompt to run on each schedule fire
--timeoutint0task timeout in seconds (0 = runtime default)
--trusted-mode-ackbooltruelegacy no-op: long-lived secrets inject under weak isolation by default (v0.38)
--workspace-policystringtemp-dirworkspace policy: temp-dir | git-worktree

amux session ​

Manage agent sessions

Usage

text
amux session [flags]

Subcommands

CommandDescription
amux session attachAttach to a session (/detach or Ctrl-] to detach)
amux session cwdShow or change a session working directory
amux session interruptInterrupt the current turn without killing the session
amux session listList sessions
amux session pruneRemove archived (invalid) sessions from the default target
amux session queueShow pending input queue for a session
amux session restartRestart one session or all running local user sessions
amux session resumeResume a sleeping session on its current runtime
amux session runStart an agent and register it as a session
amux session sendSend one message to a session without attaching
amux session set-modelSwitch a session's model while retaining its conversation history
amux session sleepStop a session process while keeping it resumable
amux session stopStop a session and its agent process

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for session

amux session attach ​

Attach to a session (/detach or Ctrl-] to detach)

Usage

text
amux session attach <session-ref> [flags]

Options

OptionTypeDefaultDescription
--debugboolfalseprint raw stdin bytes to stderr
-h, --helpboolfalsehelp for attach

amux session cwd ​

Show or change a session working directory

Usage

text
amux session cwd <session-ref> [path] [flags]

Options

OptionTypeDefaultDescription
--after-turnboolfalsequeue the cwd switch after the active turn and return immediately
-h, --helpboolfalsehelp for cwd
--interruptboolfalseinterrupt the active turn, then change cwd
--no-waitboolfalsefail instead of waiting for the active turn to finish

amux session interrupt ​

Interrupt the current turn without killing the session

Usage

text
amux session interrupt <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for interrupt

amux session list ​

List sessions

Usage

text
amux session list [target] [flags]

Options

OptionTypeDefaultDescription
--allboolfalseshow all sessions, including task child sessions
-h, --helpboolfalsehelp for list
--include-tasksboolfalseinclude task child sessions

amux session prune ​

Remove archived (invalid) sessions from the default target

Usage

text
amux session prune [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for prune

amux session queue ​

Show pending input queue for a session

Usage

text
amux session queue <session-ref> [flags]

Subcommands

CommandDescription
amux session queue cancelCancel one pending input
amux session queue clearClear pending input queue for a session

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for queue

amux session queue cancel ​

Cancel one pending input

Usage

text
amux session queue cancel <session-ref> <queue-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for cancel

amux session queue clear ​

Clear pending input queue for a session

Usage

text
amux session queue clear <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for clear

amux session restart ​

Restart one session or all running local user sessions

Usage

text
amux session restart <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for restart
--refresh-profileboolfalserefresh the session from the current Agent Profile revision and start a new provider context
--runningboolfalserestart all running local user sessions

amux session resume ​

Resume a sleeping session on its current runtime

Usage

text
amux session resume <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for resume

amux session run ​

Start an agent and register it as a session

Usage

text
amux session run <agent-profile|agent-type> [-- <agent-args>...] [flags]

Options

OptionTypeDefaultDescription
-e, --envstringArray[]set env var KEY=VAL (repeatable)
-h, --helpboolfalsehelp for run
--modelstring""override the Agent Profile model for this session
-n, --namestring""session name (required)
--onstring""target to run on (default: local)
--refstring""git ref to checkout after materializing --repo
--repostring""remote Git repository URL to materialize at ./repo
--run-asstring""run as an enrolled principal alias (resolved by amuxd)
--runtimestring""runtime adapter to execute the Agent Profile

amux session send ​

Send one message to a session without attaching

Usage

text
amux session send <session-ref> <text> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for send
--interruptboolfalseinterrupt the current turn and run this message ahead of queued inputs
--steerboolfalseinject this message into the running turn without interrupting it; falls back to the queue

amux session set-model ​

Switch a session's model while retaining its conversation history

Switch the model a session runs on while retaining its amux session identity, workspace, and conversation history.

The model may be a native model name or a provider-backed model ref declared by the session's Agent Profile (for example custom/example-model); the bare upstream model name (for example example-model) resolves to the matching provider-backed option when it is unambiguous. Switching to or across a provider-backed model starts a fresh provider conversation and carries the history over through an amux conversation handoff.

When the session is idle and the runtime supports in-place reconfiguration (Codex-compatible app-server with an unchanged Agent Profile and a native target model), the model switches without restarting the agent process. Otherwise the session restarts in place and the conversation carries over through the provider's native resume, or through an amux conversation handoff when the runtime cannot resume.

Sessions owned by a task or agent instance do not support set-model.

Usage

text
amux session set-model <session-ref> <model> [flags]

Examples

bash
amux session set-model mysession gpt-5.1-codex-mini
  amux session set-model mysession custom/example-model
  amux session set-model remote/mysession claude-sonnet-4-5

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for set-model

amux session sleep ​

Stop a session process while keeping it resumable

Usage

text
amux session sleep <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for sleep

amux session stop ​

Stop a session and its agent process

Usage

text
amux session stop <session-ref> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for stop

amux setup ​

Set up this amux installation

Usage

text
amux setup [local|hub|remote|feishu|feishu-local] [flags]

Options

OptionTypeDefaultDescription
--agentstringbuiltin/codexagent profile for feishu-local
-h, --helpboolfalsehelp for setup
--hubstring""hub address for remote profile
--no-startboolfalsewrite config only; do not start runtime or hub
--smokeboolfalseverify the default profile with one real task turn after setup
--smoke-timeoutint120setup smoke turn timeout in seconds

amux system ​

Inspect and manage this amux installation

Usage

text
amux system [flags]

Subcommands

CommandDescription
amux system cleanupPreview managed data cleanup; --apply cleans and reports to administrators
amux system configManage amux configuration
amux system diagnoseCorrelate a message, turn, task, or session
amux system doctorDiagnose this installation without changing it
amux system logsShow installation log paths
amux system operationInspect and cancel lifecycle operations
amux system restartRestart this amux installation
amux system serviceManage the Amux Windows Service (hub + runtime)
amux system startStart this amux installation
amux system statusShow installation status
amux system stopStop this amux installation
amux system targetManage runtime targets
amux system uninstallUninstall amux from the current user

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for system

amux system cleanup ​

Preview managed data cleanup; --apply cleans and reports to administrators

Usage

text
amux system cleanup [flags]

Options

OptionTypeDefaultDescription
--applyboolfalseApply cleanup and notify configured administrators
--dry-runboolfalsePreview without changing data (the default)
-h, --helpboolfalsehelp for cleanup
--targetstring""Runtime ID or name; empty selects all connected runtimes

amux system config ​

Manage amux configuration

Usage

text
amux system config [flags]

Subcommands

CommandDescription
amux system config getGet config value
amux system config pathPrint config file path
amux system config setSet config value
amux system config showPrint config with shared environment values redacted
amux system config unsetUnset config value

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for config

amux system config get ​

Get config value

Usage

text
amux system config get <key> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for get

amux system config path ​

Print config file path

Usage

text
amux system config path [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for path

amux system config set ​

Set config value

Usage

text
amux system config set <key> <value> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for set

amux system config show ​

Print config with shared environment values redacted

Usage

text
amux system config show [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for show

amux system config unset ​

Unset config value

Usage

text
amux system config unset <key> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for unset

amux system diagnose ​

Correlate a message, turn, task, or session

Usage

text
amux system diagnose [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for diagnose
--message-idstring""Feishu message ID
--session-idstring""amux session ID
--task-idstring""distributed task ID
--turn-idstring""amux turn ID

amux system doctor ​

Diagnose this installation without changing it

Usage

text
amux system doctor [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for doctor

amux system logs ​

Show installation log paths

Usage

text
amux system logs [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for logs

amux system operation ​

Inspect and cancel lifecycle operations

Usage

text
amux system operation [flags]

Subcommands

CommandDescription
amux system operation cancelCancel a pending lifecycle operation
amux system operation listList lifecycle operations
amux system operation showShow a lifecycle operation

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for operation

amux system operation cancel ​

Cancel a pending lifecycle operation

Usage

text
amux system operation cancel <operation-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for cancel

amux system operation list ​

List lifecycle operations

Usage

text
amux system operation list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list

amux system operation show ​

Show a lifecycle operation

Usage

text
amux system operation show <operation-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for show

amux system restart ​

Restart this amux installation

Usage

text
amux system restart [flags]

Options

OptionTypeDefaultDescription
--forceboolfalsecontinue even when active local work would be disrupted
-h, --helpboolfalsehelp for restart
--planboolfalsepreview the lifecycle operation without changing anything

amux system service ​

Manage the Amux Windows Service (hub + runtime)

Usage

text
amux system service [flags]

Subcommands

CommandDescription
amux system service installInstall the Amux Windows Service (Automatic start)
amux system service startStart the Amux Windows Service
amux system service statusShow Amux Windows Service status
amux system service stopStop the Amux Windows Service
amux system service uninstallStop and remove the Amux Windows Service

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for service

amux system service install ​

Install the Amux Windows Service (Automatic start)

Usage

text
amux system service install [flags]

Options

OptionTypeDefaultDescription
--amux-homestring""amux data directory (default: current AMUX_HOME or %USERPROFILE%.amux)
--bin-dirstring""directory containing amux.exe / amuxd.exe / amuxlet.exe (default: directory of this amux)
-h, --helpboolfalsehelp for install

amux system service start ​

Start the Amux Windows Service

Usage

text
amux system service start [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for start

amux system service status ​

Show Amux Windows Service status

Usage

text
amux system service status [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for status

amux system service stop ​

Stop the Amux Windows Service

Usage

text
amux system service stop [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for stop

amux system service uninstall ​

Stop and remove the Amux Windows Service

Usage

text
amux system service uninstall [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for uninstall

amux system start ​

Start this amux installation

Usage

text
amux system start [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for start
--planboolfalsepreview the lifecycle operation without changing anything

amux system status ​

Show installation status

Usage

text
amux system status [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for status

amux system stop ​

Stop this amux installation

Usage

text
amux system stop [flags]

Options

OptionTypeDefaultDescription
--forceboolfalsecontinue even when active local work would be disrupted
-h, --helpboolfalsehelp for stop
--planboolfalsepreview the lifecycle operation without changing anything

amux system target ​

Manage runtime targets

Usage

text
amux system target [flags]

Subcommands

CommandDescription
amux system target listList runtimes connected to the hub

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for target

amux system target list ​

List runtimes connected to the hub

Usage

text
amux system target list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list

amux system uninstall ​

Uninstall amux from the current user

Usage

text
amux system uninstall [flags]

Options

OptionTypeDefaultDescription
--bin-dirstring""installed binary directory (default: ~/.amux/bin)
-h, --helpboolfalsehelp for uninstall
--purgeboolfalseremove ~/.amux data, config, logs, and secrets
--yesboolfalseconfirm uninstall

amux task ​

Run and manage subagent tasks

Submit and manage subagent tasks. A task runs an agent in an isolated per-run sandbox with a credential profile and permission policy, and returns a structured result. The CLI submits tasks to the hub, which schedules them onto a registered runtime.

Usage

text
amux task [flags]

Subcommands

CommandDescription
amux task cancelCancel a task
amux task listList tasks
amux task logsStream a task's events until it finishes (read-only)
amux task pruneDelete terminal task history
amux task respondAnswer an escalated permission request (escalate-to-main)
amux task showShow a task's status and result
amux task submitSubmit a subagent task

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for task

amux task cancel ​

Cancel a task

Usage

text
amux task cancel <task-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for cancel

amux task list ​

List tasks

Usage

text
amux task list [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for list

amux task logs ​

Stream a task's events until it finishes (read-only)

Usage

text
amux task logs <task-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for logs

amux task prune ​

Delete terminal task history

Usage

text
amux task prune [flags]

Options

OptionTypeDefaultDescription
--dry-runboolfalseshow what would be deleted without deleting anything
-h, --helpboolfalsehelp for prune
--older-thanstring""only prune terminal tasks older than duration (for example 24h or 7d)
--statusstring""comma-separated terminal statuses to prune (succeeded,failed,cancelled,timed_out)

amux task respond ​

Answer an escalated permission request (escalate-to-main)

Usage

text
amux task respond <task-id> [flags]

Options

OptionTypeDefaultDescription
--allowboolfalseapprove the request
--denyboolfalsereject the request
-h, --helpboolfalsehelp for respond
--optionstring""explicit provider option id (optional)
--permissionstring""permission id to answer (from the escalation event)
--reasonstring""reason recorded in diagnostics

amux task show ​

Show a task's status and result

Usage

text
amux task show <task-id> [flags]

Options

OptionTypeDefaultDescription
-h, --helpboolfalsehelp for show

amux task submit ​

Submit a subagent task

Usage

text
amux task submit <task prompt> [flags]

Options

OptionTypeDefaultDescription
--agentstringbuiltin/codexagent profile ref or legacy agent type to run
--argstringArray[]extra agent CLI arg (repeatable)
--commitstring""git commit/ref to base a git-worktree on (default HEAD)
--credential-profilestring""credential profile name (control-plane resolved)
-h, --helpboolfalsehelp for submit
--isolationstring""isolation: process | private-home (default process)
--modelstring""Execution model ref; omitted uses the parent session's current model and reasoning effort when it runs on the session's engine, otherwise the inherited launch preset model or the selected engine default
--permissionstring""Task and native permission policy: policy-allow (default), escalate-to-main, or deny-all; overrides native permission flags; persistent instances retain this policy
--profilestring""agent profile ref to resolve before scheduling (overrides --agent)
--repo-dirstring""repo cache dir for git-worktree workspace
--run-asstring""run as an enrolled principal alias (resolved by amuxd)
--runtimestring""Execution runtime adapter; omitted uses the builtin shortcut preset or the distribution default for other experts
--timeoutint0task timeout in seconds (0 = runtime default)
--trusted-mode-ackbooltruelegacy no-op: long-lived secrets inject under weak isolation by default (v0.38)
--waitboolfalseblock until the task finishes and print the result
--workspacestring""workspace policy: temp-dir | git-worktree (default temp-dir)

Released under the Apache-2.0 License.