Experimental

loft in your pocket.

A native iOS app for the loft running on your Mac. It's a remote control: closing the app or losing signal never stops an agent. It's in beta on TestFlight. It needs loft running on your Mac, and Tailscale on your iPhone to reach it.

  • Every agent's status, and a chat with each of them
  • Approve or deny permission requests in one tap
  • Hand off and track issues, and see what needs you
  • Push notifications when an agent is waiting on you
  • Talk to your agents, and hear the replies read aloud
Set up the iOS app

Build it, sign it, get pinged.

Rather not? Join the beta on TestFlight and skip to connecting it. Building takes about half an hour the first time. You need a Mac with Xcode, an iPhone on iOS 17 or later, and loft already installed.

  1. 01

    Get an Apple developer account

    Any Apple ID can sign the app for your own phone. Push notifications and TestFlight need a paid membership.

    Free Apple IDRuns on your own iPhone
    Reinstall every 7 days · no push · no TestFlight
    Apple Developer ProgramPush notifications · TestFlight · builds last a year
    US$99 a year
    1. For the paid plan, enroll at developer.apple.com/programs. Approval can take a day or two.
    2. In Xcode, open Settings → Accounts, press + and sign in with that Apple ID.
    3. Find your Team ID, 10 characters like ABCDE12345: on developer.apple.com/account under Membership details. With a free Apple ID, it's the team Xcode shows in Signing & Capabilities once you pick your Personal Team.
  2. 02

    Set up Xcode with your team and app id

    Your team and bundle id stay out of the repo, in a local file that git ignores. The bundle id has to be unique on Apple's side, so use a reverse domain of your own.

    $ cd ~/loft/ios $ cp Config/Local.xcconfig.example Config/Local.xcconfig

    Then edit ios/Config/Local.xcconfig:

    LOFT_TEAM_ID = ABCDE12345 // your Team ID from step 1 LOFT_BUNDLE_ID = com.yourname.loft // your app id
    1. Open ios/Loft.xcodeproj in Xcode (16 or newer). Signing is automatic, so Xcode registers the app id and makes the profiles for you.
    2. Plug in your iPhone, choose it as the run destination and press Run.
    3. The first time, turn on Settings → Privacy & Security → Developer Mode on the phone. With a free Apple ID, also trust yourself under Settings → General → VPN & Device Management.

    Free Apple ID: personal teams can't sign push, so remove Push Notifications and Time Sensitive Notifications under Signing & Capabilities before you build.

  3. 03

    Let the phone reach loft

    The app talks to loft on your Mac. The easiest way is Tailscale, which keeps it private to your own devices. Turn on HTTPS certificates in the Tailscale admin console, then on the Mac:

    $ tailscale serve --bg 7420 $ tailscale serve status # shows https://your-mac.your-tailnet.ts.net

    Install Tailscale on the iPhone and sign in to the same tailnet. Open loft, enter the https://….ts.net address, tap Test connection, then Save and connect. Don't use tailscale funnel, which makes loft public.

  4. 04

    Turn on push notifications

    With the TestFlight app, sign in once and loft pushes through the Loft relay at portal.get-loft.com. No Apple key or paid membership needed. Pushes carry names and titles only, never message text or tool input.

    1. In loft on the Mac, open Settings → Push notifications and press Sign in. The portal opens in your browser.
    2. Sign in with Apple, then press Allow. loft collects its relay key by itself; the key never passes through the browser.
    3. On the phone, allow notifications when the app asks, then press Send test push next to your phone in Settings.

    The portal keeps only Apple's user id and hashed keys. Push text passes through the relay on its way to Apple and is never stored. On the portal you can revoke a key, or delete your account and every key with it.

    Built the app yourself? The relay only serves the official app, so your build sends pushes straight to Apple with its own key. Needs the paid membership.

    1. On developer.apple.com → Identifiers, open your app id (com.yourname.loft), tick Push Notifications and save.
    2. Under Keys, press +, name it “loft push”, tick Apple Push Notifications service (APNs), then register.
    3. Download AuthKey_XXXXXXXXXX.p8. Apple lets you download it only once, so keep a copy in your password manager.
    4. In loft on the Mac, open Settings → Push notifications, choose the .p8 file (the key id is read from its name), enter your Team ID and save. The phone tells loft its bundle id when it signs up for pushes.
    5. Run the app on the phone again, allow notifications when it asks, then press Send test push next to your phone in Settings.

    The key is stored outside the repo with owner-only access and is never shown to agents. Builds run from Xcode use Apple's sandbox, and TestFlight builds use production. The same key works for both.

    Running your own relay? Follow the deploy runbook. It needs an Apple Services ID with your domain and the exact https://<host>/auth/callback return URL, and PORTAL_URL set with https://. Then enter that address in Settings → Push notifications → Relay address.

  5. 05

    Optional: install with TestFlight

    Skip the cable and the weekly reinstall. Create the app in App Store Connect (Apps → + → New App, with your bundle id), then from the repo:

    $ ./testflight.sh # tests, archive, upload $ ./testflight.sh --fast # skip the tests

    When the build finishes processing, add yourself under TestFlight → Internal Testing. Stick to internal testers: Apple's review for external testers can't reach a loft on your tailnet.

The app is experimental: expect rough edges. Details are in ios/README.md and docs/push.md.