Alternate Futures
CLI (acc)

Command reference

Use acc <command> --help to see detailed help for any command. This page is auto-generated from the CLI source (v1.1.0).

Global options

  • --debug · enable debug output
  • --local · use local dev services (separate credential slot)
  • -V, --version · print CLI version
  • -h, --help · help for any command

Account

acc login

Log in (opens browser)

OptionDescription
-e, --emailLogin via email verification (no browser required)
--auth-url <url>Override auth service URL

acc logout

Log out of the CLI

acc whoami

Show your identity and active project

OptionDescription
--jsonMachine-readable JSON output (for agents/CI).

Compute

acc projects

Manage your projects

acc projects list

List all projects

acc projects create

Create a new project

OptionDescription
--name <string>Project name

acc projects update [id]

Rename a project

acc projects switch [id]

Switch to a different project

acc projects delete [id]

Delete a project and all its services

acc services

Manage services in a project

OptionDescription
-p, --project <id-or-name>Use a specific project

acc services list

List all services in the project

acc services info [id]

Show details for a service

acc services create

Create a new service (from a template, Docker image, or empty server)

OptionDescription
--kind <kind>Service kind: template | docker | server | function | github
--name <name>Service name (skips the name prompt; must be unique in the project)
--template <id>Template id (for --kind template — skips the catalog browse)
--image <ref>Docker image (for --kind docker — e.g. nginx:latest)
--port <n>Container port (for --kind docker)
--os <base>Base OS image (for --kind server — e.g. ubuntu:24.04)
--confidentialDeploy on a TEE: verifiable confidential compute.
--region <region>Curated region: us-east | us-west | eu | asia.
--cpu <cores>Override CPU (vCPUs).
--memory <size>Override memory (e.g. 4Gi).
--storage <size>Override storage (e.g. 20Gi).
--gpuAttach a GPU.
--no-gpuSkip GPU.
--gpu-model <model>GPU model.
--gpu-count <n>Number of GPUs.
--spend <mode>Spend control: payg | budget | stop.
--budget-total <usd>Budget cap (lifetime, USD).
--budget-monthly <usd>Budget cap (per month, USD).
--stop-hours <n>Auto-stop after N hours.
--stop-days <n>Auto-stop after N days.
--env <pair>Set required env var as KEY=VALUE. Repeatable.
--ssh-key <pubkey>Break-glass OpenSSH public key (--kind server). Baked into the box so you keep direct SSH if the platform channel dies.
--ssh-key-file <path>Read the break-glass public key from a file (e.g. ~/.ssh/id_ed25519.pub).
-y, --yesSkip confirmation prompts.

acc services deploy [id]

Deploy (or redeploy) a service

OptionDescription
--region <region>Curated region: us-east | us-west | eu | asia. Omit for "Any (cheapest globally)".
--confidentialDeploy on a TEE: verifiable confidential compute.
--cpu <cores>Override CPU (vCPUs).
--memory <size>Override memory (e.g. 4Gi).
--storage <size>Override storage (e.g. 20Gi).
--gpuAttach a GPU. Use --gpu-model and --gpu-count to specify.
--no-gpuSkip GPU even if the template defaults to one.
--gpu-model <model>GPU model (H100, H200, A100, RTX4090, ...).
--gpu-count <n>Number of GPUs.
--spend <mode>Spend control: payg | budget | stop.
--budget-total <usd>Budget cap (lifetime, USD).
--budget-monthly <usd>Budget cap (per month, USD).
--stop-hours <n>Auto-stop after N hours.
--stop-days <n>Auto-stop after N days.
--env <pair>Set required env var as KEY=VALUE. Repeatable.
--ssh-key <pubkey>Break-glass OpenSSH public key (raw servers only). Ignored for container and confidential deploys.
--ssh-key-file <path>Read the break-glass public key from a file (e.g. ~/.ssh/id_ed25519.pub).
-y, --yesSkip confirmation prompts.

acc services logs [id]

Fetch logs for a service

OptionDescription
--tail <n>Number of log lines (default: 50)

acc services close [id]

Close the active deployment on a service

acc services delete [id]

Delete a service (closes deployment first if running)

acc services env

Manage service environment variables

acc services list [service]

List env vars for a service

acc services set <service> <key> <value>

Set an env var (creates or updates)

acc services unset <service> <key>

Delete an env var

OptionDescription
-y, --yesSkip confirmation prompt

Link two services (target connection info exposed to source)

OptionDescription
--alias <name>Alias used as env key prefix (e.g. DB)

Remove a service link

OptionDescription
-y, --yesSkip confirmation prompt

acc deployments

List and view deployments

OptionDescription
--project <name-or-id>Filter by project
--service <name-or-id>Filter by service
--status <status>Filter by status (active, failed, closed)
--allInclude closed and old deployments
-l, --limit <n>Max deployments to show (default: 50)

acc deployments list

List all deployments

OptionDescription
--project <name-or-id>Filter by project
--service <name-or-id>Filter by service
--status <status>Filter by status
--allInclude closed and old deployments
-l, --limit <n>Max deployments to show (default: 50)

acc regions

List regions with availability and pricing

OptionDescription
--provider <name>Filter by provider: akash | phala (default: akash)
--gpu <model>Surface median price for a specific GPU model (e.g. h100, h200, a100, rtx4090)

acc templates

Browse available service templates

acc templates list

List available deployment templates

OptionDescription
-c, --category <category>Filter by category (AI_ML, WEB_SERVER, GAME_SERVER, DATABASE, DEVTOOLS, CUSTOM)

acc templates info <templateId>

Show detailed template information

acc ssh <serviceId>

Open a shell in a deployment

OptionDescription
--service <name>SDL service name (for multi-service deployments)
--command <cmd>Command to execute (default: /bin/bash)

acc cp <source> <dest>

Copy a file to/from a deployment. Mark the remote side as <serviceId>:<path>.

OptionDescription
--service <name>SDL service name (for multi-service deployments)

acc attest <serviceId>

Fetch the TEE attestation report for a confidential deployment

OptionDescription
--jsonMachine-readable JSON output (for agents/CI).
--verifyVerify the quote client-side against Intel roots (@phala/dcap-qvl; collateral from Intel PCS) and check the MRCONFIGID V1 compose_hash.

Chat

acc chat

End-to-end encrypted chat

acc chat join [target]

Open an interactive encrypted chat session

acc chat send [target]

Send one message to a room, then exit (no TTY required)

OptionDescription
--message <text>Message text (or pipe it on stdin)
--reply-to <pubkey:seq>Thread this as a reply to a message (copy the <pubkey>:<seq> from acc chat read --json)
--jsonMachine-readable JSON output (for agents/CI)

acc chat read [target]

Read room history; --watch to stream live (no TTY required)

OptionDescription
--watchStay connected and stream new messages + presence
--jsonJSON snapshot; with --watch, NDJSON one event per line

acc chat agent [target]

Participate as an agent: driver mode (you answer) or --exec bot mode

OptionDescription
--bridgeBRIDGE mode: stay connected (one persistent presence) and relay via files — addressed messages → inbox, lines you append to outbox → sent. Best for a live LLM agent.
--inbox <file>BRIDGE inbox file (default ~/.af-chat/<room>.in.jsonl)
--outbox <file>BRIDGE outbox file (default ~/.af-chat/<room>.out)
--exec <command>BOT mode: a command that reads the message (stdin JSON + AF_MSG_* env) and prints the reply, for a headless bot.
--mention <words>Comma-separated trigger words; reply only when a message contains one (default: your display name)
--allReply to every message, not just when mentioned
--context <n>Recent messages of context passed to the brain (default 10)
--timeout <ms>Max time for the brain to produce a reply (default 60000)
--cooldown <ms>Minimum gap between replies — throttles runaway loops (default 0)

Billing

acc billing

Manage billing and subscriptions

acc billing balance

Show current credit balance

acc billing topup

Add prepaid credits with a crypto stablecoin transfer

OptionDescription
--cryptoPay with crypto (required — card payments are web-only)
--amount <usd>Amount in USD, e.g. 25
--chain <chain>Network: base | ethereum | arbitrum | optimism | polygon (default: base)
--token <token>Stablecoin: USDC | USDT | DAI (default: USDC)
--refund-address <address>Address you control that receives the Relay refund if the sent amount does not exactly match the quote (prompted if omitted)
--org <idOrSlug>Organization to credit (default: first org)
--no-waitPrint the deposit address and exit without polling

acc pat

acc pat list

acc pat create

acc pat delete

Environment variables

VariablePurpose
AF_TOKENPersonal access token (overrides stored login, for CI/agents)
AF_PROJECT_IDProject to operate on (for CI/agents)
AF_ORG_IDOrganization override
AF_API_URLOverride cloud API base URL
AF_AUTH_API_URLOverride auth service URL

On this page