> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# aether task

> Create, monitor, and manage agent tasks

Manage agent tasks. A task is one agent run that reads files, executes commands, and writes code in an isolated workspace. See [tasks and lifecycle](https://docs.runaether.dev/concepts/tasks-and-lifecycle.md) for concepts.

## Usage

```bash theme={"dark"}
aether task <subcommand> [flags]
```

`tasks` is an alias for `task`. Most `<id>` arguments accept a [short prefix](https://docs.runaether.dev/cli/overview.md#resolving-ids-short-prefixes).

A task holds one or more [chats](#aether-task-chats), all in its workspace. Every command that takes a task addresses its main chat, the one it was created with; `respond`, `stop`, `turns` and `watch` take `--chat <chat-id>` to address another. A chat id accepts a short prefix too.

## Subcommands

| Subcommand | Description |
| - | - |
| `list` | List tasks for the current project |
| `create` | Create a new task |
| `get <id>` | Show task details and the event timeline |
| `status <id>` | Show compact task status |
| `turns <id>` | Show the task's conversation, turn by turn |
| `chats list <id>` | List the task's chats with their status |
| `chats start <id>` | Start a chat beside the task's main chat |
| `chats fork <id>` | Fork a chat into a new chat of the same task |
| `chats continue <id> <folder>` | Continue a chat in Claude Code on this computer, in a new work tree |
| `activity <id>` | Show the task's activity feed, newest first |
| `tree <id>` | Show the tree of parent and child tasks the task belongs to |
| `subagents list <id>` | List the subagents the task's agent spawned |
| `subagents events <id> <tool-call-id>` | Show one subagent's transcript |
| `media list <id>` | List the screenshots and recordings captured for the task |
| `media hide <id> <media-id>` | Hide a capture from the task's proof page |
| `spend <id>` | Show the task's model spend by what paid for it |
| `runtime-usage <id>` | Show what the task's metered runs have used |
| `update <id>` | Update the task's agent settings |
| `respond <id>` | Send a follow-up message or answer the agent inline |
| `stop <id>` | Stop a running task and park it in `awaiting_input` |
| `keep-context <id>` | Skip the idle compaction a waiting task shows, keeping its full context |
| `compact <id>` | Compact a waiting task's conversation now |
| `archive <id>` | Archive a task |
| `unarchive <id>` | Unarchive a task |
| `pin <id>` | Pin a task for its organization |
| `unpin <id>` | Unpin a task |
| `save <id>` | Save a task with no repository to GitHub |
| `download <id>` | Download the task branch's tree as a zip |
| `remove-from-queue <id> <message-id>` | Remove one queued follow-up message |
| `watch <id>` | Watch the agent's progress live |

## aether task list

List tasks in the current project.

```bash theme={"dark"}
aether task list [flags]
```

| Flag | Description |
| - | - |
| `--status` | Filter by display status, comma-separated (see below) |
| `--needs-you` | Only tasks waiting on you — mutually exclusive with `--status` |
| `--started-after` | Only tasks started on or after this UTC date (`YYYY-MM-DD`) |
| `--started-before` | Only tasks started before this UTC date (`YYYY-MM-DD`) |
| `--ended-after` | Only tasks that ended on or after this UTC date (`YYYY-MM-DD`) |
| `--ended-before` | Only tasks that ended before this UTC date (`YYYY-MM-DD`) |
| `--order` | Order: `created_at` or `agent_sidebar` |
| `--source` | Only tasks from this source, such as `manual`, `linear`, or `pr_review` |
| `--ids` | Only tasks with these full IDs, comma-separated |
| `--limit` | Maximum tasks to return |
| `--cursor` | Resume after a previous page: the `next_cursor` it printed |

When more tasks follow, the list ends with the `--cursor` to pass for the next page; tasks created meanwhile never shift that page. With `--json` the cursor is the response's `next_cursor`, `null` on the last page.

`--status` takes one or more **display statuses**, comma-joined: `running`, `awaiting_input`, `awaiting_ci`, `merged`, `unmerged`, `errored`, `archived`. It also takes `review_attention` — a virtual filter token, not a display status, that matches a task whose pull-request review needs your judgment. Pass `all` to clear the filter.

`--needs-you` is the shorthand for the same set the web app's "Needs you" filter sends: `--status awaiting_input,review_attention,errored`.

PR-review runs are listed only with `--source pr_review` or when `--ids` names them; every other list leaves them out.

With `--project`, the listing is that project's tasks; the project must belong to the organization the command acts in (see [`--org`](https://docs.runaether.dev/cli/overview#global-flags)). Run by your personal agent with no project from `--project`, `AETHER_PROJECT`, or [`aether project select`](https://docs.runaether.dev/cli/project#aether-project-select), it lists your agent's default project.

```bash theme={"dark"}
aether task list
```

```
ID          STATUS            PR                CREATED    NAME
a1b2c3d4    running                             2m ago     Fix the login bug
e5f6g7h8    awaiting_input                      1h ago     Add dark mode
i9j0k1l2    errored                             3h ago     Deploy to production
q7r8s9t0    done              #131 awaiting_ci  5h ago     Add rate limiting
m3n4o5p6    done              #128 merged       2d ago     Ship the API docs
```

The **STATUS** column is the task's own state — `running`, `awaiting_input`, `errored`, `done`, or `archived`. Pull-request lifecycle lives in the **PR** column, so `--status merged` returns rows whose STATUS reads `done` with the merge shown under PR. The PR cell names the same bucket `--status` filters on: `merged`, or `awaiting_ci` for an open PR whose checks are still running. `unmerged` is a catch-all over open and closed PRs, so those rows show the pull request's own state (`open`, `closed`) instead. `--json` is unaffected: it prints the server's envelope, including the raw `display_status`.

```bash theme={"dark"}
# Multiple statuses
aether task list --status running,awaiting_input

# Everything that blocks on you
aether task list --needs-you

# Tasks that ended in October 2026
aether task list --ended-after 2026-10-01 --ended-before 2026-11-01
```

## aether task create

Create a task with a prompt. If `--prompt` is omitted (and not reading `--stdin`), you are prompted for it interactively.

```bash theme={"dark"}
aether task create [flags]
```

| Flag | Description |
| - | - |
| `--prompt` | The task description |
| `--stdin` | Read the prompt from standard input |
| `--size` | VM size: `medium`, `large`, or `xl` |
| `--agent-type` | Override the project default agent type |
| `--model` | Override the project default model |
| `--interaction-mode` | Override the project default interaction mode |
| `--reasoning-effort` | Override reasoning effort, or `none` to clear |
| `--auto-fix-ci` | Auto-fix CI (`true` or `false`) |
| `--auto-fix-pr-comments` | Auto-fix PR comments (`true` or `false`) |
| `--auto-rebase` | Auto-rebase (`true` or `false`) |
| `--base-branch` | Base branch for the task branch and pull request |
| `--context-file` | Workspace file path to include in prompt context; repeatable |
| `--attach` | Local image file to attach; repeatable |

```bash theme={"dark"}
aether task create --prompt "Add input validation to the signup form" --size medium
```

```
Task created: a1b2c3d4

  Run 'aether task watch a1b2c3d4' to watch progress.
```

> [!TIP]
>
> [`aether run`](https://docs.runaether.dev/cli/run) does `create` plus `watch` in one step and is usually what you want.

Every task carries an explicit VM size. If you omit `--size`, the size is resolved server-side — the project's default task size, else `medium` — and the CLI prints `size: project default (use --size to override)`. See [VM sizes and warm starts](https://docs.runaether.dev/guides/tasks.md#vm-size).

With `--json`, the size is still resolved server-side the same way; the CLI only suppresses the notice so stdout remains valid JSON.

## aether task get

Show task details, summary, and the event timeline.

```bash theme={"dark"}
aether task get a1b2c3d4
```

When the agent has a plan, `get` prints it as a numbered checklist after the status block — `[x]` done, `[>]` in progress, `[ ]` pending:

```
Plan:
  Show the agent's plan in the CLI
  1. [x] Add the plan section to task get
  2. [>] Print the step line in task watch
  3. [ ] Update the CLI reference docs
  1/3 done
```

The plan persists after the task settles, so a finished task still shows the checklist it ended on. Tasks whose harness never sent a plan have no `Plan` section. With `--json`, the plan is the optional `plan` field.

## aether task status

Show a compact status line — runtime status, display status, workspace, PR/CI, and tokens.

```bash theme={"dark"}
aether task status a1b2c3d4
```

## aether task turns

Show the task's conversation, newest page: each turn's input and the agent's latest message on it, under the task's page link. When older turns exist it prints the cursor that reads them; pass it back with `--cursor`. With `--json`, the server's response.

```bash theme={"dark"}
aether task turns a1b2c3d4
aether task turns a1b2c3d4 --cursor <next_cursor>
```

With `--chat`, the turns of that chat instead of the main chat's.

## aether task chats

A task's chats share its workspace: its files, branch and pull request. Each chat has its own agent, model, reasoning effort, transcript and queue. One turn runs at a time per workspace, so a message to a chat while another chat's turn runs waits in its queue. A chat does not change who a task reports to.

### aether task chats list

List the task's chats, the main chat first, with each chat's own status: what an `awaiting_input` chat awaits (`message`, `questions` or `plan`), the chat a `queued` chat waits for, and whether it is archived. With `--json`, the server's response, whose `awaiting_input` carries a chat's question or plan.

```bash theme={"dark"}
aether task chats list a1b2c3d4
```

```
CHAT               STATUS                      AGENT        MODEL            EFFORT  CREATED
55555555 (main)    awaiting_input (message)    claude-code  claude-opus-5-5  high    2h ago
66666666           processing                  codex        gpt-6-sol        -       5m ago
```

### aether task chats start

Start a chat in the task's workspace with an empty context. Settings you leave out are the main chat's; another `--agent-type` takes its default model, and an inherited effort the chat's model cannot take is left to the model's default. The chat runs on the task creator's default connection for its agent.

```bash theme={"dark"}
aether task chats start a1b2c3d4
aether task chats start a1b2c3d4 --agent-type codex --reasoning-effort high
aether task respond a1b2c3d4 --chat 66666666 --message "What does the retry loop in sync.go do?"
```

| Flag | Description |
| - | - |
| `--agent-type` | The chat's agent (default: the main chat's) |
| `--model` | The chat's model (default: the main chat's, or the agent's default for another agent) |
| `--reasoning-effort` | The chat's reasoning effort, or `none` (default: the main chat's) |
| `--interaction-mode` | The chat's interaction mode (default: the main chat's) |

### aether task chats fork

Fork a chat into a new chat of the same task, on the same files, branch and pull request. The new chat starts with a copy of the chat's conversation and resumes its agent's memory under a new session, so it can try another direction while the chat it was forked from stays as it was. It takes that chat's agent, model, reasoning effort and interaction mode, and names it in `forked_from` (`--json`). A chat is refused while it has a turn queued or running or waits on your answer, before its first turn has ended, and on OpenCode; the error says which.

```bash theme={"dark"}
aether task chats fork a1b2c3d4
aether task chats fork a1b2c3d4 --chat 66666666
aether task respond a1b2c3d4 --chat 77777777 --message "Try a retry instead of a wait."
```

```
Chat 77777777 forked from chat 66666666 of task a1b2c3d4 (codex, gpt-6-sol).
```

| Flag | Description |
| - | - |
| `--chat` | The chat to fork, by its id or a prefix of it (default: the task's main chat) |

### aether task chats continue

Continue one of your chats in Claude Code on the computer you run this on. The task page and the phone app show the command ready to copy, for each of your computers by name. Run it inside a checkout of the task's repository:

1. It exports the chat's Claude Code session file, as of the chat's latest checkpoint. Only the task's creator can export a chat, and the chat in Aether stays as it is.
2. It fetches the task's branch from `origin` and makes a new work tree on it in `<folder>` (`git worktree add --no-track -b <branch> <folder>`). A folder that already exists is refused, and so is a branch of that name your checkout already has (from an earlier continue, say): continue in the work tree that has it, or delete the branch first.
3. It places the session file, untouched, where Claude Code looks for the work tree's sessions: `$CLAUDE_CONFIG_DIR/projects/<folder>/` when `CLAUDE_CONFIG_DIR` is set, else `~/.claude/projects/<folder>/`, the folder named from the work tree's resolved path as Claude Code names it (`/private/tmp` on macOS for `/tmp`).
4. It prints the command that resumes the session as a fork: `claude --resume <session> --fork-session`, with `CLAUDE_CONFIG_DIR=<absolute path>` before it when you ran the command with `CLAUDE_CONFIG_DIR` set.

The resumed session shows in Aether as a chat of the work tree, forked from the chat, once this computer's machine bridge mirrors it. Run the printed command within 24 hours, before any other Claude Code session in the folder: the first terminal chat of the folder takes the link.

The command runs under the sign-in `aether setup` gave this computer, and only on the computer it was copied for (`--computer`). Signing Claude Code in is yours to do, and so is trusting the work tree: its files, `.claude` settings and hooks among them, are the agent's, so Claude Code asks whether you trust the folder the first time it runs there. The chat's checkpoint holds its session file alone, so sub-agents' transcripts do not come with it.

```bash theme={"dark"}
aether task chats continue 3f0b5d8e-6a1c-4d2b-9e7f-1a2b3c4d5e6f \
  --chat 6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 \
  --computer 0f3c9d2a-6b1e-4c7d-8a5f-2e9b1d4c6a08 ../fix-flaky-login
```

```
Chat 6f1c2a9e of task 3f0b5d8e is in /Users/ada/src/fix-flaky-login, a work tree on aether/fix-flaky-login.

Continue it in Claude Code:

  cd /Users/ada/src/fix-flaky-login && claude --resume 550e8400-e29b-41d4-a716-446655440000 --fork-session

Claude Code asks whether you trust the work tree the first time it runs there.
```

| Flag | Description |
| - | - |
| `--chat` | The chat to continue, by its whole id |
| `--computer` | The computer the command was copied for, by its id: the one you run it on |

## aether task activity

Show one page of the task's activity feed, newest first. A task with a pull request reads that pull request's feed: the authoring task's events, review runs, feedback sent to the agent, GitHub reviews, and the merge. A task without one reads its own events.

```bash theme={"dark"}
aether task activity <id> [flags]
```

| Flag | Description |
| - | - |
| `--limit` | Events per page, 1 to 200 (default 50) |
| `--cursor` | Read the page after a previous one, from its `Next cursor:` line |

```bash theme={"dark"}
aether task activity a1b2c3d4
```

```
WHEN      KIND                    DETAIL
2m ago    merged                  Pull request merged
1h ago    github_review           octocat: APPROVED, 2 findings
1h ago    review_run_completed    Review run 1 completed
3h ago    task_event              done: Opened pull request #7

Next cursor: eyJ2IjoxLCJzY29wZSI6...
```

A review Aether posted on its own pull request reads at the verdict Aether recorded, marked `(recorded in Aether)`: GitHub holds such a review as `COMMENTED`. Every other review state, such as `DISMISSED`, reads as GitHub holds it. With `--json`, the API's page: `items` and `next_cursor` (`null` on the last page).

## aether task tree

Show the whole tree the task belongs to: its root, then each task beneath its parent, with the parent's ID in the `PARENT` column. The task itself can be anywhere in the tree.

```bash theme={"dark"}
aether task tree a1b2c3d4
```

```
ID          PARENT      OUTCOME           PR     NAME
1a1a1a1a                running                  Ship billing
2b2b2b2b    1a1a1a1a    merged            #13    Add checkout
a1b2c3d4    2b2b2b2b    awaiting_input           Add the checkout test
4d4d4d4d    1a1a1a1a    errored                  Add the portal
```

`OUTCOME` is each task's outcome. With `--json`, the API's `items`: every task of the tree at once, each a whole task.

## aether task subagents

Read the subagents a task's agent spawned: Claude Code Task agents, background shells, and workflows, and Codex collab agents. They are not Aether tasks and have no workspace, branch, or pull request of their own.

### aether task subagents list

```bash theme={"dark"}
aether task subagents list a1b2c3d4
```

```
TOOL CALL         TYPE           STATUS       STARTED    DESCRIPTION
toolu_01AbCdEf    local_agent    completed    5m ago     Find the session check
```

Each subagent is listed by the tool call that spawned it, which is the ID `events` takes. Subagents the agent's CLI runs for its own housekeeping are left out, as on the web. `--json` prints the API's `items`, including them (`"ambient": true`).

### aether task subagents events

Show one subagent's transcript in order: the text it wrote, and each tool it called, once, with the status it settled at and the error of one that failed.

```bash theme={"dark"}
aether task subagents events <id> <tool-call-id>
```

```bash theme={"dark"}
aether task subagents events a1b2c3d4 toolu_01AbCdEf
```

```
Text:
  Looking at the login handler.
Tool toolu_03Read: Read apps/web/login.ts (output-available)
Tool toolu_04Read: Read apps/web/session.ts (output-error)
  no such file
```

The API caps a transcript; when the cap is hit, the output ends by saying so (`"truncated": true` with `--json`). A tool call's output is in `--json` only. Control characters in what the agent wrote, such as terminal escape sequences, are printed escaped (`\x1b`) so they cannot drive your terminal; `--json` carries the text as the API sent it.

## aether task media

Read the screenshots and recordings captured for a task, and hide one from its proof page.

### aether task media list

```bash theme={"dark"}
aether task media list a1b2c3d4
```

```
9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f  screenshot          2h ago       The login page
  https://media.example.com/9c1d2e3f.png
0d1e2f3a-4b5c-4d6e-8f7a-1b2c3d4e5f6a  recording           1d ago       Checkout flow (hidden)
  https://media.example.com/0d1e2f3a.mp4
```

Each capture shows its ID, kind, age and title, with its URL on the line below. Hidden captures appear, marked `(hidden)`, only to someone who may hide them. With `--json`, the API's `items`, each saying whether you may hide it (`hideable`).

### aether task media hide

Hide a capture from the task's proof page and Verify panel. It takes the capture's full ID from `media list`.

```bash theme={"dark"}
aether task media hide <id> <media-id>
```

```bash theme={"dark"}
aether task media hide a1b2c3d4 9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f
```

```
Hid capture 9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f of task a1b2c3d4.
```

Only an admin or owner of the task's organization, or a member with product access who created a task linked to the task's pull request, can hide a capture. `--json` prints the hidden capture.

## aether task spend

Show the task's model spend by what paid for it.

```bash theme={"dark"}
aether task spend a1b2c3d4
```

```
Aether inference:  $1.23
Your API keys:     $0.45 (estimate)
Subscriptions:     98765 tokens
Unpriced turns:    0
```

Turns through Aether inference cost what is shown. Turns on your own API keys show an estimate of what the provider charged. Subscription turns cost no money, so they show the tokens they used. Unpriced turns are paid turns whose model had no price, so the dollar figures leave them out. With `--json`, the API's figures in microdollars (USD × 1,000,000).

## aether task runtime-usage

Show what the task's metered runs have used so far: credits, and the CPU-hours and GB-hours behind them.

```bash theme={"dark"}
aether task runtime-usage a1b2c3d4
```

```
Billing:    metered
Credits:    3.50
CPU hours:  1.25
GB hours:   2.00
```

A task on reserved machines has nothing metered; it is billed by VM time at its machine class's rate, and the command says so.

## aether task update

Update the task's model and behavior settings. Its harness is fixed at creation. Provide at least one flag.

```bash theme={"dark"}
aether task update <id> [flags]
```

| Flag | Description |
| - | - |
| `--model` | Model |
| `--interaction-mode` | Interaction mode |
| `--reasoning-effort` | Reasoning effort, or `none` |
| `--auto-fix-ci` | Auto-fix CI (`true` or `false`) |
| `--auto-fix-pr-comments` | Auto-fix PR comments (`true` or `false`) |
| `--auto-rebase` | Auto-rebase (`true` or `false`) |

## aether task respond

Continue a task: send a follow-up message, or answer the agent inline when it is waiting on you.

```bash theme={"dark"}
aether task respond <id> [flags]
```

| Flag | Description |
| - | - |
| `--message` | Follow-up message text |
| `--stdin` | Read the message from standard input |
| `--answer` | Answer a structured question: `<question>:<option>` or `<question>:other:<text>`; repeatable |
| `--approve` | Approve the proposed plan |
| `--reject` | Reject the proposed plan |
| `--feedback` | Message to send back with `--reject` |
| `--pending` | The open request to answer, by its `tool_id`, when the chat has several |
| `--no-watch` | Send the response without streaming the reply |
| `--interaction-mode` | Override the follow-up interaction mode |
| `--reasoning-effort` | Override follow-up reasoning effort, or `none` |
| `--context-file` | Workspace file path to include in follow-up context; repeatable |
| `--attach` | Local image file to attach; repeatable |
| `--chat` | Send to this chat of the task instead of its main chat |

With `--message`, the text is sent directly:

```bash theme={"dark"}
aether task respond a1b2c3d4 --message "Use bcrypt instead of argon2"
```

**`respond` streams the agent's reply by default**, the same way `aether run` does, and exits non-zero if the task fails. Until the agent has the message, it follows it through the [message read](https://docs.runaether.dev/api-reference/endpoints/tasks/get-tasks-by-taskid-messages-by-messageid.md) and prints where it is in the API's words. Aether holds a message to a chat on your computer for up to 24 hours while the computer cannot be reached. If the computer cannot be reached, `respond` prints that Aether holds the message and exits 0; it does the same if the message has still not reached the agent after five minutes. A message behind a running turn streams that turn, with no time limit, while `respond` keeps reading the message beside it, so a computer that goes away meanwhile ends the stream the same way. A message that was not delivered exits 1 with the reason, and so does one whose fate is unknown: it may have reached the agent, and Aether does not send it again. Pass `--no-watch` to send and return immediately, printing where the message is. `--json` prints the message it sent without streaming:

```bash theme={"dark"}
aether task respond a1b2c3d4 --message "Use bcrypt instead of argon2" --no-watch
aether task respond a1b2c3d4 --message "Use bcrypt instead of argon2" --json
```

**When you omit `--message`, `respond` is interactive.** If the task is waiting on a question (`ask_user`) or a plan review (`propose_plan`), the CLI presents the prompt, with the plan's decisions as the API offers them, and sends your answer. Otherwise it asks you for a free-text message.

```bash theme={"dark"}
# Answer the agent's open question or review its plan
aether task respond a1b2c3d4
```

**Structured input can also be answered non-interactively**, so scripts and agents can drive tasks without a TTY. Read the open request from the chat's `pending_inputs` in `aether task chats list <id> --json`, then respond:

```bash theme={"dark"}
# Select option 1 of question 0
aether task respond a1b2c3d4 --answer 0:1

# Multi-select questions take repeated --answer flags for the same question;
# other:<text> gives a free-text answer
aether task respond a1b2c3d4 --answer 0:0 --answer 0:2 --answer 1:other:"use Redis"

# Approve or reject a proposed plan
aether task respond a1b2c3d4 --approve
aether task respond a1b2c3d4 --reject --feedback "Split the migration into two steps"
```

The CLI answers the chat's open request of the flag's kind (`--answer` answers questions, `--approve`/`--reject` a plan) through the [answer endpoint](https://docs.runaether.dev/api-reference/endpoints/tasks/post-tasks-by-taskid-chats-by-chatid-answer.md). The API checks the answer, and a refusal prints its code and the API's sentence. A chat that waits on nothing is sent nothing. When the chat has several requests of that kind open, `--pending <tool_id>` names the one to answer. A permission request (a tool call) on your computer is approved from the web app or your phone: `respond` prints the API's sentence for it and sends nothing. With `--json`, an answer prints the chat the API answered.

An answer carries no message, so `--message`, `--stdin`, `--context-file`, `--attach`, `--interaction-mode` and `--reasoning-effort` are refused beside it; change the interaction mode or reasoning effort with `aether task update` after answering. `--feedback` goes with `--reject`.

If the task is awaiting a structured answer, passing `--message` alone is rejected — pass `--answer`/`--approve`/`--reject`, or run `respond` without flags so the CLI can present the question or plan.

**With `--chat`, every form above addresses that chat**, on any machine, a chat on your computer included: the CLI reads the chat's own status and `pending_inputs` (`aether task chats list <id> --json`), answers or sends to that chat, and streams that chat's reply. A task in a checkout on your computer has no main chat, so name one of its chats with `--chat`.

```bash theme={"dark"}
aether task respond a1b2c3d4 --chat 66666666 --answer 0:1
```

## aether task stop

Stop a running task and park it in `awaiting_input` so you can respond and resume.

```bash theme={"dark"}
aether task stop a1b2c3d4
```

```
Task a1b2c3d4 stopped; queued messages discarded (use --keep-queued to keep them).
```

| Flag | Description |
| - | - |
| `--keep-queued` | Keep the queued follow-up messages instead of discarding them. If any remain, the next one starts a new execution; with an empty queue the task parks in `awaiting_input`. |

```bash theme={"dark"}
aether task stop a1b2c3d4 --keep-queued
```

```
Task a1b2c3d4 stopped; queued messages kept.
```

With `--chat`, only that chat's turn stops, and only its queued messages are discarded or kept:

```bash theme={"dark"}
aether task stop a1b2c3d4 --chat 66666666
```

## aether task keep-context / compact

Aether compacts an idle Claude Code session on a Claude plan just before its prompt cache expires: it replaces the conversation with a summary, so the next message does not re-read all of it. `aether task get <id> --json` shows a pending compaction as `awaiting_input.idle_compaction`.

`keep-context` skips that one compaction: the next message re-reads the whole conversation, and a later turn schedules a new compaction as usual. `compact` delivers it now instead, with every check the compaction's timer makes.

```bash theme={"dark"}
aether task keep-context a1b2c3d4
aether task compact a1b2c3d4
```

```
Task a1b2c3d4 keeps its full context.
Task a1b2c3d4 is compacting its conversation.
```

A task with no pending compaction is refused with `idle_compaction_not_pending`, and a compaction that no longer applies (its pull request merged, its connection changed or hit a limit) with `idle_compaction_skipped`.

## aether task archive / unarchive

Move a task into or out of the archive by setting its `archived` field (`PATCH /tasks/{id}`), then print the task the API answers with: its short ID, name, and display status. `--json` prints that task.

```bash theme={"dark"}
aether task archive <id>
aether task unarchive <id>
```

Archiving a task archives it for its organization and unpins it. Unarchiving restores it, also for you if you had hidden it.

```bash theme={"dark"}
aether task archive a1b2c3d4
```

```
Task a1b2c3d4 archived: Fix the login bug (archived)
```

## aether task pin / unpin

Pin a task for its organization, or unpin it, by setting its `pinned` field (`PATCH /tasks/{id}`), then print the task the API answers with. `--json` prints that task.

```bash theme={"dark"}
aether task pin <id>
aether task unpin <id>
```

An archived task, a campaign child, or a review run cannot be pinned. Only the task's creator or an admin or owner of its organization can archive, unarchive, pin, or unpin it.

```bash theme={"dark"}
aether task pin a1b2c3d4
```

```
Task a1b2c3d4 pinned: Fix the login bug (running)
```

```bash theme={"dark"}
aether task unpin a1b2c3d4
```

```
Task a1b2c3d4 unpinned: Fix the login bug (running)
```

## aether task save

Save a task with no repository to GitHub (`POST /tasks/{id}/repository`): the task's project gains a repository, the task is bound to it, and the task's history is given a home there. A repository with no commits receives the task branch as its first history; one with commits has the task's commits replayed onto its default branch, and a replay that stops on a conflict is left to the agent, which finishes the rebase and then publishes.

```bash theme={"dark"}
aether task save <id> --create <name> [--public] [--installation-id <id>]
aether task save <id> --repo <owner/name> [--installation-id <id>]
aether task save <id>
```

| Flag | Description |
| - | - |
| `--create <name>` | Create a private repository of this name under your installation's account (`--public` makes it public) |
| `--repo <owner/name>` | Pick a repository your installation reaches; one with history has the task's commits replayed onto its default branch |
| `--installation-id <id>` | The installation the repository is created under or picked through; with one installation, or one whose account owns the picked repository, it is found for you |

Only the task's creator creates or picks a repository. A project that already has a repository takes the task's work there and needs neither `--create` nor `--repo`; the task's creator or an owner or admin of the organization saves into it. `--json` prints the API's answer: the repository, the binding, and the outcome (`published` with its `head_sha` and whether it was `rebased`, or `rebase_conflict` with the `default_branch` the replay stopped on).

```bash theme={"dark"}
aether task save a1b2c3d4 --create weather-app
```

```
Saved task a1b2c3d4 to acme/weather-app (main)
Published at 9fceb02d2b3c4e5f6a7b8c9d0e1f2a3b4c5d6e7f
```

## aether task download

Download the tree of the task branch's commit as a zip (`GET /tasks/{id}/download`): its tracked files, without the git history. The task's workspace produces it, woken when idle, so a task that has not started has nothing to download. The file takes the name the API gives it, in the current directory, unless `--output` names another file. An existing file is never overwritten. Uncommitted changes in the workspace are not in the zip; the command says when it left some out, so you can ask the agent to commit them first.

```bash theme={"dark"}
aether task download <id> [--output <path>]
```

`--json` prints the file written, its size in bytes, the commit the tree was taken from, and `uncommitted_changes`.

```bash theme={"dark"}
aether task download a1b2c3d4
```

```
Downloaded weather-app-9fceb02.zip (48213 bytes, commit 9fceb02d2b3c4e5f6a7b8c9d0e1f2a3b4c5d6e7f)
```

## aether task remove-from-queue

Remove a single queued follow-up message from a task by its message ID.

```bash theme={"dark"}
aether task remove-from-queue <id> <message-id>
```

```bash theme={"dark"}
aether task remove-from-queue a1b2c3d4 msg_9f8e7d
```

## aether task watch

Watch the agent's progress live. The watch exits when the task completes, fails, or stops.

```bash theme={"dark"}
aether task watch a1b2c3d4
```

Watch polls the API every \~3 seconds for new status updates.

With `--chat`, watch follows that chat: it prints each status the chat moves through, and once the chat waits again, the agent's latest message and the command that answers it. It exits non-zero if the chat fails. `--chat` does not combine with `--until-attention`.

When the agent moves to another plan step, watch prints one line for it — and nothing while the step is unchanged:

```
  → Step 2 of 3 · Print the step line in task watch
```

The step is numbered by its position in the plan, not by the done count, so a plan the agent works out of order still names the step it is on. Once no step is in progress the line reads `3 of 3 steps done`. Tasks with no plan print nothing extra.

A failed task exits non-zero and prints the failure, whether it failed while you were watching or before you attached — so watching an already-failed task is still how you read the error, and scripts can rely on the exit code either way. This is the same exit status `aether run` and `aether task respond` give you, since both watch through the same code.

### Interactive Watch

On a TTY, watch is interactive. While watching you can:

| Key | Action |
| - | - |
| `Enter` | Send a message to the agent (queued if the agent is still working) |
| `Esc` | Stop the task (parks it in `awaiting_input`) and exit |
| `Ctrl+C` | Detach from the watch without stopping the task |

When the agent pauses to ask a question or propose a plan, watch presents it inline — answer it and watching continues automatically. After detaching, reattach any time:

```bash theme={"dark"}
aether task watch a1b2c3d4
```

### Wait until a task needs you

With `--until-attention`, watch takes one or more tasks and waits, without streaming, until any of them needs you: by the same rule as [`aether task list --needs-you`](#aether-task-list), it is awaiting your input, it errored, or its open pull request has a review that needs your judgment. It prints the task's full ID and why it needs you, then exits.

```bash theme={"dark"}
aether task watch a1b2c3d4 e5f6a7b8 --until-attention
```

```
Task e5f6a7b8-9c0d-4e1f-8a2b-3c4d5e6f7a8b needs attention (awaiting_input).
latest_status_message: Should the migration drop the old column now or in a follow-up?
```

| Flag | Description |
| - | - |
| `--until-attention` | Wait until a watched task needs you; required to watch more than one task |
| `--interval` | How often to poll, as a duration such as `30s` (default `20s`) |
| `--timeout` | How long to wait before giving up, as a duration such as `2h` (default `1h`) |

`--interval` and `--timeout` are refused without `--until-attention`.

| Exit code | Meaning |
| - | - |
| `0` | A watched task needs you |
| `1` | An argument or operational error, such as a task that does not exist |
| `2` | The timeout elapsed before any watched task was seen needing you; a task that finished with nothing for you to act on also ends here |

With `--json`, stdout is exactly one JSON document: `{"task_id", "outcome", "latest_status_message"}` for the task that needs you, or `{"error": {"code", "message"}}` on failure. The error codes are `task_watch_timeout`, `task_watch_failed`, `invalid_argument`, and `command_failed` (an authentication or configuration failure before the watch starts). A watch without `--until-attention` is interactive and refuses `--json`; use [`aether task get <id> --json`](#aether-task-get) for a snapshot.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.