Skip to content

anastroctl

This page is generated from anastroctl --help. To regenerate it after changing the CLI, run cargo build -p anastroctl, then pnpm gen:cli in sites/docs (set ANASTROCTL to use another binary).

Work in an Anastro cluster, and run one.

Terminal window
anastroctl [OPTIONS] <COMMAND>

These work with every command. Each command’s own options are listed under it.

Option Description
-h, --help Print help.
-V, --version Print version.
--anastroconfig <ANASTROCONFIG> Client file listing clusters and their nodes. Env: ANASTROCONFIG.
--context <CONTEXT> Context in the client file (default: its current). Env: ANASTRO_CONTEXT.
--org <ORG> The org to act in (default: the context’s org, else your personal org), by name or ID. Env: ANASTRO_ORG.
--key-file <KEY_FILE> Act as the API key in this file instead of this device. Or put the key itself in ANASTRO_KEY. Env: ANASTRO_KEY_FILE.
Command Description
login Ask the cluster to approve this device, and wait until a signed-in device does. Sign this device in.
whoami Who the cluster thinks this device is.
ui Open the web UI in your browser, signed in as you.
assistant Your assistant: it watches your threads, remembers, and tells you what matters.
thread Threads: conversations with an agent that works on machines.
board Boards: a project’s shared columns of threads and drafts (docs/boards.md).
trigger Triggers: schedules, webhooks and GitHub events that make cards and run threads.
machine Machines: sandboxes with their own workspace.
project Projects in the current org: members, repositories, secrets, notes.
org Orgs you belong to, and the current one: members, invites, service accounts.
users The cluster’s users: disable them, set their cluster roles (cluster admins).
audit The whole cluster’s audit log, as cluster audit.
account Your devices and API keys.
inference Inference accounts, gateway tokens and the local gateway proxy.
apps Apps connected to other services: GitHub and Linear.
mcp Anastro as an MCP server for a client on this device.
connector The org’s connectors: remote MCP servers threads use as tools, and your connection to each.
cluster Run a cluster from its config repo: configs, secrets, upgrades, the database, hosts.
node Nodes: their status, services and logs, and resetting one.
api Raw cluster API calls over iroh.

Ask the cluster to approve this device, and wait until a signed-in device does. Sign this device in.

With --enroll, redeem an invite, a recovery link or a sign-in link, and add its cluster to the client file. Without it, print this device’s join string for a signed-in device to approve (anastroctl account device approve), and wait.

Terminal window
anastroctl login [OPTIONS] [HOSTNAME]
Argument Description
[HOSTNAME] A cluster’s tunnel hooks hostname: add the cluster its signed well-known document describes, then wait for approval.
Option Description
--name <NAME> How this device appears in device lists (default: the hostname).
--enroll <LINK> An anastro://enroll#… link: an invite, a recovery link, or anastroctl account device link’s.
--user-name <USER_NAME> An invite’s new user’s name (default: the email).
--operator-key <OPERATOR_KEY> The operator key the hostname’s document must be signed by (at least its first 16 hex digits); without it, asked on a terminal.

Who the cluster thinks this device is.

Terminal window
anastroctl whoami [OPTIONS]

Open the web UI in your browser, signed in as you.

Serves the cluster API on loopback, forwarded over iroh as this device, only to the browser that opens the link it prints.

Terminal window
anastroctl ui [OPTIONS]
Option Description
--listen <LISTEN> Where to serve it (loopback, with port 0). Defaults to 127.0.0.1:0.
--no-open Print the link instead of opening a browser.
--dev-url <DEV_URL> Serve UI pages and HMR from this loopback Vite origin, with the API from the cluster.

Your assistant: it watches your threads, remembers, and tells you what matters.

Terminal window
anastroctl assistant [OPTIONS] <COMMAND>
Command Description
on Turn it on: its home thread and its built-in timers.
off Turn it off, deleting its memory, timers and notices. Its threads stay.
status Whether it’s on, what it’s doing, and its settings.
model Its model for chat, and for background runs; shown without arguments.
say Send it a message on its home thread.
notices What it told you, newest first. Their read state stays as it is.
memory What it remembers: files you and it both edit.
timers When it wakes: follow-ups and schedules.
runs Its background runs, newest first: what woke each and how it went.

Turn it on: its home thread and its built-in timers.

Terminal window
anastroctl assistant on [OPTIONS]
Option Description
--timezone <TIMEZONE> An IANA name, such as Europe/Berlin (default: this computer’s).
--brief <HH:MM> A weekday morning brief at this local time.

Turn it off, deleting its memory, timers and notices. Its threads stay.

Terminal window
anastroctl assistant off [OPTIONS]
Option Description
-y, --yes Don’t ask first.

Whether it’s on, what it’s doing, and its settings.

Terminal window
anastroctl assistant status [OPTIONS]
Option Description
--json

Its model for chat, and for background runs; shown without arguments.

Terminal window
anastroctl assistant model [OPTIONS] [MODEL]
Argument Description
[MODEL] The home thread’s model; "" for the project’s default.
Option Description
--runs <MODEL> Background runs’ model; "" for the chat’s.
--effort <EFFORT> Reasoning effort for its chat: off, minimal, low, medium, high, xhigh or max; "" to clear.
--fast <FAST> Fast mode for its chat. One of true, false.
--runs-effort <EFFORT> Reasoning effort for background runs; "" to clear.
--runs-fast <BOOL> Fast mode for background runs. One of true, false.

Send it a message on its home thread.

Terminal window
anastroctl assistant say [OPTIONS] <MESSAGE>
Argument Description
<MESSAGE>
Option Description
--wait Wait for its answer, and print it.
--timeout <TIMEOUT> Seconds, with –wait. Default: 300.

What it told you, newest first. Their read state stays as it is.

Terminal window
anastroctl assistant notices [OPTIONS]
Option Description
--unread Only the ones you haven’t read.
--limit <LIMIT>
--json

What it remembers: files you and it both edit.

Terminal window
anastroctl assistant memory [OPTIONS] <COMMAND>
Command Description
ls Its files, with their first lines.
cat Print a file.
edit Edit a file in $EDITOR, or start one.
rm Delete a file.

Its files, with their first lines.

Terminal window
anastroctl assistant memory ls [OPTIONS]
Option Description
--json

Print a file.

Terminal window
anastroctl assistant memory cat [OPTIONS] <PATH>
Argument Description
<PATH>

Edit a file in $EDITOR, or start one.

It’s saved only if no one changed it meanwhile.

Terminal window
anastroctl assistant memory edit [OPTIONS] <PATH>
Argument Description
<PATH>

Delete a file.

Terminal window
anastroctl assistant memory rm [OPTIONS] <PATH>
Argument Description
<PATH>

When it wakes: follow-ups and schedules.

Terminal window
anastroctl assistant timers [OPTIONS] <COMMAND>
Command Description
ls
add Set one: once (–at, –in) or on a schedule (–every).
rm
Terminal window
anastroctl assistant timers ls [OPTIONS]
Option Description
--json

Set one: once (–at, –in) or on a schedule (–every).

Terminal window
anastroctl assistant timers add [OPTIONS] <--at <AT>|--in <DURATION>|--every <EVERY>> <NOTE>
Argument Description
<NOTE> What to do when it fires.
Option Description
--at <AT> Once, at this time (RFC 3339).
--in <DURATION> Once, after this long, e.g. 2h or 3days.
--every <EVERY> every 4h, every 30m, daily 08:00 or weekdays 08:00, in its timezone.
--name <NAME> A schedule’s name; setting one that exists replaces it.
Terminal window
anastroctl assistant timers rm [OPTIONS] <ID>
Argument Description
<ID>

Its background runs, newest first: what woke each and how it went.

Terminal window
anastroctl assistant runs [OPTIONS]
Option Description
--limit <LIMIT>
--json

Threads: conversations with an agent that works on machines.

Terminal window
anastroctl thread [OPTIONS] <COMMAND>
Command Description
create Start a thread, using a one-off scope when no project is selected.
list A project’s threads, or your one-off threads, newest first.
get A thread: its state, its machines and its log, oldest first.
set Change its title or access, or your own view of it: pinned, settled, snoozed.
send Send a message.
steer Steer the running work.
wait Wait until the thread is idle (or --status).
rollback Roll the thread and its machines back to an entry.
fork A new thread from this one’s log up to an entry.
side Ask a side question while it keeps working.
side-chats The thread’s side chats, newest first.
clear Start a new context with the next message; the log stays.
approve Decide on a pending approval.
abort Stop the current work and withdraw what was queued.
retry Continue a run that ended without an answer.
archive Archive it: its work stops and its tokens are revoked.
delete Delete it for good.
takeover Take it over: from now on it acts as you.
unarchive Take it out of the archive.

Start a thread, using a one-off scope when no project is selected.

Terminal window
anastroctl thread create [OPTIONS] [MESSAGE]
Argument Description
[MESSAGE]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--one-off Start without a project, overriding the context’s project.
--title <TITLE> Default: "".
--model <MODEL> The model to ask the inference gateway for.
--access <ACCESS> Default: [threads] default_access. One of supervised, full.

A project’s threads, or your one-off threads, newest first.

Terminal window
anastroctl thread list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--one-off List one-off threads, overriding the context’s project.
--archived

A thread: its state, its machines and its log, oldest first.

Terminal window
anastroctl thread get [OPTIONS] <THREAD>
Argument Description
<THREAD>
Option Description
--branch <BRANCH> A side branch a rollback left (branches), instead of the current one.
--all Also the system prompt entries.

Change its title or access, or your own view of it: pinned, settled, snoozed.

Terminal window
anastroctl thread set [OPTIONS] <--title <TITLE>|--access <ACCESS>|--pinned [<BOOL>]|--settled [<BOOL>]|--snooze <FOR>|--wake> <THREAD>
Argument Description
<THREAD>
Option Description
--title <TITLE> A new title.
--access <ACCESS> Supervised or full access: its next tool call goes by the new mode. One of supervised, full.
--pinned [<BOOL>] Pin it to the top of your list, or not (yours alone, as the rest). One of true, false.
--settled [<BOOL>] Settle it: out of your way until its next activity. One of true, false.
--snooze <FOR> Snooze it for a while, e.g. 3h or 2days.
--wake End its snooze now.

Send a message.

It starts work if the thread is idle, and runs after the current work otherwise.

Terminal window
anastroctl thread send [OPTIONS] <THREAD> <MESSAGE>
Argument Description
<THREAD>
<MESSAGE>

Steer the running work.

Terminal window
anastroctl thread steer [OPTIONS] <THREAD> <MESSAGE>
Argument Description
<THREAD>
<MESSAGE>
Option Description
--mode <MODE> One of next-round, interrupt, queue. Default: next-round.

Wait until the thread is idle (or --status).

Fails if its run failed, or on the timeout.

Terminal window
anastroctl thread wait [OPTIONS] <THREAD>
Argument Description
<THREAD>
Option Description
--status <STATUS> One of idle, running, waiting. Default: idle.
--timeout <TIMEOUT> Seconds. Default: 300.

Roll the thread and its machines back to an entry.

Terminal window
anastroctl thread rollback [OPTIONS] <THREAD> <ENTRY>
Argument Description
<THREAD>
<ENTRY>
Option Description
--branch <BRANCH> Roll forward onto this side branch instead.

A new thread from this one’s log up to an entry.

It gets copies of this one’s machines as they were there.

Terminal window
anastroctl thread fork [OPTIONS] <THREAD> <ENTRY>
Argument Description
<THREAD>
<ENTRY>
Option Description
--title <TITLE>

Ask a side question while it keeps working.

A side chat (T3 Code’s /side) forked from the thread’s latest stable point, listed under it.

Terminal window
anastroctl thread side [OPTIONS] <THREAD> <QUESTION>
Argument Description
<THREAD>
<QUESTION>

The thread’s side chats, newest first.

Terminal window
anastroctl thread side-chats [OPTIONS] <THREAD>
Argument Description
<THREAD>

Start a new context with the next message; the log stays.

Terminal window
anastroctl thread clear [OPTIONS] <THREAD>
Argument Description
<THREAD>
Option Description
--undo Withdraw a clear no message has taken yet.

Decide on a pending approval.

Terminal window
anastroctl thread approve [OPTIONS] <THREAD> <APPROVAL>
Argument Description
<THREAD>
<APPROVAL>
Option Description
--deny
--remember Always allow this command in the project (owners).

Stop the current work and withdraw what was queued.

Terminal window
anastroctl thread abort [OPTIONS] <THREAD>
Argument Description
<THREAD>

Continue a run that ended without an answer.

Terminal window
anastroctl thread retry [OPTIONS] <THREAD>
Argument Description
<THREAD>

Archive it: its work stops and its tokens are revoked.

Terminal window
anastroctl thread archive [OPTIONS] <THREAD>
Argument Description
<THREAD>

Delete it for good.

Its work stops, its machines are detached (and keep running) and its log goes. Threads forked from it stay.

Terminal window
anastroctl thread delete [OPTIONS] <THREAD>
Argument Description
<THREAD>
Option Description
--delete-machines Delete the machines attached to it instead of detaching them.

Take it over: from now on it acts as you.

Terminal window
anastroctl thread takeover [OPTIONS] <THREAD>
Argument Description
<THREAD>

Take it out of the archive.

Terminal window
anastroctl thread unarchive [OPTIONS] <THREAD>
Argument Description
<THREAD>

Boards: a project’s shared columns of threads and drafts (docs/boards.md).

Terminal window
anastroctl board [OPTIONS] <COMMAND>
Command Description
list The project’s boards.
create Make a board, with a template’s columns.
show A board’s columns and their cards.
rename
rm Delete a board; its threads stay.
column A board’s columns and their steps.
card Cards: drafts and threads on a board.
source Sources: GitHub issues that become a board’s cards.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

The project’s boards.

Terminal window
anastroctl board list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Make a board, with a template’s columns.

Terminal window
anastroctl board create [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--template <TEMPLATE> One of simple, pipeline. Default: simple.
--json Print the API’s answer as JSON.

A board’s columns and their cards.

Terminal window
anastroctl board show [OPTIONS] <BOARD>
Argument Description
<BOARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
Terminal window
anastroctl board rename [OPTIONS] <BOARD> <NAME>
Argument Description
<BOARD>
<NAME>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Delete a board; its threads stay.

Terminal window
anastroctl board rm [OPTIONS] <BOARD>
Argument Description
<BOARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

A board’s columns and their steps.

Terminal window
anastroctl board column [OPTIONS] <COMMAND>
Command Description
add Add a column, at the end unless --position says otherwise.
edit Rename or move a column, or set or remove its step.
events Replace a column’s workflow events from JSON, or restore legacy step behavior.
gate Set or remove a column’s gate: its cards stay until approved.
rules Where a column’s cards go when their thread’s pull requests merge or close.
linear-state The Linear state a column moves its Linear cards’ issues to, per team.
rm Delete an empty column.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Add a column, at the end unless --position says otherwise.

Terminal window
anastroctl board column add [OPTIONS] <BOARD> <NAME>
Argument Description
<BOARD>
<NAME>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--position <POSITION>
--json Print the API’s answer as JSON.

Rename or move a column, or set or remove its step.

Terminal window
anastroctl board column edit [OPTIONS] <BOARD> <COLUMN>
Argument Description
<BOARD>
<COLUMN>
Option Description
--name <NAME>
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--position <POSITION>
--prompt <PROMPT> The step’s prompt: each card entering the column gets it in its thread.
--prompt-file <PROMPT_FILE>
--no-step Remove the step.
--model <MODEL>
--effort <EFFORT>
--access <ACCESS> For threads the step starts. One of full, supervised.
--advance <ADVANCE> One of manual, when-done.

Replace a column’s workflow events from JSON, or restore legacy step behavior.

Terminal window
anastroctl board column events [OPTIONS] <BOARD> <COLUMN>
Argument Description
<BOARD>
<COLUMN>
Option Description
--file <FILE> A JSON object with on_enter, on_exit, on_turn_start and on_turn_complete action lists.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--off

Set or remove a column’s gate: its cards stay until approved.

Terminal window
anastroctl board column gate [OPTIONS] <BOARD> <COLUMN>
Argument Description
<BOARD>
<COLUMN>
Option Description
--approvers <APPROVERS> Who may approve, by name, comma-separated; any editor without it.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--required <REQUIRED> How many approvals it takes (default 1).
--agent-prompt <AGENT_PROMPT> An agent review that runs first, with this prompt.
--agent-prompt-file <AGENT_PROMPT_FILE>
--agent-model <AGENT_MODEL>
--agent-effort <AGENT_EFFORT>
--off Remove the gate.

Where a column’s cards go when their thread’s pull requests merge or close.

Terminal window
anastroctl board column rules [OPTIONS] <BOARD> <COLUMN>
Argument Description
<BOARD>
<COLUMN>
Option Description
--on-merged <ON_MERGED> A column of the board, or none.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--on-closed <ON_CLOSED> A column of the board, or none.

The Linear state a column moves its Linear cards’ issues to, per team.

Terminal window
anastroctl board column linear-state [OPTIONS] <BOARD> <COLUMN> <TEAM> <STATE>
Argument Description
<BOARD>
<COLUMN>
<TEAM> One of the project’s Linear teams, by key or ID.
<STATE> A state of the team, by name; none for none.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Delete an empty column.

Terminal window
anastroctl board column rm [OPTIONS] <BOARD> <COLUMN>
Argument Description
<BOARD>
<COLUMN>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Cards: drafts and threads on a board.

Terminal window
anastroctl board card [OPTIONS] <COMMAND>
Command Description
add Add a draft, or put a thread on the board with --thread.
issue Close or reopen a card’s GitHub issue, or move its Linear issue to a state (by name), as the app.
move Move a card, running the column’s step.
review Approve a card at its column’s gate, or ask for changes.
depend Make a card wait for another card of the project’s (--remove to stop).
start Start a draft’s thread.
edit
rm Remove a card; its thread stays.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Add a draft, or put a thread on the board with --thread.

Terminal window
anastroctl board card add [OPTIONS] <BOARD> [TITLE]
Argument Description
<BOARD>
[TITLE]
Option Description
--description <DESCRIPTION>
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--description-file <DESCRIPTION_FILE>
--json Print the API’s answer as JSON.
--column <COLUMN> The first column without one.
--thread <THREAD>
--issue <ISSUE> An issue to make it from: owner/name#12, or Linear’s ENG-42.

Close or reopen a card’s GitHub issue, or move its Linear issue to a state (by name), as the app.

Terminal window
anastroctl board card issue [OPTIONS] <BOARD> <CARD> <TO>
Argument Description
<BOARD>
<CARD>
<TO> close or reopen, or a Linear state.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Move a card, running the column’s step.

Terminal window
anastroctl board card move [OPTIONS] <BOARD> <CARD> <COLUMN>
Argument Description
<BOARD>
<CARD>
<COLUMN>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--position <POSITION>
--force Past a gate it isn’t approved at: project owners only, recorded.
--json Print the API’s answer as JSON.

Approve a card at its column’s gate, or ask for changes.

Terminal window
anastroctl board card review [OPTIONS] <BOARD> <CARD>
Argument Description
<BOARD>
<CARD>
Option Description
--approve
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--request-changes With -m: what should change, sent to the card’s thread.
-m, --message <MESSAGE>

Make a card wait for another card of the project’s (--remove to stop).

Terminal window
anastroctl board card depend [OPTIONS] <BOARD> <CARD> <ON>
Argument Description
<BOARD>
<CARD>
<ON> The card it waits for, on this board, or any card’s ID.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--remove
--json Print the API’s answer as JSON.

Start a draft’s thread.

Terminal window
anastroctl board card start [OPTIONS] <BOARD> <CARD>
Argument Description
<BOARD>
<CARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
Terminal window
anastroctl board card edit [OPTIONS] <BOARD> <CARD>
Argument Description
<BOARD>
<CARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--title <TITLE>
--description <DESCRIPTION>
--json Print the API’s answer as JSON.

Remove a card; its thread stays.

Terminal window
anastroctl board card rm [OPTIONS] <BOARD> <CARD>
Argument Description
<BOARD>
<CARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Sources: GitHub issues that become a board’s cards.

Terminal window
anastroctl board source [OPTIONS] <COMMAND>
Command Description
list A board’s sources, with when each last synced.
add Add a source: a repository’s, or a Linear team’s, open issues with all these labels.
edit Turn a source on or off, or change how many it runs at once.
sync Sync a source now.
rm Remove a source; its cards stay.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

A board’s sources, with when each last synced.

Terminal window
anastroctl board source list [OPTIONS] <BOARD>
Argument Description
<BOARD>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Add a source: a repository’s, or a Linear team’s, open issues with all these labels.

Terminal window
anastroctl board source add [OPTIONS] <BOARD> [REPO]
Argument Description
<BOARD>
[REPO] owner/name, one of the project’s repositories.
Option Description
--linear <LINEAR> One of the project’s Linear teams, by key or ID, instead.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--labels <LABELS>
--assignee <ASSIGNEE> A GitHub login, or a Linear assignee’s email.
--milestone <MILESTONE> Its number (GitHub).
--column <COLUMN> Where its cards go; the first column by default.
--max-in-flight <MAX_IN_FLIGHT> At most this many at work at once, in a column with a step (default 3).
--access <ACCESS> For the threads it starts (supervised by default). One of full, supervised.

Turn a source on or off, or change how many it runs at once.

Terminal window
anastroctl board source edit [OPTIONS] <BOARD> <SOURCE>
Argument Description
<BOARD>
<SOURCE>
Option Description
--enabled <ENABLED> One of true, false.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
--max-in-flight <MAX_IN_FLIGHT>

Sync a source now.

Terminal window
anastroctl board source sync [OPTIONS] <BOARD> <SOURCE>
Argument Description
<BOARD>
<SOURCE>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Remove a source; its cards stay.

Terminal window
anastroctl board source rm [OPTIONS] <BOARD> <SOURCE>
Argument Description
<BOARD>
<SOURCE>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Triggers: schedules, webhooks and GitHub events that make cards and run threads.

Terminal window
anastroctl trigger [OPTIONS] <COMMAND>
Command Description
list The project’s triggers.
show A trigger, and where to send its webhook.
create Make a trigger, acting as you: what fires it, and what it does.
edit Change a trigger: flags for what fires it or what it does replace that part.
enable
disable
run Fire it now, with a test body for a webhook (JSON, or @file).
runs Its runs of the last 30 days.
secret Give a webhook trigger a new secret, shown once.
rm
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

The project’s triggers.

Terminal window
anastroctl trigger list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

A trigger, and where to send its webhook.

Terminal window
anastroctl trigger show [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Make a trigger, acting as you: what fires it, and what it does.

Terminal window
anastroctl trigger create [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--schedule <SCHEDULE> A cron expression (0 9 * * 1-5) or every 15m.
--json Print the API’s answer as JSON.
--tz <TZ> An IANA time zone for the schedule (UTC by default).
--webhook Fired by POST https://<hooks hostname>/hooks/triggers/{id}.
--hmac Senders sign the body (sha256=<hex>) instead of sending the secret.
--header <HEADER> The header with the secret or signature.
--delivery <DELIVERY> A body path holding a delivery ID, to drop repeats.
--filter <FILTERS> Body conditions: path=value, path!=value, path~value (contains), path=a|b (one of), path? (exists). Values are JSON or text.
--github <GITHUB> A GitHub event on the project’s repositories. One of pull-request-opened, check-failed, review-comment, push.
--repo <REPO> One repository (owner/name); all of the project’s otherwise.
--base <BASE> Pull requests into this base branch.
--label <LABELS> Pull requests with all these labels.
--author <AUTHOR> By this GitHub login.
--drafts Draft pull requests too.
--check <CHECKS> For check-failed: only these checks.
--branch <BRANCH> For push: branches matching this (* any characters).
--card <CARD> Make a card: BOARD or BOARD/COLUMN (the first column by default).
--message <MESSAGE> Message a thread (its ID), or pr for the pull request’s thread.
--run Run a thread off the board.
--title <TITLE> A template: {{github.pr.title}}, {{webhook.body.x}}, ….
--description <DESCRIPTION>
--prompt <PROMPT>
--model <MODEL>
--effort <EFFORT>
--access <ACCESS> For a run’s thread (supervised by default). One of full, supervised.
--max-running <MAX_RUNNING> Runs at once; firings past it are skipped (1 by default).

Change a trigger: flags for what fires it or what it does replace that part.

Terminal window
anastroctl trigger edit [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--rename <RENAME>
--json Print the API’s answer as JSON.
--take-over Make its threads act as you from now on (recorded).
--schedule <SCHEDULE> A cron expression (0 9 * * 1-5) or every 15m.
--tz <TZ> An IANA time zone for the schedule (UTC by default).
--webhook Fired by POST https://<hooks hostname>/hooks/triggers/{id}.
--hmac Senders sign the body (sha256=<hex>) instead of sending the secret.
--header <HEADER> The header with the secret or signature.
--delivery <DELIVERY> A body path holding a delivery ID, to drop repeats.
--filter <FILTERS> Body conditions: path=value, path!=value, path~value (contains), path=a|b (one of), path? (exists). Values are JSON or text.
--github <GITHUB> A GitHub event on the project’s repositories. One of pull-request-opened, check-failed, review-comment, push.
--repo <REPO> One repository (owner/name); all of the project’s otherwise.
--base <BASE> Pull requests into this base branch.
--label <LABELS> Pull requests with all these labels.
--author <AUTHOR> By this GitHub login.
--drafts Draft pull requests too.
--check <CHECKS> For check-failed: only these checks.
--branch <BRANCH> For push: branches matching this (* any characters).
--card <CARD> Make a card: BOARD or BOARD/COLUMN (the first column by default).
--message <MESSAGE> Message a thread (its ID), or pr for the pull request’s thread.
--run Run a thread off the board.
--title <TITLE> A template: {{github.pr.title}}, {{webhook.body.x}}, ….
--description <DESCRIPTION>
--prompt <PROMPT>
--model <MODEL>
--effort <EFFORT>
--access <ACCESS> For a run’s thread (supervised by default). One of full, supervised.
--max-running <MAX_RUNNING> Runs at once; firings past it are skipped (1 by default).
Terminal window
anastroctl trigger enable [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
Terminal window
anastroctl trigger disable [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Fire it now, with a test body for a webhook (JSON, or @file).

Terminal window
anastroctl trigger run [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
--body <BODY>
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Its runs of the last 30 days.

Terminal window
anastroctl trigger runs [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Give a webhook trigger a new secret, shown once.

Terminal window
anastroctl trigger secret [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.
Terminal window
anastroctl trigger rm [OPTIONS] <TRIGGER>
Argument Description
<TRIGGER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--json Print the API’s answer as JSON.

Machines: sandboxes with their own workspace.

Terminal window
anastroctl machine [OPTIONS] <COMMAND>
Command Description
create Create a machine in a project; it starts once it’s placed on a host.
list Machines in the projects you can see.
get One machine, by ID or name.
keep Keep a machine after its creating thread is archived, or allow expiry.
spin-down Stop it and release its compute; it resumes on next use.
resume Start a stopped or failed machine again.
delete Delete it and its disk.
exec Run a command in a machine, and exit with its code.
shell A login shell in a running machine.
attach Hand it to a thread.
detach Let go of it; it keeps running until it’s spun down.
checkpoint Snapshot its workspace now.
history Its snapshots, newest first.
restore Remount an earlier snapshot, on a new branch (the current one is kept).
pin Keep a snapshot until you unpin it.
unpin Remove your retention pin.
pins Your pins in a machine’s workspace.
diff What changed between two snapshots.
cat A file’s contents at a snapshot, to stdout.
ls A directory’s entries at a snapshot.
move Move it to another host, live.
signal Send a signal to the commands running in it.

Create a machine in a project; it starts once it’s placed on a host.

Terminal window
anastroctl machine create [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--nix <NIX> Boot this Nix flake output instead of the project’s default environment.
--base Use the base Linux image instead of the project’s default environment.
--capability <CAPABILITIES> Require a worker capability, e.g. xcode, gpu:cuda or usb:lab.
--no-capabilities Override project capabilities with an empty list.
--name <NAME>
--cpus <CPUS>
--memory <MEMORY> e.g. 4GiB.
--disk <DISK> e.g. 20GiB.
--thread <THREAD> Attach it to this thread.
--toleration <TOLERATIONS> A host taint it may land on, e.g. controlplane:trusted-only.
--env <ENV> KEY=VALUE in every process’s environment.
--from <FROM> Start from this snapshot (an fs_id) instead of an empty workspace.

Machines in the projects you can see.

Terminal window
anastroctl machine list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name (in the current org) or ID. Env: ANASTRO_PROJECT.
--state <STATE> pending, running, stopped, failed, ….
--attached
--unattached

One machine, by ID or name.

Terminal window
anastroctl machine get [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Keep a machine after its creating thread is archived, or allow expiry.

Terminal window
anastroctl machine keep [OPTIONS] <MACHINE>
Argument Description
<MACHINE>
Option Description
--retained <RETAINED> One of true, false. Default: true.

Stop it and release its compute; it resumes on next use.

Terminal window
anastroctl machine spin-down [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Start a stopped or failed machine again.

Terminal window
anastroctl machine resume [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Delete it and its disk.

Terminal window
anastroctl machine delete [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Run a command in a machine, and exit with its code.

A stopped machine is resumed first.

Terminal window
anastroctl machine exec [OPTIONS] <MACHINE> <CMD>
Argument Description
<MACHINE> The machine’s ID or name.
<CMD> Run as bash -lc <cmd>.
Option Description
--no-commit Don’t checkpoint the machine’s workspace after it. A committing call prints the head before and after (fs_before, fs_after) on stderr.
--idempotency-key <IDEMPOTENCY_KEY> Retrying with the same key returns the first run’s result and never runs the command again.

A login shell in a running machine.

Piped input is sent as it is, and the output printed until the shell exits.

Terminal window
anastroctl machine shell [OPTIONS] <MACHINE>
Argument Description
<MACHINE> The machine’s ID or name.

Hand it to a thread.

Terminal window
anastroctl machine attach [OPTIONS] --thread <THREAD> <MACHINE>
Argument Description
<MACHINE>
Option Description
--thread <THREAD>
--force Take it from the thread that holds it (project owners).

Let go of it; it keeps running until it’s spun down.

Terminal window
anastroctl machine detach [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Snapshot its workspace now.

Terminal window
anastroctl machine checkpoint [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

Its snapshots, newest first.

Terminal window
anastroctl machine history [OPTIONS] <MACHINE>
Argument Description
<MACHINE>
Option Description
--limit <LIMIT> Default: 50.

Remount an earlier snapshot, on a new branch (the current one is kept).

Terminal window
anastroctl machine restore [OPTIONS] <MACHINE> <FS_ID>
Argument Description
<MACHINE>
<FS_ID>

Keep a snapshot until you unpin it.

Terminal window
anastroctl machine pin [OPTIONS] <FS_ID>
Argument Description
<FS_ID>
Option Description
--machine <MACHINE>
--note <NOTE>

Remove your retention pin.

Terminal window
anastroctl machine unpin [OPTIONS] <FS_ID>
Argument Description
<FS_ID>
Option Description
--machine <MACHINE>

Your pins in a machine’s workspace.

Terminal window
anastroctl machine pins [OPTIONS] <MACHINE>
Argument Description
<MACHINE>

What changed between two snapshots.

Computed on a worker host: a unified diff of the text files and a line for every other change.

Terminal window
anastroctl machine diff [OPTIONS] <FROM> [TO]
Argument Description
<FROM>
[TO] Default: the machine’s head.
Option Description
--machine <MACHINE> The machine whose snapshots they are (ID or name). Default: the one whose workspace holds <FROM>.
--name-status Only the paths, a letter each: A, D, M or R (renamed).

A file’s contents at a snapshot, to stdout.

Terminal window
anastroctl machine cat [OPTIONS] <FS_ID> <PATH>
Argument Description
<FS_ID>
<PATH>
Option Description
--machine <MACHINE>

A directory’s entries at a snapshot.

Terminal window
anastroctl machine ls [OPTIONS] <FS_ID> [PATH]
Argument Description
<FS_ID>
[PATH] Default: "".
Option Description
--machine <MACHINE>

Move it to another host, live.

It keeps running, its memory, disk and workspace carried over in one short pause. A move that fails leaves it running here and is tried once more.

Terminal window
anastroctl machine move [OPTIONS] <MACHINE> [HOST]
Argument Description
<MACHINE>
[HOST] The host, by node name (default: any other with room).
Option Description
--graceful Checkpoint it, hand its workspace over and boot it there instead: its processes restart and its own disk stays behind.
--allow-stop If live moves fail, move it gracefully.
--no-wait Return once it’s asked for, rather than once it runs there.
--timeout <TIMEOUT> How long to wait for it to run on the new host, in seconds. Default: 600.

Send a signal to the commands running in it.

Terminal window
anastroctl machine signal [OPTIONS] <MACHINE> [SIGNAL]
Argument Description
<MACHINE>
[SIGNAL] Number, e.g. 2 (SIGINT) or 9 (SIGKILL). Default: 2.

Projects in the current org: members, repositories, secrets, notes.

Terminal window
anastroctl project [OPTIONS] <COMMAND>
Command Description
machine-defaults Read or set machine environment/capability defaults. Owners may set them.
list Projects you can see in the org.
create Create a project, which you own.
rename Rename a project.
delete Delete a project.
revoke-tokens Make every token about a project issued so far stop working: its threads’ and machines’ (running ones get new ones) and gateway tokens made for it. Owners only.
set A project’s settings; with flags, change them.
member A project’s members.
repo The GitHub repositories a project uses.
linear-team The Linear teams a project’s boards take issues from.
secret A project’s secrets from 1Password: bindings, approvals and agents’ saves.
notes A project’s shared notes.
boards Turn the project’s boards on or off (docs/boards.md), or say which they are. Owners turn them on; they’re off by default.

Read or set machine environment/capability defaults. Owners may set them.

Terminal window
anastroctl project machine-defaults [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--nix <NIX>
--base
--capability <CAPABILITIES>
--no-capabilities

Projects you can see in the org.

Terminal window
anastroctl project list [OPTIONS]

Create a project, which you own.

Terminal window
anastroctl project create [OPTIONS] <NAME>
Argument Description
<NAME>

Rename a project.

Terminal window
anastroctl project rename [OPTIONS] <PROJECT> <NAME>
Argument Description
<PROJECT>
<NAME>

Delete a project.

Terminal window
anastroctl project delete [OPTIONS] <PROJECT>
Argument Description
<PROJECT>
Option Description
--yes Yes, delete it.

Make every token about a project issued so far stop working: its threads’ and machines’ (running ones get new ones) and gateway tokens made for it. Owners only.

Terminal window
anastroctl project revoke-tokens [OPTIONS] <PROJECT>
Argument Description
<PROJECT>

A project’s settings; with flags, change them.

Whether agents inside its machines may use the inference gateway with a machine token, whether they may save secrets, and whether a save needs approval.

Terminal window
anastroctl project set [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--machine-tokens <MACHINE_TOKENS> Machine tokens for the inference gateway. Owners only; the cluster’s inference.policy.allow_machine_tokens must allow them too. One of true, false.
--allow-save <ALLOW_SAVE> Whether agents may save secrets. One of true, false.
--save-approval <SAVE_APPROVAL> Whether a save waits for someone’s approval. One of always, none.

A project’s members.

Terminal window
anastroctl project member [OPTIONS] [COMMAND]
Command Description
list List them (the default).
add Add a user, by name or ID.
set-role Change a member’s role.
remove Remove a member.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

List them (the default).

Terminal window
anastroctl project member list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Add a user, by name or ID.

Terminal window
anastroctl project member add [OPTIONS] --role <ROLE> <USER>
Argument Description
<USER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--role <ROLE> One of owner, editor, viewer.

Change a member’s role.

Terminal window
anastroctl project member set-role [OPTIONS] <USER> <ROLE>
Argument Description
<USER>
<ROLE> One of owner, editor, viewer.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Remove a member.

Terminal window
anastroctl project member remove [OPTIONS] <USER>
Argument Description
<USER>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

The GitHub repositories a project uses.

Terminal window
anastroctl project repo [OPTIONS] [COMMAND]
Command Description
list The project’s repositories (the default).
available What the org’s installations cover, which the project can add.
add Add owner/repo from the org’s installations.
remove Remove a repository; credentials minted for it are revoked.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

The project’s repositories (the default).

Terminal window
anastroctl project repo list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

What the org’s installations cover, which the project can add.

Terminal window
anastroctl project repo available [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Add owner/repo from the org’s installations.

Terminal window
anastroctl project repo add [OPTIONS] <REPO>
Argument Description
<REPO>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--write Read-write; otherwise read-only.

Remove a repository; credentials minted for it are revoked.

Terminal window
anastroctl project repo remove [OPTIONS] <REPO>
Argument Description
<REPO>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

The Linear teams a project’s boards take issues from.

Terminal window
anastroctl project linear-team [OPTIONS] [COMMAND]
Command Description
list The project’s Linear teams (the default).
add Add a team (its key or ID) of one of the org’s workspaces. Project owners.
rm
states A team’s workflow states.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

The project’s Linear teams (the default).

Terminal window
anastroctl project linear-team list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Add a team (its key or ID) of one of the org’s workspaces. Project owners.

Terminal window
anastroctl project linear-team add [OPTIONS] <TEAM>
Argument Description
<TEAM>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--workspace <WORKSPACE> Its workspace, by name or ID; the only one by default.
Terminal window
anastroctl project linear-team rm [OPTIONS] <TEAM>
Argument Description
<TEAM>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

A team’s workflow states.

Terminal window
anastroctl project linear-team states [OPTIONS] <TEAM>
Argument Description
<TEAM>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

A project’s secrets from 1Password: bindings, approvals and agents’ saves.

Terminal window
anastroctl project secret [OPTIONS] <COMMAND>
Command Description
list Names, sources and when they were last resolved; never values.
bind Bind a name to op://vault/item/field in the project.
unbind Remove a binding.
approvals Machines waiting for a binding’s approval.
approve Approve (or –deny) a machine’s use of a binding.
saves What agents saved, and what waits for approval.
approve-save Approve (or –reject) a pending save.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Names, sources and when they were last resolved; never values.

Terminal window
anastroctl project secret list [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Bind a name to op://vault/item/field in the project.

Terminal window
anastroctl project secret bind [OPTIONS] <NAME> <REFERENCE>
Argument Description
<NAME>
<REFERENCE>
Option Description
--approval <APPROVAL> One of none, first-use, every-use. Default: none.
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--connection <CONNECTION>

Remove a binding.

Terminal window
anastroctl project secret unbind [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Machines waiting for a binding’s approval.

Terminal window
anastroctl project secret approvals [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Approve (or –deny) a machine’s use of a binding.

Terminal window
anastroctl project secret approve [OPTIONS] <APPROVAL>
Argument Description
<APPROVAL>
Option Description
--deny
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

What agents saved, and what waits for approval.

Terminal window
anastroctl project secret saves [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Approve (or –reject) a pending save.

Terminal window
anastroctl project secret approve-save [OPTIONS] <SAVE>
Argument Description
<SAVE>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.
--reject
--name <NAME> Save it under another name.
--vault <VAULT> Save it to another enabled vault of its connection.

A project’s shared notes.

Print them, add to them live, or let its agents read them.

Terminal window
anastroctl project notes [OPTIONS] [COMMAND]
Command Description
get Print them, as Markdown (the default).
append Add a paragraph at the end, live: whoever has them open sees it.
agents Let the project’s agents read them, or not.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Print them, as Markdown (the default).

Terminal window
anastroctl project notes get [OPTIONS]
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Add a paragraph at the end, live: whoever has them open sees it.

Terminal window
anastroctl project notes append [OPTIONS] <TEXT>
Argument Description
<TEXT>
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Let the project’s agents read them, or not.

Terminal window
anastroctl project notes agents [OPTIONS] <TO>
Argument Description
<TO> One of on, off.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Turn the project’s boards on or off (docs/boards.md), or say which they are. Owners turn them on; they’re off by default.

Terminal window
anastroctl project boards [OPTIONS] [TO]
Argument Description
[TO] One of on, off.
Option Description
-p, --project <PROJECT> The project, by name or ID (default: the context’s project). Env: ANASTRO_PROJECT.

Orgs you belong to, and the current one: members, invites, service accounts.

Terminal window
anastroctl org [OPTIONS] <COMMAND>
Command Description
list The orgs you belong to, and your role in each.
create Create a shared org, which you own.
rename Rename the org.
delete Delete the org, with its projects.
leave Leave the org.
member The org’s members, and recovery links for them.
invite Invites to the org: make one, list them, withdraw one.
service-account Service accounts, which act with API keys.
git The org’s git identity and branch policy; with flags, change them.
1password The org’s 1Password connections, and your personal ones.
audit The org’s audit log, newest first.

The orgs you belong to, and your role in each.

Terminal window
anastroctl org list [OPTIONS]

Create a shared org, which you own.

Terminal window
anastroctl org create [OPTIONS] <NAME>
Argument Description
<NAME>

Rename the org.

Terminal window
anastroctl org rename [OPTIONS] <NAME>
Argument Description
<NAME>

Delete the org, with its projects.

Terminal window
anastroctl org delete [OPTIONS]
Option Description
--yes Yes, delete it.

Leave the org.

Terminal window
anastroctl org leave [OPTIONS]

The org’s members, and recovery links for them.

Terminal window
anastroctl org member [OPTIONS] [COMMAND]
Command Description
list List them (the default).
add Add a user, by name or ID.
set-role Change a member’s role.
remove Remove a member.
recover A recovery link for a user who lost every device.

List them (the default).

Terminal window
anastroctl org member list [OPTIONS]

Add a user, by name or ID.

Terminal window
anastroctl org member add [OPTIONS] --role <ROLE> <USER>
Argument Description
<USER>
Option Description
--role <ROLE> One of owner, admin, member, viewer.

Change a member’s role.

Terminal window
anastroctl org member set-role [OPTIONS] <USER> <ROLE>
Argument Description
<USER>
<ROLE> One of owner, admin, member, viewer.

Remove a member.

Terminal window
anastroctl org member remove [OPTIONS] <USER>
Argument Description
<USER>

A recovery link for a user who lost every device.

Terminal window
anastroctl org member recover [OPTIONS] <USER>
Argument Description
<USER>

Invites to the org: make one, list them, withdraw one.

Terminal window
anastroctl org invite [OPTIONS] <COMMAND>
Command Description
create Invite someone by email: prints the link to send them.
list The org’s pending invites.
delete Withdraw a pending invite, by its ID.

Invite someone by email: prints the link to send them.

Terminal window
anastroctl org invite create [OPTIONS] <EMAIL>
Argument Description
<EMAIL>
Option Description
--role <ROLE> Their org role: owner (if you are one), admin, member or viewer.
-p, --project <PROJECT> A project of the org to add them to.
--project-role <PROJECT_ROLE> Their role there: owner, editor or viewer.

The org’s pending invites.

Terminal window
anastroctl org invite list [OPTIONS]

Withdraw a pending invite, by its ID.

Terminal window
anastroctl org invite delete [OPTIONS] <ID>
Argument Description
<ID>

Service accounts, which act with API keys.

Terminal window
anastroctl org service-account [OPTIONS] <COMMAND>
Command Description
list The org’s service accounts, or a project’s.
create Create a service account in the org, or in one of its projects.
revoke-keys Make every API key it was given so far stop working.
delete Delete it, and its keys with it.

The org’s service accounts, or a project’s.

Terminal window
anastroctl org service-account list [OPTIONS]
Option Description
-p, --project <PROJECT>

Create a service account in the org, or in one of its projects.

Terminal window
anastroctl org service-account create [OPTIONS] --role <ROLE> <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT> Belong to this project rather than the whole org.
--role <ROLE> An org role (owner, admin, member, viewer), or with –project a project role (owner, editor, viewer).

anastroctl org service-account revoke-keys

Section titled “anastroctl org service-account revoke-keys”

Make every API key it was given so far stop working.

Terminal window
anastroctl org service-account revoke-keys [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT>

Delete it, and its keys with it.

Terminal window
anastroctl org service-account delete [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
-p, --project <PROJECT>

The org’s git identity and branch policy; with flags, change them.

Terminal window
anastroctl org git [OPTIONS]
Option Description
--author <AUTHOR> One of bot, user, fixed.
--author-name <AUTHOR_NAME>
--author-email <AUTHOR_EMAIL>
--committer <COMMITTER> One of bot, author.
--branch-prefix <BRANCH_PREFIX>
--trailer <TRAILERS> Replaces the trailers: Co-authored-by: {user.name} <{user.github_email}>.
--no-trailers

The org’s 1Password connections, and your personal ones.

Terminal window
anastroctl org 1password [OPTIONS] <COMMAND>
Command Description
connect Connect a 1Password service account, its token on stdin (or a prompt).
list The org’s connections and your personal ones.
set Change a connection’s vaults or write vault.
delete Delete a connection: its bindings go, and machines lose those secrets.
items Items in a connection’s vault, by name.
fields An item’s fields and their references.

Connect a 1Password service account, its token on stdin (or a prompt).

op service-account create … | anastroctl org 1password connect.

Terminal window
anastroctl org 1password connect [OPTIONS]
Option Description
--personal Only for your own threads and machines.
--vault <VAULTS> The vaults the org may use (default: all the token sees).
--write-vault <WRITE_VAULT> Where agents save secrets.
--label <LABEL>

The org’s connections and your personal ones.

Terminal window
anastroctl org 1password list [OPTIONS]

Change a connection’s vaults or write vault.

Terminal window
anastroctl org 1password set [OPTIONS] <ID>
Argument Description
<ID>
Option Description
--vault <VAULTS>
--write-vault <WRITE_VAULT> Empty for none.

Delete a connection: its bindings go, and machines lose those secrets.

Terminal window
anastroctl org 1password delete [OPTIONS] <ID>
Argument Description
<ID>

Items in a connection’s vault, by name.

Terminal window
anastroctl org 1password items [OPTIONS] <CONNECTION> <VAULT>
Argument Description
<CONNECTION>
<VAULT>

An item’s fields and their references.

Terminal window
anastroctl org 1password fields [OPTIONS] <CONNECTION> <VAULT> <ITEM>
Argument Description
<CONNECTION>
<VAULT>
<ITEM>

The org’s audit log, newest first.

Terminal window
anastroctl org audit [OPTIONS]
Option Description
--user <USER> Only what this user did (user:<id>, or a user name).
-p, --project <PROJECT> Only this project’s records.
--action <ACTION> An operation ID (create_project) or event type (org.member.added).
--acting-as <ACTING_AS> Only what was done on this user’s behalf, by their threads or through /mcp (user:<id>, a user ID, or a user name).
--decision <DECISION> Only allowed or only denied requests. One of allow, deny.
--since <SINCE> From this moment on (RFC 3339).
--until <UNTIL> Before this moment (RFC 3339).
--limit <LIMIT> Default: 50.

The cluster’s users: disable them, set their cluster roles (cluster admins).

Terminal window
anastroctl users [OPTIONS] <COMMAND>
Command Description
list Every user in the cluster, with their cluster role.
disable Disable a user, by name or ID.
enable Enable a disabled user again.
set-role Set a user’s cluster role, or take it away with none.

Every user in the cluster, with their cluster role.

Terminal window
anastroctl users list [OPTIONS]
Option Description
--disabled Only disabled users.

Disable a user, by name or ID.

They keep their history, but none of their devices or API keys authenticates, and their threads are paused.

Terminal window
anastroctl users disable [OPTIONS] <USER>
Argument Description
<USER>

Enable a disabled user again.

Terminal window
anastroctl users enable [OPTIONS] <USER>
Argument Description
<USER>

Set a user’s cluster role, or take it away with none.

Terminal window
anastroctl users set-role [OPTIONS] <USER> <ROLE>
Argument Description
<USER>
<ROLE> One of cluster:admin, cluster:operator, cluster:viewer, none.

The whole cluster’s audit log, as cluster audit.

Terminal window
anastroctl audit [OPTIONS]
Option Description
--user <USER> Only what this user did (user:<id>, or a user name).
-p, --project <PROJECT> Only this project’s records.
--action <ACTION> An operation ID (create_project) or event type (org.member.added).
--acting-as <ACTING_AS> Only what was done on this user’s behalf, by their threads or through /mcp (user:<id>, a user ID, or a user name).
--decision <DECISION> Only allowed or only denied requests. One of allow, deny.
--since <SINCE> From this moment on (RFC 3339).
--until <UNTIL> Before this moment (RFC 3339).
--limit <LIMIT> Default: 50.

Your devices and API keys.

Terminal window
anastroctl account [OPTIONS] <COMMAND>
Command Description
device Your devices, and this one’s identity.
key API keys for scripts and CI: yours, or a service account’s.
revoke-tokens Make every API key and token of yours issued so far stop working: your keys, personal inference tokens, and thread and machine tokens acting as you (running ones get new ones). Devices stay signed in.

Your devices, and this one’s identity.

Terminal window
anastroctl account device [OPTIONS] <COMMAND>
Command Description
id Print this device’s endpoint ID (creating its key if needed), for enrollment.
list List your devices.
approve Approve a device by its key, as one of yours: the join string anastroctl login prints, or an endpoint ID (account device id).
link Print a one-time sign-in link for a new device of yours: for anastroctl login --enroll, the desktop app or a phone. It works once, within ten minutes.
revoke Revoke one of your devices, by name or endpoint ID prefix.
connect-phone Show a QR code that signs a phone’s Anastro app in as you.
test-push Send a test notification to each of your phones, to check the cluster’s APNs key ([push.apns]) and that the app registered.

Print this device’s endpoint ID (creating its key if needed), for enrollment.

Terminal window
anastroctl account device id [OPTIONS]

List your devices.

Terminal window
anastroctl account device list [OPTIONS]

Approve a device by its key, as one of yours: the join string anastroctl login prints, or an endpoint ID (account device id).

Terminal window
anastroctl account device approve [OPTIONS] <DEVICE>
Argument Description
<DEVICE> anastro-device:<endpoint ID>?name=…, or the bare endpoint ID.
Option Description
--name <NAME> How it appears in your device list (default: the name it suggests).
--expires-in-days <EXPIRES_IN_DAYS> The device stops working after this many days.

Print a one-time sign-in link for a new device of yours: for anastroctl login --enroll, the desktop app or a phone. It works once, within ten minutes.

Terminal window
anastroctl account device link [OPTIONS]
Option Description
--name <NAME> What to call it among your devices. Default: "new device".

Revoke one of your devices, by name or endpoint ID prefix.

Terminal window
anastroctl account device revoke [OPTIONS] <DEVICE>
Argument Description
<DEVICE>

Show a QR code that signs a phone’s Anastro app in as you.

It works once, within ten minutes. Waits for the phone to connect.

Terminal window
anastroctl account device connect-phone [OPTIONS]
Option Description
--name <NAME> What to call it among your devices. Default: "Anastro app".
--link Print the code’s anastro://enroll link instead, and don’t wait.

Send a test notification to each of your phones, to check the cluster’s APNs key ([push.apns]) and that the app registered.

Terminal window
anastroctl account device test-push [OPTIONS]

API keys for scripts and CI: yours, or a service account’s.

Terminal window
anastroctl account key [OPTIONS] <COMMAND>
Command Description
create Make a key pair here and register its public key; prints the secret, once. Use it with ANASTRO_KEY or --key-file.
list List live keys.
revoke Revoke one, by its ID.

Make a key pair here and register its public key; prints the secret, once. Use it with ANASTRO_KEY or --key-file.

Terminal window
anastroctl account key create [OPTIONS] --ttl <TTL>
Option Description
--name <NAME> What it’s for.
-p, --project <PROJECTS> Only this project of the current org (repeat for more).
--scope <SCOPES> Only this operation, by ID, or read for every GET (repeat for more).
--ttl <TTL> How long it lasts (30d, 12h), at most [auth] api_key_max_ttl.
--public-key <PUBLIC_KEY> Register this public key (an endpoint ID) instead, made elsewhere; no secret is printed.
--out <OUT> Write the secret to this new file (mode 0600) instead of printing it.
--service-account <SERVICE_ACCOUNT> A service account’s keys rather than yours, by name.
--sa-project <SA_PROJECT> The service account’s project, if it belongs to one.

List live keys.

Terminal window
anastroctl account key list [OPTIONS]
Option Description
--service-account <SERVICE_ACCOUNT> A service account’s keys rather than yours, by name.
--sa-project <SA_PROJECT> The service account’s project, if it belongs to one.

Revoke one, by its ID.

Terminal window
anastroctl account key revoke [OPTIONS] <ID>
Argument Description
<ID>
Option Description
--service-account <SERVICE_ACCOUNT> A service account’s keys rather than yours, by name.
--sa-project <SA_PROJECT> The service account’s project, if it belongs to one.

Make every API key and token of yours issued so far stop working: your keys, personal inference tokens, and thread and machine tokens acting as you (running ones get new ones). Devices stay signed in.

Terminal window
anastroctl account revoke-tokens [OPTIONS]
Option Description
--yes Yes, revoke them.

Inference accounts, gateway tokens and the local gateway proxy.

Terminal window
anastroctl inference [OPTIONS] <COMMAND>
Command Description
account Inference accounts linked to your orgs: link, test, budget, remove.
token Personal gateway tokens for your own Pi sessions.
usage Your usage, per day, account, thread and model.
proxy Serve the gateway on 127.0.0.1, forwarding over iroh as this device.

Inference accounts linked to your orgs: link, test, budget, remove.

Terminal window
anastroctl inference account [OPTIONS] <COMMAND>
Command Description
list Your orgs’ accounts: status, plan, limits, last refresh.
add Link an account to an org.
import Move a Codex CLI login (~/.codex/auth.json) into an org.
reauth New credentials for an account, keeping its ID and the threads using it.
test A tiny streamed request through the account.
default Make an account its org’s default for new threads.
set Rename an account, or set its daily token budget (0 removes it).
delete Delete an account’s credentials.

Your orgs’ accounts: status, plan, limits, last refresh.

Terminal window
anastroctl inference account list [OPTIONS]

Link an account to an org.

codex prints a link and a one-time code and waits until it’s entered; openai and anthropic read an API key from stdin or a prompt.

Terminal window
anastroctl inference account add [OPTIONS] <KIND>
Argument Description
<KIND> Possible values: - codex: A ChatGPT plan, through the Codex backend (codex-oauth) - openai: An OpenAI API key (openai-api-key) - anthropic: An Anthropic API key (anthropic-api-key) - claude: A Claude subscription through Claude Code. Paste a token from claude setup-token - antigravity: A Google account’s Antigravity plan, through Antigravity’s own agent: sign in at the Google link, then paste the code Antigravity’s page shows.
Option Description
--label <LABEL>
--base-url <BASE_URL> Another OpenAI- or Anthropic-compatible API (https).
--budget <BUDGET> Tokens per UTC day.

Move a Codex CLI login (~/.codex/auth.json) into an org.

Refresh tokens rotate, so the local Codex CLI must log in again afterwards.

Terminal window
anastroctl inference account import [OPTIONS] <KIND> [PATH]
Argument Description
<KIND> One of codex.
[PATH] The Codex CLI’s auth.json (default: ~/.codex/auth.json).
Option Description
--label <LABEL>
--clear-local Delete the local file once imported, so the two can’t clash.

New credentials for an account, keeping its ID and the threads using it.

A new device code, or a new API key from stdin or a prompt.

Terminal window
anastroctl inference account reauth [OPTIONS] <ID>
Argument Description
<ID>

A tiny streamed request through the account.

Terminal window
anastroctl inference account test [OPTIONS] <ID>
Argument Description
<ID>
Option Description
--model <MODEL>

Make an account its org’s default for new threads.

Terminal window
anastroctl inference account default [OPTIONS] <ID>
Argument Description
<ID>

Rename an account, or set its daily token budget (0 removes it).

Terminal window
anastroctl inference account set [OPTIONS] <ID>
Argument Description
<ID>
Option Description
--label <LABEL>
--budget <BUDGET>

Delete an account’s credentials.

Terminal window
anastroctl inference account delete [OPTIONS] <ID>
Argument Description
<ID>

Personal gateway tokens for your own Pi sessions.

Terminal window
anastroctl inference token [OPTIONS] <COMMAND>
Command Description
create Make a personal gateway token for your own Pi sessions; prints it, once.
list Your personal tokens that haven’t expired.
revoke Revoke a personal token.

Make a personal gateway token for your own Pi sessions; prints it, once.

Terminal window
anastroctl inference token create [OPTIONS]
Option Description
--ttl <TTL> How long it lasts, e.g. 12h (at most inference.token_ttl.personal_max).
--account <ACCOUNTS> Accounts it may use, in order (default: any in the org).
--model <MODELS> Models it may call (default: any).

Your personal tokens that haven’t expired.

Terminal window
anastroctl inference token list [OPTIONS]

Revoke a personal token.

Terminal window
anastroctl inference token revoke [OPTIONS] <ID>
Argument Description
<ID>

Your usage, per day, account, thread and model.

Terminal window
anastroctl inference usage [OPTIONS]
Option Description
--since <SINCE> RFC 3339 (default: 30 days ago).
--all Everyone’s in the org (owners and admins).

Serve the gateway on 127.0.0.1, forwarding over iroh as this device.

Point Pi’s OpenAI provider at http://<listen>/v1/inference (Anthropic: http://<listen>/v1/inference/anthropic), using the generated credential.

Terminal window
anastroctl inference proxy [OPTIONS]
Option Description
--listen <LISTEN> Default: 127.0.0.1:4141.
--credential-file <CREDENTIAL_FILE> Write the one-run API credential here (default: a private temporary file).

Apps connected to other services: GitHub and Linear.

Terminal window
anastroctl apps [OPTIONS] <COMMAND>
Command Description
github The cluster’s GitHub App, its installations, and your linked account.
linear The org’s Linear workspaces, connected through their Linear apps.

The cluster’s GitHub App, its installations, and your linked account.

Terminal window
anastroctl apps github [OPTIONS] <COMMAND>
Command Description
setup The cluster’s GitHub App (cluster admins).
installation The app’s installations on GitHub accounts, linked to the org.
account Your linked GitHub account, and the email your commits use.

The cluster’s GitHub App (cluster admins).

Terminal window
anastroctl apps github setup [OPTIONS] <COMMAND>
Command Description
create Register the app with GitHub’s manifest flow.
import Register an app made by hand.
status The app, its bot, and whether webhooks are on.
remove Forget the app, after deleting it on GitHub or to make another.

Register the app with GitHub’s manifest flow.

Opens a page on this machine that posts the manifest to GitHub, and finishes when GitHub sends the browser back.

Terminal window
anastroctl apps github setup create [OPTIONS]
Option Description
--github-org <GITHUB_ORG> Register it under this GitHub organization (default: your account).
--name <NAME>
--administration Ask for administration: write, for branch rulesets.
--public Let other GitHub accounts install it, such as your organizations when the app is yours.

Register an app made by hand.

Terminal window
anastroctl apps github setup import [OPTIONS] --app-id <APP_ID> --private-key <PRIVATE_KEY>
Option Description
--app-id <APP_ID>
--private-key <PRIVATE_KEY> Its private key (PEM).
--client-id <CLIENT_ID>
--client-secret <CLIENT_SECRET> Files holding the client and webhook secrets.
--webhook-secret <WEBHOOK_SECRET>

The app, its bot, and whether webhooks are on.

Terminal window
anastroctl apps github setup status [OPTIONS]

Forget the app, after deleting it on GitHub or to make another.

Its installations, the repositories projects have through them, linked accounts and minted tokens go with it.

Terminal window
anastroctl apps github setup remove [OPTIONS]
Option Description
--yes

The app’s installations on GitHub accounts, linked to the org.

Terminal window
anastroctl apps github installation [OPTIONS] <COMMAND>
Command Description
list The org’s installations; with –all, every installation of the app.
add Install the app on a GitHub account for this org.
link Link an installation to the org by its ID (cluster admins).
unlink Unlink an installation: the org’s projects lose its repositories.

The org’s installations; with –all, every installation of the app.

Terminal window
anastroctl apps github installation list [OPTIONS]
Option Description
--all

Install the app on a GitHub account for this org.

Opens the link, and links the installation once GitHub has it, vouched for by your linked GitHub account.

Terminal window
anastroctl apps github installation add [OPTIONS]

Link an installation to the org by its ID (cluster admins).

Terminal window
anastroctl apps github installation link [OPTIONS] <INSTALLATION>
Argument Description
<INSTALLATION>
Section titled “anastroctl apps github installation unlink”

Unlink an installation: the org’s projects lose its repositories.

Terminal window
anastroctl apps github installation unlink [OPTIONS] <INSTALLATION>
Argument Description
<INSTALLATION>

Your linked GitHub account, and the email your commits use.

Terminal window
anastroctl apps github account [OPTIONS] <COMMAND>
Command Description
link Link your GitHub account through the app, in a browser on this machine.
status The linked account, and the name and email commits use.
email The emails commits can use, the current one marked.
name The name commits use.
unlink Unlink your GitHub account.

Link your GitHub account through the app, in a browser on this machine.

Terminal window
anastroctl apps github account link [OPTIONS]

The linked account, and the name and email commits use.

Terminal window
anastroctl apps github account status [OPTIONS]

The emails commits can use, the current one marked.

With an address, use it (one of your verified GitHub emails).

Terminal window
anastroctl apps github account email [OPTIONS] [ADDRESS]
Argument Description
[ADDRESS]
Option Description
--noreply Go back to the account’s no-reply address.

The name commits use.

With a name, use it instead of your GitHub profile’s.

Terminal window
anastroctl apps github account name [OPTIONS] [NAME]
Argument Description
[NAME]
Option Description
--profile Go back to your GitHub profile’s name.

Unlink your GitHub account.

Terminal window
anastroctl apps github account unlink [OPTIONS]

The org’s Linear workspaces, connected through their Linear apps.

Terminal window
anastroctl apps linear [OPTIONS] <COMMAND>
Command Description
connect Connect a workspace through a Linear OAuth app made for it, with client credentials turned on. Org admins.
status The org’s workspaces, and how their changes reach the cluster.
teams A workspace’s teams, to add to projects.
webhook-secret A webhook added in Linear by hand: its signing secret (asked for).
disconnect Disconnect a workspace; its cards and sources stay, and stop syncing.

Connect a workspace through a Linear OAuth app made for it, with client credentials turned on. Org admins.

Terminal window
anastroctl apps linear connect [OPTIONS] <CLIENT_ID>
Argument Description
<CLIENT_ID>
Option Description
--client-secret <CLIENT_SECRET> Its client secret; asked for without it. Env: ANASTRO_LINEAR_CLIENT_SECRET.

The org’s workspaces, and how their changes reach the cluster.

Terminal window
anastroctl apps linear status [OPTIONS]

A workspace’s teams, to add to projects.

Terminal window
anastroctl apps linear teams [OPTIONS] <WORKSPACE>
Argument Description
<WORKSPACE>

A webhook added in Linear by hand: its signing secret (asked for).

Terminal window
anastroctl apps linear webhook-secret [OPTIONS] <WORKSPACE>
Argument Description
<WORKSPACE>

Disconnect a workspace; its cards and sources stay, and stop syncing.

Terminal window
anastroctl apps linear disconnect [OPTIONS] <WORKSPACE>
Argument Description
<WORKSPACE>

Anastro as an MCP server for a client on this device.

Terminal window
anastroctl mcp [OPTIONS] <COMMAND>
Command Description
serve Serve MCP on stdin and stdout, as this device. Point an MCP client’s stdio command at anastroctl mcp serve.

Serve MCP on stdin and stdout, as this device. Point an MCP client’s stdio command at anastroctl mcp serve.

Terminal window
anastroctl mcp serve [OPTIONS]

The org’s connectors: remote MCP servers threads use as tools, and your connection to each.

Terminal window
anastroctl connector [OPTIONS] <COMMAND>
Command Description
list The org’s servers, and your status on each.
add Add a server (org owners and admins).
edit Edit a server in place. Omitted fields keep their current values.
request Browse resources and prompts, or read/get one, using your own credential.
connect Connect your account: prints the authorization URL to open.
tools The server’s tools, as you see them.
disconnect Delete your connection to the server.
delete Delete the server, and everyone’s connection to it (org owners and admins).

The org’s servers, and your status on each.

Terminal window
anastroctl connector list [OPTIONS]

Add a server (org owners and admins).

It’s checked first: it must answer, with the header if one is given, or describe its OAuth.

Terminal window
anastroctl connector add [OPTIONS] <NAME> <URL>
Argument Description
<NAME> 1–32 lowercase letters, digits and dashes; its tools are mcp__<name>__<tool>.
<URL> Its Streamable HTTP endpoint (https://…).
Option Description
--auth <AUTH> Authentication: none, header, user_header or oauth.
--header <HEADER> A header everyone in the org shares, Name: value; Name: - reads the value from stdin.
--client-id <CLIENT_ID> An OAuth client registered by hand, when the server’s authorization server doesn’t register clients itself.
--client-secret-file <CLIENT_SECRET_FILE> A file holding that client’s secret.
-p, --project <PROJECTS> Only these projects may use it (repeat); default: all.

Edit a server in place. Omitted fields keep their current values.

Terminal window
anastroctl connector edit [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
--new-name <NEW_NAME>
--url <URL>
--auth <AUTH>
--header <HEADER>
--client-id <CLIENT_ID>
--client-secret-file <CLIENT_SECRET_FILE>
-p, --project <PROJECTS> Replace the allowed projects. Use –all-projects to clear restrictions.
--all-projects

Browse resources and prompts, or read/get one, using your own credential.

Terminal window
anastroctl connector request [OPTIONS] <NAME> <METHOD>
Argument Description
<NAME>
<METHOD> resources/list, resources/templates/list, resources/read, prompts/list, prompts/get.
Option Description
--params <PARAMS> Default: {}.

Connect your account: prints the authorization URL to open.

The authorization server sends the browser back to the cluster’s UI.

Terminal window
anastroctl connector connect [OPTIONS] <NAME>
Argument Description
<NAME>
Option Description
--header <HEADER> Set your own header credential: Name: value or Name: - for stdin.
--no-open Don’t try to open a browser.

The server’s tools, as you see them.

Terminal window
anastroctl connector tools [OPTIONS] <NAME>
Argument Description
<NAME>

Delete your connection to the server.

Terminal window
anastroctl connector disconnect [OPTIONS] <NAME>
Argument Description
<NAME>

Delete the server, and everyone’s connection to it (org owners and admins).

Terminal window
anastroctl connector delete [OPTIONS] <NAME>
Argument Description
<NAME>

Run a cluster from its config repo: configs, secrets, upgrades, the database, hosts.

Terminal window
anastroctl cluster [OPTIONS] <COMMAND>
Command Description
init Start a config repo: a single-node cluster from the quickstart’s example.
validate Validate anastro.toml and every node file.
config A node’s config: as the repo renders it, signed, or as the node runs it.
apply Sign each node’s config from the repo and apply it, one node at a time.
bootstrap Bring the cluster up from the config repo.
unseal Send nodes the secrets their configs need, from secrets.age.
upgrade Move nodes to another OS image version, one at a time.
release OS image releases.
recover Sign this device in as a cluster admin who lost every device.
key This machine’s keys: the one that signs configs, and the one that opens the bundle.
bundle The secrets bundle: secrets.age in the config repo.
secret The cluster secret store in Postgres, through secretd.
postgres The database cluster: members, switchover, major upgrades.
backup Postgres backups.
etcd The control plane’s etcd cluster.
storage Object stores.
hardware Every node’s hardware, health and benchmarks.
host Worker hosts: cordon, drain, rebalance.
fs The workspace filesystem: GC, and reindexing after a restore.
audit The whole cluster’s audit log, newest first.

Operator options, accepted before or after the subcommand:

Option Description
-C, --dir <DIR> Config repo containing anastro.toml and nodes/. Default: .. Env: ANASTRO_CONFIG_DIR.
--operator-key <OPERATOR_KEY> Key that signs configs (default: operator.key next to the client file). Env: ANASTRO_OPERATOR_KEY.
--identity <IDENTITY> age identity that decrypts secrets.age (default: age.key next to the client file). Env: ANASTRO_AGE_IDENTITY.
--as-operator Reach nodes with the operator key instead of this device’s key. Nodes admit their config’s operator keys as admins on the node API, so this works before anyone has logged in, or with the cluster’s database down.

Start a config repo: a single-node cluster from the quickstart’s example.

Writes anastro.toml and nodes/<node>.toml with this computer’s operator key and age recipient (creating them if there are none), generates the cluster’s secrets into secrets.age, and validates the result.

Terminal window
anastroctl cluster init [OPTIONS] [PATH]
Argument Description
[PATH] Where to write it (default: the current directory).
Option Description
--name <NAME> The cluster’s name (default: the directory’s).
--node <NODE> The node’s name. Default: node1.
--cidr <CIDR> The LAN the node is on, as a CIDR (default: the example’s 10.10.0.0/24).

Validate anastro.toml and every node file.

Terminal window
anastroctl cluster validate [OPTIONS]

A node’s config: as the repo renders it, signed, or as the node runs it.

Terminal window
anastroctl cluster config [OPTIONS] <COMMAND>
Command Description
render Print the effective config for a node (anastro.toml ⊕ nodes/<name>.toml).
sign Sign a node’s config, for an ANASTROCFG disk or later apply.
get Print the config a node runs.

Print the effective config for a node (anastro.toml ⊕ nodes/<name>.toml).

Terminal window
anastroctl cluster config render [OPTIONS] --node <NODE>
Option Description
-n, --node <NODE>

Sign a node’s config, for an ANASTROCFG disk or later apply.

Terminal window
anastroctl cluster config sign [OPTIONS] --node <NODE>
Option Description
-n, --node <NODE>
-o, --output <OUTPUT> Write here instead of stdout.
--issued-at <ISSUED_AT> Seconds since the epoch (default: now). Nodes refuse configs issued before the one they run.

Print the config a node runs.

Terminal window
anastroctl cluster config get [OPTIONS] --node <NODE>
Option Description
-n, --node <NODE>

Sign each node’s config from the repo and apply it, one node at a time.

Terminal window
anastroctl cluster apply [OPTIONS]
Option Description
-n, --node <NODES> Only these nodes (default: all in the context).
--dry-run Show what would change, and how, without applying.
--reboot Take changes that need a reboot: each node reboots into its config, one at a time, and the rollout waits for it to come back. A node with a host agent is drained first, its machines live-moved to other hosts, and uncordoned once it’s back.
--allow-stop With –reboot: a machine that can’t live-move off a node moves gracefully, and one with no room anywhere is stopped (it resumes on next use), rather than hold the rollout.
--maintenance <TICKET> Give one node in maintenance mode its first config, reaching it by the ticket it prints on its console.
--deploy-key <FILE> Sign with this deploy key instead of the operator key, as CI does: nodes take only upgrade and tuning changes it signs. Else ANASTRO_DEPLOY_KEY, the key as hex.
--plan-key <FILE> With –dry-run: read the running configs with this plan key, which signs nothing, for a plan on a pull request. Else ANASTRO_PLAN_KEY, the key as hex.

Bring the cluster up from the config repo.

Sends every node the secrets its config needs and applies it the config (a sealed node takes the config first, so it starts with it), and waits until every node is healthy. With –restore-from, then replaces the new cluster’s database with one restored from the store’s backups, and takes a base backup.

Terminal window
anastroctl cluster bootstrap [OPTIONS]
Option Description
--restore-from <STORE> Restore from this store’s backups: the repo’s backup.store.
--target-time <TARGET_TIME> Recover to this moment (RFC 3339); default: the end of the archive.
-n, --node <NODE> The node that restores, and leads the restored cluster (default: the first in the context).

Send nodes the secrets their configs need, from secrets.age.

A sealed node starts its services once it has them all.

Terminal window
anastroctl cluster unseal [OPTIONS]
Option Description
--recover-etcd Recover expired etcd peer identities after quorum is lost. Restart peers without quorum checks, preserving data and membership. Renew certificates first and send every peer; use only for recovery.
-n, --node <NODES> Only these nodes (default: all in the context).

Move nodes to another OS image version, one at a time.

The Postgres leader goes last. Each node is drained of its machines first and uncordoned once it’s back. A node that doesn’t get healthy on it falls back to the version before, and the rollout stops.

Terminal window
anastroctl cluster upgrade [OPTIONS] --url <URL> --version <VERSION>
Option Description
--url <URL> Where the release is: a directory with anastro_<version>.efi, anastro_<version>.store.raw, SHA256SUMS and SHA256SUMS.sig (anastroctl cluster release sign).
-n, --node <NODES> Only these nodes (default: all in the context).
--allow-stop A machine that can’t live-move off a node moves gracefully, and one with no room anywhere is stopped (it resumes on next use), rather than hold the rollout.
--deploy-key <FILE> Roll out with this deploy key instead of the operator key, as CI does; the release must still be signed by an operator key. Else ANASTRO_DEPLOY_KEY, the key as hex.

OS image releases.

Terminal window
anastroctl cluster release [OPTIONS] <COMMAND>
Command Description
sign Sign a release directory’s SHA256SUMS with the operator key.

Sign a release directory’s SHA256SUMS with the operator key.

Into SHA256SUMS.sig. Nodes upgrade only to releases signed by one of their cluster.operator_keys.

Terminal window
anastroctl cluster release sign [OPTIONS] --secure-boot-certificate <SECURE_BOOT_CERTIFICATE> --pcr-public-key <PCR_PUBLIC_KEY> <RELEASE_DIR>
Argument Description
<RELEASE_DIR>
Option Description
--secure-boot-certificate <SECURE_BOOT_CERTIFICATE> Configured production Secure Boot db certificate. Env: ANASTRO_SECURE_BOOT_CERTIFICATE.
--pcr-public-key <PCR_PUBLIC_KEY> Configured production TPM PCR policy public key. Env: ANASTRO_PCR_PUBLIC_KEY.

Sign this device in as a cluster admin who lost every device.

For the first admin, by default. It reaches the cluster over iroh as the operator bundle’s recovery key, and signs the request with it, so it works from any machine with the bundle, an identity for it and a client file naming the nodes.

Terminal window
anastroctl cluster recover [OPTIONS]
Option Description
--secrets <SECRETS> The bundle (default: the config repo’s secrets.age).
--user <USER> The admin, by name or ID.
--name <NAME> How this device appears in their device list (default: the hostname).

This machine’s keys: the one that signs configs, and the one that opens the bundle.

Terminal window
anastroctl cluster key [OPTIONS] <COMMAND>
Command Description
operator Print the operator key’s public half, for cluster.operator_keys.
age Print this age identity’s recipient, for [secrets] recipients.
deploy Print a deploy key’s public half, for cluster.deploy_keys.
plan Print a plan key’s public half, for cluster.plan_keys.

Print the operator key’s public half, for cluster.operator_keys.

The key is created if there isn’t one.

Terminal window
anastroctl cluster key operator [OPTIONS]

Print this age identity’s recipient, for [secrets] recipients.

The identity is created if there isn’t one.

Terminal window
anastroctl cluster key age [OPTIONS]

Print a deploy key’s public half, for cluster.deploy_keys.

CI applies configs with it, changing only upgrades and tuning. The key is created if there isn’t one.

Terminal window
anastroctl cluster key deploy [OPTIONS]
Option Description
--file <FILE> Where the key is (default: deploy.key next to the client file).
--secret Print the key itself, as hex, for CI’s secret store (ANASTRO_DEPLOY_KEY).

Print a plan key’s public half, for cluster.plan_keys.

It reads nodes’ running configs for apply --dry-run plans, and signs nothing. The key is created if there isn’t one.

Terminal window
anastroctl cluster key plan [OPTIONS]
Option Description
--file <FILE> Where the key is (default: plan.key next to the client file).
--secret Print the key itself, as hex, for CI’s secret store (ANASTRO_PLAN_KEY).

The secrets bundle: secrets.age in the config repo.

Terminal window
anastroctl cluster bundle [OPTIONS] <COMMAND>
Command Description
init Generate the cluster’s own secrets the bundle lacks.
renew-etcd Renew etcd peer certificates under the cluster CA. Unseal each node afterwards.
etcd-ca Roll the etcd CA in stages; unseal every node between stages.
rotate-garage Rotate every Garage credential and advance its anti-replay generation.
set Set a secret, from stdin or a prompt.
list Secret paths in the bundle. Never values.
delete Remove a secret.
rekey Rotate one of the cluster’s keys.

Generate the cluster’s own secrets the bundle lacks.

Postgres passwords, DWFS keys, inference keys and the recovery key.

Terminal window
anastroctl cluster bundle init [OPTIONS]

Renew etcd peer certificates under the cluster CA. Unseal each node afterwards.

Terminal window
anastroctl cluster bundle renew-etcd [OPTIONS]

Roll the etcd CA in stages; unseal every node between stages.

Terminal window
anastroctl cluster bundle etcd-ca [OPTIONS] <PHASE>
Argument Description
<PHASE> One of prepare, activate, finish.

Rotate every Garage credential and advance its anti-replay generation.

Commit the bundle, then unseal all storage nodes promptly. Garage S3 keys overlap for at most five minutes; RPC rotation can briefly pause replicated writes until a quorum has the new secret.

Terminal window
anastroctl cluster bundle rotate-garage [OPTIONS]

Set a secret, from stdin or a prompt.

Terminal window
anastroctl cluster bundle set [OPTIONS] <PATH>
Argument Description
<PATH>

Secret paths in the bundle. Never values.

Terminal window
anastroctl cluster bundle list [OPTIONS]

Remove a secret.

Terminal window
anastroctl cluster bundle delete [OPTIONS] <PATH>
Argument Description
<PATH>

Rotate one of the cluster’s keys.

A new one in the bundle, sent to every node that holds it with the old one beside it, every data key re-wrapped with it, and the old one dropped. Run again after a failure, it goes on with the rotation the bundle shows started.

Terminal window
anastroctl cluster bundle rekey [OPTIONS] <--kek|--dwfs-root|--integrations|--onepassword|--inference>
Option Description
--kek The cluster secret store’s KEK (secrets/kek).
--dwfs-root Rewrap org KEKs with a new DWFS root, keeping every workspace readable.
--integrations apid’s key for integration credentials (integrations/kek): GitHub, MCP servers, Linear, git tokens, queued saves and triggers.
--onepassword opd’s key for 1Password service account tokens (onepassword/kek).
--inference The key for inference account credentials (inference/kek).

The cluster secret store in Postgres, through secretd.

Terminal window
anastroctl cluster secret [OPTIONS] <COMMAND>
Command Description
list Paths, versions, consumers and when each was set and rotated. Never values.
set Set a secret from stdin or a prompt (no echo): a new one, or a new version of one.
get A secret’s versions and consumers; with –reveal, its value.
rotate A new version of a secret.
delete Remove a secret, every version of it.

Paths, versions, consumers and when each was set and rotated. Never values.

Terminal window
anastroctl cluster secret list [OPTIONS]

Set a secret from stdin or a prompt (no echo): a new one, or a new version of one.

Terminal window
anastroctl cluster secret set [OPTIONS] <PATH>
Argument Description
<PATH>
Option Description
--consumer <CONSUMERS> A service that reads it (repeatable); replaces the ones it had.

A secret’s versions and consumers; with –reveal, its value.

A reveal needs a device key. Every reveal is audited.

Terminal window
anastroctl cluster secret get [OPTIONS] <PATH>
Argument Description
<PATH>
Option Description
--reveal

A new version of a secret.

32 random bytes (hex) generated by secretd, which no one sees unless it’s revealed; with –value, one from stdin or a prompt.

Terminal window
anastroctl cluster secret rotate [OPTIONS] <PATH>
Argument Description
<PATH>
Option Description
--value

Remove a secret, every version of it.

Terminal window
anastroctl cluster secret delete [OPTIONS] <PATH>
Argument Description
<PATH>

The database cluster: members, switchover, major upgrades.

Terminal window
anastroctl cluster postgres [OPTIONS] <COMMAND>
Command Description
status Members, roles and replication lag.
switchover Move the primary to another member without losing writes.
upgrade Move to a new Postgres major online, blue/green.

Members, roles and replication lag.

Terminal window
anastroctl cluster postgres status [OPTIONS]
Option Description
-n, --node <NODE> Node to ask (default: the first that answers).

Move the primary to another member without losing writes.

Terminal window
anastroctl cluster postgres switchover [OPTIONS]
Option Description
--to <TO> The member to promote (default: Patroni picks a sync standby).
-n, --node <NODE> Node to ask (default: the first that answers).

Move to a new Postgres major online, blue/green.

On every node of a Patroni cluster.

Terminal window
anastroctl cluster postgres upgrade [OPTIONS] <COMMAND>
Command Description
plan What would stop an upgrade to this major.
start Build the new major beside the running one and replicate into it.
status How far the new major has got.
cutover Move writes to the new major.
rollback Move writes back to the old major, losing nothing written since.
finish Drop the old major.
abort Before cutover: drop the new major.

What would stop an upgrade to this major.

Terminal window
anastroctl cluster postgres upgrade plan [OPTIONS] --to <TO>
Option Description
--to <TO>

Build the new major beside the running one and replicate into it.

Terminal window
anastroctl cluster postgres upgrade start [OPTIONS] --to <TO>
Option Description
--to <TO>

anastroctl cluster postgres upgrade status

Section titled “anastroctl cluster postgres upgrade status”

How far the new major has got.

Terminal window
anastroctl cluster postgres upgrade status [OPTIONS]

anastroctl cluster postgres upgrade cutover

Section titled “anastroctl cluster postgres upgrade cutover”

Move writes to the new major.

Terminal window
anastroctl cluster postgres upgrade cutover [OPTIONS]

anastroctl cluster postgres upgrade rollback

Section titled “anastroctl cluster postgres upgrade rollback”

Move writes back to the old major, losing nothing written since.

Terminal window
anastroctl cluster postgres upgrade rollback [OPTIONS]

anastroctl cluster postgres upgrade finish

Section titled “anastroctl cluster postgres upgrade finish”

Drop the old major.

Terminal window
anastroctl cluster postgres upgrade finish [OPTIONS]

Before cutover: drop the new major.

Terminal window
anastroctl cluster postgres upgrade abort [OPTIONS]

Postgres backups.

Terminal window
anastroctl cluster backup [OPTIONS] <COMMAND>
Command Description
status Base backups in the store, and WAL archiving on the primary.
now Take a base backup now, on the Postgres primary.
verify Restore the newest base backup into a scratch instance and check it.
restore Replace the cluster’s database with one restored from the backups store.

Base backups in the store, and WAL archiving on the primary.

Terminal window
anastroctl cluster backup status [OPTIONS]
Option Description
-n, --node <NODE> Node to ask (default: the first that answers).

Take a base backup now, on the Postgres primary.

Terminal window
anastroctl cluster backup now [OPTIONS]

Restore the newest base backup into a scratch instance and check it.

It’s checked against the live database; fails if a check does.

Terminal window
anastroctl cluster backup verify [OPTIONS]
Option Description
-n, --node <NODE> Node to verify on (default: a replica, else the primary).

Replace the cluster’s database with one restored from the backups store.

On this node. In a Patroni cluster every node is held while it restores, then copies the restored database from it.

Terminal window
anastroctl cluster backup restore [OPTIONS] --node <NODE>
Option Description
-n, --node <NODE>
--target-time <TARGET_TIME> Recover to this moment (RFC 3339); default: the end of the archive.

The control plane’s etcd cluster.

Terminal window
anastroctl cluster etcd [OPTIONS] <COMMAND>
Command Description
members The cluster’s members.
remove-member Remove a node’s member, for a node that won’t come back.

The cluster’s members.

Terminal window
anastroctl cluster etcd members [OPTIONS]
Option Description
-n, --node <NODE> Node to ask (default: the first that answers).

Remove a node’s member, for a node that won’t come back.

It no longer counts towards quorum. A node that does come back with its data gone joins as a new member on its own.

Terminal window
anastroctl cluster etcd remove-member [OPTIONS] <NAME>
Argument Description
<NAME>

Object stores.

Terminal window
anastroctl cluster storage [OPTIONS] <COMMAND>
Command Description
test Check a store from a node: put, get, list and delete a probe object.
migrate Copy every object to another store, verified by BLAKE3.

Check a store from a node: put, get, list and delete a probe object.

Also range-gets it and checks the store’s clock. For the workspaces store, also mints runners’ credentials and a presigned PUT, and proves neither can delete, overwrite or leave its org’s prefix.

Terminal window
anastroctl cluster storage test [OPTIONS] <STORE>
Argument Description
<STORE>
Option Description
-n, --node <NODE> Node to test from (default: the first that answers).

Copy every object to another store, verified by BLAKE3.

Then points the config’s features at it and keeps the old one read-only.

Terminal window
anastroctl cluster storage migrate [OPTIONS] --to <TO> <STORE>
Argument Description
<STORE>
Option Description
--to <TO>
-n, --node <NODE> Node to copy on: for a local store, the one that holds it.

Every node’s hardware, health and benchmarks.

Terminal window
anastroctl cluster hardware [OPTIONS] <COMMAND>
Command Description
list Each node’s CPU, memory, disks, health and scores against the cluster’s median.
show One node’s full report, as JSON.
benchmark Benchmark a node’s CPU, memory and volumes (a minute or two).

Each node’s CPU, memory, disks, health and scores against the cluster’s median.

Terminal window
anastroctl cluster hardware list [OPTIONS]
Option Description
--json Print the API’s JSON, with every node’s full report.

One node’s full report, as JSON.

Terminal window
anastroctl cluster hardware show [OPTIONS] <NODE>
Argument Description
<NODE>

Benchmark a node’s CPU, memory and volumes (a minute or two).

Terminal window
anastroctl cluster hardware benchmark [OPTIONS] <NODE>
Argument Description
<NODE>
Option Description
--force Even while machines run on it: they slow it, and it them.
--no-wait Return once it’s asked for, rather than once it’s done.

Worker hosts: cordon, drain, rebalance.

Terminal window
anastroctl cluster host [OPTIONS] <COMMAND>
Command Description
list Hosts, their state and what their machines take.
cordon No new machine lands on it (taint draining:NoSchedule).
uncordon Let machines land on it again.
drain Cordon it and move its machines to other hosts.
remove Remove a drained worker and revoke its enrollment. Control-plane membership stays.
admit Permit a removed worker to enroll again using its signed configuration.
rebalance Even out the hosts.

Hosts, their state and what their machines take.

Terminal window
anastroctl cluster host list [OPTIONS]

No new machine lands on it (taint draining:NoSchedule).

Terminal window
anastroctl cluster host cordon [OPTIONS] <HOST>
Argument Description
<HOST>

Let machines land on it again.

Terminal window
anastroctl cluster host uncordon [OPTIONS] <HOST>
Argument Description
<HOST>

Cordon it and move its machines to other hosts.

Each keeps running until another host has room for it, then live-moves there, [machines.drain] parallel at a time. One that can’t live-move holds the drain; nothing is stopped without –allow-stop.

Terminal window
anastroctl cluster host drain [OPTIONS] <HOST>
Argument Description
<HOST>
Option Description
--graceful Move them gracefully (checkpointed, booted there) instead.
--allow-stop A machine that can’t live-move moves gracefully, and one with no room anywhere is stopped (it resumes on next use).
--no-wait Return once the moves are asked for, rather than once they’re done.
--timeout <TIMEOUT> How long to wait for the host to run no machines, in seconds. Default: 1800.

Remove a drained worker and revoke its enrollment. Control-plane membership stays.

Terminal window
anastroctl cluster host remove [OPTIONS] <HOST>
Argument Description
<HOST>
Option Description
--detach-stopped Detach stopped DWFS machines so they can resume elsewhere. Never discards local disks.

Permit a removed worker to enroll again using its signed configuration.

Terminal window
anastroctl cluster host admit [OPTIONS] <NODE>
Argument Description
<NODE>

Even out the hosts.

Live-moves machines, [machines.drain] parallel at a time per host, until no host’s load is more than one machine’s share above the mean.

Terminal window
anastroctl cluster host rebalance [OPTIONS]
Option Description
--no-wait Return once it’s asked for, rather than once it’s done.
--timeout <TIMEOUT> How long to wait for it to finish, in seconds. Default: 1800.

The workspace filesystem: GC, and reindexing after a restore.

Terminal window
anastroctl cluster fs [OPTIONS] <COMMAND>
Command Description
mount Mount a Portable snapshot, or take over the live branch with –write.
org Cryptographic destruction of an org’s workspace keys.
status Whether GC waits for a reindex after a restore, and its last pass.
reindex Rebuild the location index from the pack indexes in the workspaces store.
gc The last GC pass in full: what it tombstoned and deleted.

Mount a Portable snapshot, or take over the live branch with –write.

Terminal window
anastroctl cluster fs mount [OPTIONS] <MACHINE> <PATH>
Argument Description
<MACHINE>
<PATH>
Option Description
--snapshot <SNAPSHOT>
--write Stop the machine and take its live branch under an exclusive writer lease.
--confirm <CONFIRM> Must be exactly ‘take over <machine UUID>’.

Cryptographic destruction of an org’s workspace keys.

Terminal window
anastroctl cluster fs org [OPTIONS] <COMMAND>
Command Description
shred Destroy every workspace key in this org. Backup copies last until backup expiry.

Destroy every workspace key in this org. Backup copies last until backup expiry.

Terminal window
anastroctl cluster fs org shred [OPTIONS] --confirm <CONFIRM> <ID>
Argument Description
<ID>
Option Description
--confirm <CONFIRM> Must be exactly ‘shred <org UUID>’.

Whether GC waits for a reindex after a restore, and its last pass.

Terminal window
anastroctl cluster fs status [OPTIONS]

Rebuild the location index from the pack indexes in the workspaces store.

For objects written since <T> (after a restore to T). GC pauses and runs it first on its next pass.

Terminal window
anastroctl cluster fs reindex [OPTIONS] --since <SINCE>
Option Description
--since <SINCE> RFC 3339.

The last GC pass in full: what it tombstoned and deleted.

With –now, the schedd leader runs a pass now, and this waits for it; it fails if the pass reports errors.

Terminal window
anastroctl cluster fs gc [OPTIONS]
Option Description
--now Run a pass now rather than on [filesystem.gc] schedule.
--no-wait Return once the pass is asked for.
--timeout <TIMEOUT> How long to wait for the pass. Default: 10m.

The whole cluster’s audit log, newest first.

For cluster admins; org audit is one org’s.

Terminal window
anastroctl cluster audit [OPTIONS]
Option Description
--user <USER> Only what this user did (user:<id>, or a user name).
-p, --project <PROJECT> Only this project’s records.
--action <ACTION> An operation ID (create_project) or event type (org.member.added).
--acting-as <ACTING_AS> Only what was done on this user’s behalf, by their threads or through /mcp (user:<id>, a user ID, or a user name).
--decision <DECISION> Only allowed or only denied requests. One of allow, deny.
--since <SINCE> From this moment on (RFC 3339).
--until <UNTIL> Before this moment (RFC 3339).
--limit <LIMIT> Default: 50.

Nodes: their status, services and logs, and resetting one.

Terminal window
anastroctl node [OPTIONS] <COMMAND>
Command Description
list Registered control-plane nodes.
status Each node’s health, version and alerts.
services The services each node runs, and their state.
logs A service’s journal on one node.
restart Restart a service on one node.
reset Make a node forget its cluster and reboot into maintenance mode.
inspect What a node in maintenance mode reports: disks and interfaces, for its node file.

Operator options, accepted before or after the subcommand:

Option Description
-C, --dir <DIR> Config repo containing anastro.toml and nodes/. Default: .. Env: ANASTRO_CONFIG_DIR.
--operator-key <OPERATOR_KEY> Key that signs configs (default: operator.key next to the client file). Env: ANASTRO_OPERATOR_KEY.
--identity <IDENTITY> age identity that decrypts secrets.age (default: age.key next to the client file). Env: ANASTRO_AGE_IDENTITY.
--as-operator Reach nodes with the operator key instead of this device’s key. Nodes admit their config’s operator keys as admins on the node API, so this works before anyone has logged in, or with the cluster’s database down.

Registered control-plane nodes.

Terminal window
anastroctl node list [OPTIONS]

Each node’s health, version and alerts.

As its machined sees it (the node API, so with apid or Postgres down too): its services, and in HA mode its etcd member and Postgres replication, which is what an upgrade waits for. The API column is what its apid answers.

Terminal window
anastroctl node status [OPTIONS]
Option Description
-n, --node <NODES> Only these nodes (default: all in the context).

The services each node runs, and their state.

Terminal window
anastroctl node services [OPTIONS]
Option Description
-n, --node <NODES> Only these nodes (default: all in the context).

A service’s journal on one node.

Terminal window
anastroctl node logs [OPTIONS] --node <NODE> <SERVICE>
Argument Description
<SERVICE>
Option Description
-n, --node <NODE>
-f, --follow Keep printing new entries.
--lines <LINES> How many past entries to print first. Default: 100.

Restart a service on one node.

Terminal window
anastroctl node restart [OPTIONS] --node <NODE> <SERVICE>
Argument Description
<SERVICE> A service from anastroctl node services: apid, postgres, etcd, relay.
Option Description
-n, --node <NODE>

Make a node forget its cluster and reboot into maintenance mode.

It forgets its config, secrets, etcd and Postgres data and keeps its key, for cluster apply -n <node> --maintenance <ticket>. In HA mode it hands off the Postgres primary first, and rejoins like a replaced node.

Terminal window
anastroctl node reset [OPTIONS] --node <NODE>
Option Description
-n, --node <NODE>
--full Also forget its key and make /var again, with a new key sealed to the TPM: it comes back as a new machine would, as a new endpoint.
--force Reset it even if the other etcd members wouldn’t keep quorum without it, or its Postgres primary can’t be handed off.
--allow-stop Its machines are live-moved off it first; one that can’t moves gracefully, and one with no room anywhere is stopped.
--yes Yes, erase it.

What a node in maintenance mode reports: disks and interfaces, for its node file.

Terminal window
anastroctl node inspect [OPTIONS] <TICKET>
Argument Description
<TICKET> The ticket the node prints on its console.

Raw cluster API calls over iroh.

Terminal window
anastroctl api [OPTIONS] <COMMAND>
Command Description
get GET a path and print the response body.

GET a path and print the response body.

Terminal window
anastroctl api get [OPTIONS] <PATH>
Argument Description
<PATH>
Option Description
-n, --node <NODE> Node to ask (default: the first in the context).