Teams and access
Permissions in Anastro have two layers: an org owns people, projects, and integrations (model accounts, GitHub, 1Password, connectors), while a project owns threads and machines.
Every user gets a personal org automatically; only they belong to it. To collaborate, create a shared org (you become its owner):
anastroctl org create acmeanastroctl org list # your orgs and your role in eachanastroctl --org acme org member list # members of acmeUse the sidebar’s org menu to create or switch orgs, and Settings → General (under the org
name) to rename or manage membership. anastroctl selects an org from --org, ANASTRO_ORG, or
your client file. Owners can rename or delete an org (org rename,
org delete), and anyone can leave (org leave) as long as at least one owner remains.
| Org role | Can do |
|---|---|
owner |
Everything in the org, including promoting other owners |
admin |
Manage members, invites, service accounts, and projects; link model accounts, connectors, and 1Password |
member |
Create projects; work in projects they belong to |
viewer |
Read projects they belong to |
| Project role | Can do |
|---|---|
owner |
Manage project members and settings, add “always allow” rules, delete the project |
editor |
Start and steer threads, approve calls, roll back, fork, and use machines and terminals |
viewer |
Read threads, diffs, logs, and files (no steering, terminals, or approvals) |
Org owners and admins automatically have owner permissions on every project in the org.
Projects
Section titled “Projects”Any org member can create a project (New project in the sidebar) and becomes its owner:
anastroctl project create apianastroctl project member --project api add alice --role editoranastroctl project member --project api set-role alice vieweranastroctl project member --project api remove aliceProject members must already belong to the org; removing someone from the org removes them from all of its projects. In the UI, manage project members under the project menu → Project settings → Members.
Invite people
Section titled “Invite people”Org owners and admins create invites in Settings → Members → Invites or via CLI:
anastroctl org invite create alice@example.com --role member --project api --project-role editoranastroctl org invite listanastroctl org invite delete <id>Anastro doesn’t send email—copy the single-use invite link (valid for 7 days) and send it yourself.
When the recipient redeems it (anastroctl login --enroll <link>, or in the desktop/iPhone app),
their device signs in and joins the org (plus the project, as editor by default, if named). Only
owners can invite owners.
To add someone who already has a cluster account, run anastroctl org member add <user> --role member.
Devices and sensitive actions
Section titled “Devices and sensitive actions”People sign in per device with anastroctl login or an enrollment link
(Sign in this device), and manage their devices with
anastroctl account device list and anastroctl account device revoke <device>.
Sensitive actions—approving devices, creating invites, disabling users, linking model accounts, revealing secrets—always require a signed-in device key. API keys and MCP calls are refused.
Recover an account
Section titled “Recover an account”If someone loses all their devices, a cluster admin (org ownership alone isn’t enough) can issue a single-use 24-hour recovery link:
anastroctl org member recover <user>Opening the link in the Anastro app or running anastroctl login --enroll '<link>' signs in the new
device without revoking existing ones. A cluster admin who loses every device recovers using the
operator’s secrets bundle instead (A locked-out admin).
Disable a user
Section titled “Disable a user”Cluster admins can inspect everyone on the cluster, toggle accounts, and assign cluster roles in Ops → Users or from the CLI:
anastroctl users list # pass --disabled to filteranastroctl users disable aliceanastroctl users enable aliceanastroctl users set-role alice cluster:admin # or cluster:operator, cluster:viewer, noneDisabling a user preserves their history and memberships, but immediately cuts off all devices and
API keys, drops open connections, and pauses their running threads. Re-enabling brings their devices
back, not their old API keys or tokens (they must create new ones), and paused threads stay
paused until someone resumes them. You can’t disable yourself, and the cluster always requires at
least one enabled cluster:admin.
Service accounts
Section titled “Service accounts”A service account is a non-human member for CI or automation, scoped to either an org or a single project:
anastroctl org service-account create ci --project api --role editoranastroctl account key create --service-account ci --sa-project api --ttl 30d --name github-actionsanastroctl org service-account revoke-keys ci --project apianastroctl org service-account delete ci --project apiService accounts can’t mint their own keys—an org admin or owner creates API keys for them, and CI
passes the secret via ANASTRO_KEY (Keys for scripts and CI).
Agents act as you
Section titled “Agents act as you”Every thread acts as the person who started it (or took it over), and every machine acts as its thread’s person (or its owner if unattached). That determines which projects, git repositories, connectors, and secrets they can touch. Agents can never exceed that person’s role, approve their own calls, change membership, or link accounts.
If the acting user loses access to the project, the thread pauses and its credentials are fenced immediately. Restoring access doesn’t silently restart it—an authorized person has to resume it.
Audit log
Section titled “Audit log”Every mutating request and every denied request from a signed-in caller is logged. Org owners and admins can query their org’s log:
anastroctl org audit --since 2026-11-01T00:00:00Z --until 2026-11-08T00:00:00Zanastroctl org audit --user alice --action org.member.addedanastroctl org audit --acting-as alice --decision deny # denied agent actions for aliceanastroctl org audit --project api --limit 200Cluster admins can query the whole cluster with the same filters (including user.disabled,
user.enabled, and user.cluster_role_changed):
anastroctl cluster audit --action user.disabled # shorthand: `anastroctl audit`In the web UI, Ops → Audit exposes the same view and filters. Every record logs who acted and
whether an agent acted on their behalf (including via mcp for anastroctl mcp serve calls).
- Inference: link model accounts for your org.
- Full design: Users and authorization in the spec.