Skip to content

Desktop and iPhone apps

Anastro’s native apps wrap the web UI for macOS, Linux, Windows, and iPhone, connecting directly to your cluster over iroh using an enrolled device key—no public HTTPS endpoint needed. There are no prebuilt downloads yet; build them from source.

From a checkout with the development tools:

Terminal window
just desktop # launch against your active CLI context
just desktop web # run with a local web UI build against that cluster
just desktop-bundle # package the app with tauri-cli

Packaging requires cargo install tauri-cli, plus GTK and WebKit libraries on Linux (the Nix flake’s desktop package builds Linux directly). macOS signing and notarization env vars are documented in desktop/.env.example; Windows packaging runs from a Windows machine.

The desktop app shares anastroctl’s client file and device key—if you’re already signed in via the CLI, just pick your cluster. Otherwise, open an enrollment link (invite, recovery, or device sign-in link): the app handles anastro://enroll, registers its own device key, and saves the cluster.

  • Built-in MCP server: point local MCP clients at the desktop binary with mcp serve (From the desktop app).
  • OAuth sign-ins: linking GitHub or an OAuth connector opens a native sign-in sheet on macOS and iPhone (reusing your existing browser sessions), or your system browser with an anastro:// return link on Windows and Linux.
  • Notifications and tray: enable native notifications in Settings → Notifications to jump straight to threads that finish, fail, or need input. The tray icon shows connection status and waiting threads.

Build and install the iOS app with Xcode, tauri-cli, and your own Apple Developer signing setup (the bundle embeds the UI, so no dev server is needed after installation):

Terminal window
just ios # run in the iOS Simulator
just ios build # build the bundled app
  1. On a signed-in computer, open Settings → Devices → Connect a device, or run:

    Terminal window
    anastroctl account device connect-phone --name "My iPhone"
  2. On the iPhone welcome screen, scan the QR code or open the pairing link.

  3. The phone generates its own device key in the iOS Keychain and finishes enrollment.

Pairing links expire after 10 minutes and can only enroll that device key—treat them like a sign-in credential. Browser pairing requires a configured relay, and the phone must be able to reach either that relay or a node directly. Revoke a phone anytime in Settings → Devices or with anastroctl account device revoke <device>.

Your cluster can push notifications to your iPhone—even when the app is closed—whenever a thread needs approval, asks a question, finishes, fails, or hits a usage limit. Tapping a notification opens that thread, and the app badge shows how many threads are waiting on you. (Nothing fires while the app is in the foreground.)

The app prompts for notification permission once connected. To check or test later, open Settings → Notifications → This phone (or run anastroctl account device test-push):

  • Turn on notifications re-prompts if you haven’t chosen yet.
  • Open iOS Settings appears if notifications are disabled for Anastro.
  • Send a test notification pings your phones and shows Apple’s response.

Cluster setup: configure [push.apns] with your Apple Developer team ID, key ID, app bundle ID, and store the .p8 key via anastroctl cluster bundle set push/apns_key < AuthKey_XXXX.p8. The iOS app must be signed with that same team and bundle ID.

On iPhone, the sidebar becomes a slide-out drawer and the right panel opens as a full-width sheet, with touch-friendly controls for thread menus, approvals, and model selection. Returning from another app reconnects in place without losing your view; if iOS reclaims the web process, the app reloads and re-authenticates automatically.