ArakunDocsDownloadarakun on GitHub

Know what they are doing

Phone remote

Follow your Arakun sessions from a phone, send prompts and answer the agent, over your local network, Tailscale or an encrypted relay you sign in to.

On this page
  1. How the phone reaches your computer
  2. Reach it through the relay
  3. Pair a phone on the network
  4. Phone apps
  5. Models, reasoning and plan limits
  6. When notices come
  7. Answer from a notice
  8. Work from the phone
  9. On a tablet or a computer
  10. Send prompts
  11. Shortcuts
  12. Subagents
  13. Pictures and formatting
  14. Charts and diagrams
  15. Artifacts
  16. Servers
  17. Run your own relay

Arakun serves a web page that lets a phone follow sessions, read them live, send prompts, stop a turn and answer the agent. The iOS and Android apps, in beta, do the same.

Turn on Phone in Settings › Tabs. It is already on if you chose to pair a phone in the first-run setup. Then pick how the phone reaches this computer in the Phone tab.

#How the phone reaches your computer

  • Over the local network. This is the default. You pair the phone with a code.
  • Over Tailscale. You pair the phone with a code.
  • Through an end-to-end encrypted relay. You sign in to your Arakun account on the computer and on the phone, with GitHub or with a code sent by email. There is no code to pair.

On the local network and over Tailscale, the page comes from the computer itself. It only opens while the computer is on and awake. The relay works from anywhere and says when the computer is offline; the Phone tab then offers Use Relay.

Every way is end-to-end encrypted between the phone and the computer. The computer signs each handshake with its own key, and the phone checks it is the key it was paired with. The pairing code, the device token, the sessions and the notification settings all go inside that channel. Plain HTTP only carries the page itself, so someone on the same Wi-Fi who listens reads nothing.

Someone who can change the traffic could still change the page. To guard against that, use Tailscale, where the page comes over HTTPS, or the relay.

#Reach it through the relay

The relay lets a device in only when it is signed in to the same account as the computer.

  1. Sign in on the computer

    Signing in to your account in the app turns on the Phone tab through the relay, so the phone lists the computer at once. It does not if you turned the Phone tab off before, or the phone already reaches the computer over the local network or Tailscale.

    With Relay chosen, the Phone tab says "Sign in to reach this computer from anywhere". Press Sign in. It is the same sign-in as the User row of the sidebar.

    The dialog offers two ways:

    • Continue with GitHub shows a code to approve on GitHub.
    • Email me a code sends a six-digit code to the address you type. Type it in the dialog. It works once, for 10 minutes.

    Either way makes an account if you have none. An account made by email is not the same as one made with GitHub, so sign in the same way on every device, or link both to one account in Settings › Account.

    Settings › Account lists how the account signs in: GitHub, an email address, or both. Add GitHub runs the same GitHub sign-in, and Add address mails a code to the address. A GitHub account or address that already signs in to another Arakun account is refused, so two accounts are never joined. Remove takes a method off the account, after you confirm, as long as another is left. Each change is mailed to the account's addresses.

  2. Open the page on the phone

    The Phone tab shows the address to open on the phone, https://app.arakun.dev, with its QR code.

  3. Sign in on the phone and pick the computer

    Sign in as the same account, with GitHub or with a code emailed to you, then pick the computer. With only one computer, the page opens it straight away.

The first time a device connects, a notice names it and says it connected for the first time.

The hosted relay's free plan allows 10 computers per account. Each computer takes up to 5 phones at once and 100,000 frames a day (UTC).

Signed in, the Phone tab lists:

  • Signed-in devices: every device signed in to the account, with its kind and when it was last used. Sign out signs one out.
  • Your computers: the account's computers that run the app, online or when last seen. Remove takes one off the account, after a question that names it. A computer still signed in comes back the next time it connects.

On the phone, each computer in the list has Remove, and the page's Settings lists the account's signed-in devices with Sign out. The account button at the top right opens Settings. With several computers, push notifications on the page come only from the computer you opened last.

#Pair a phone on the network

Over the local network or Tailscale, press Pair a phone. Scan the code with the phone's camera. Or open the page on the phone and type the code, or send it the link.

The code or link works once. Each phone gets a key of its own, which you can revoke under Paired phones. That list shows only the phones paired with a code.

#Phone apps

The iOS and Android apps reach your computers the same way, only by signing in to your account. Press Sign in with GitHub, or type your address and press Email me a code, then type the six-digit code from the mail. They have no link or code for the relay.

The apps are in beta. To ask for an invite, in the Phone tab, signed in:

  1. Type the email for the invite

    Under Phone app beta, type your Apple ID for iOS or your Google account for Android. It starts as your GitHub email.

  2. Join the beta

    Press Join the iOS beta or Join the Android beta. Testers are added by hand, so the row says you signed up until the TestFlight or Google Play invite is on its way, then that you are in. Change email fixes the address while you wait.

The apps tell you when a turn finishes, when the agent needs a permission or an answer, and when something goes wrong. The notice says what happened: the agent's last message, the command waiting for permission, or the question. Once you are signed in and have a computer, the list offers to turn notifications on. Turn on does what the switch in Settings does, and Not now hides the offer for good. Pick which of the three you get in Settings, from the account button at the top right. The Android app gets notices from every computer it has opened while they are on.

When you open a session, the page and the apps show a loader until the computer sends it. If the computer no longer has the session, or sends nothing for 15 seconds, they say "This session is gone" with a way back.

In the iOS and Android apps, the count of changed files on top of a session opens the files it changed, turn by turn. Tap a file for its diff, read-only, as on the page.

The iOS and Android apps show the same private card when an agent asks for a secret.

#Models, reasoning and plan limits

  • New session: pick the agent, model and reasoning. The apps offer what the computer says that agent has there.
  • Running session: change its model and reasoning with the slider button over it in the iOS app, or the settings button in its top bar on Android. The pick applies from the next message on. The session also shows how full its context is and its tokens.
  • Plan limits, from the account button: how much of each plan window is used and when it resets, as the computer reads it. The screen reads them again every minute while it is open.

On the page, the Plan limits screen has a card for each provider the computer has: Claude, Droid, the accounts behind CLIProxyAPI, OpenCode Go and Devin.

#When notices come

A computer, or a server, sends a phone a notice only when you are away from it: by default, after 2 minutes without using it. A permission request or a question waits until you leave, and goes only if the agent still waits. A turn shorter than 30 seconds sends no notice.

Change both under Only when I'm away for and Turns shorter than this stay quiet in Settings, which the account button at the top right of the list opens on the page and in the iOS and Android apps.

The bell in a session mutes that session's notices on the phone.

#Answer from a notice

A notice for a permission request or a short question can be answered where it shows, without opening the session:

  • iOS app: a button per permission option, a button per choice of a short question, or a Reply field for a question without choices. Allowing asks you to unlock the phone first. Denying and answering do not.
  • Android app: Allow or Deny, a button per choice (up to three), or an Answer field. On Android 12 and later, allowing and answering unlock the phone first.
  • The page: where the browser shows buttons on a notice (Chrome and Edge do, Safari on iOS does not), a permission request has Allow and Deny, and one single-choice question with up to three short choices has a button per choice.

The notice then says the answer went, or that the request was already answered. When the computer can't be reached, the notice says so: open the session, or on iOS press the button again. A secret file read, a password and several questions at once still open the app. On the page, so do a plan, a permission that can only be allowed always, and a question where you pick several choices or type an answer.

#Work from the phone

The page and the iOS and Android apps open on one list of the computer's sessions: what needs you first, then the rest by project, with search above it.

  • The computer's name is the title. With more than one computer on the account, tap it to switch.
  • The account button at the top right opens a sheet with the account, the computers, Plan limits, Settings and Reconnect.
  • The + at the bottom right starts a session. It is off while no computer is connected.
  • A session opens over the list, and Back returns to the list where you left it.

The page follows the device's high contrast setting and text size. To allow a permission from a keyboard, hold Enter or Space, or press it twice within 3 seconds. The menu key or Shift+F10 opens the + menu, or on a message you sent, the menu that keeps it as a shortcut.

#On a tablet or a computer

On a wider screen, the page keeps the open screen in a pane and puts a column beside it:

  • Tablet (768 px or more): a rail with the tabs, +, a tile per live session and the computer.
  • Desktop browser (1,200 px or more): a sidebar that lists your sessions by state.

The page is dark, and light when the device is set to a light appearance.

#Send prompts

While the agent works, a prompt you send waits for the turn to end, listed over the box. Take back puts one back in the box. With something written, Stop becomes Stop and send. Stop pauses what waits, and Resume lets it go. The iOS and Android apps do the same.

On the page, when a prompt for a server's session never reaches the server, its bubble dims and says why. Retry sends it again, with its photos. Take back puts the text and photos back in the box, after what you wrote there.

You can attach photos when you start a new session, as with any prompt. A computer on an older version starts the session without them. In the iOS and Android apps, the photo button in the composer and the new-session form opens the photo picker or the camera. On Android, the photos are scaled down and sent as JPEG, and a send that does not go out keeps them in the composer.

On the page, the box completes as the desktop's does. / as the first word lists the session's commands, and @ in any word the files of its project. When a project has more files than fit, the list says some are missing. The iOS and Android apps don't complete commands and files yet.

When an agent asks for a login, token or password, the page shows the same private card as the app. What you type goes only over the relay, Tailscale or https. Over plain http, the card offers only Decline.

#Shortcuts

The page keeps shortcuts, phrases you send often, as a row of buttons over the box.

  • A shortcut that sends right away shows while the agent waits for you. The others show while you write, and fill the box.
  • {number} in a shortcut is a blank you type each time, on the number keyboard.
  • Hold a message you sent to keep it as a shortcut, or tap + in the row.

Shortcuts stay in that phone's browser.

#Subagents

On the page, a subagent the agent started shows as a card with its name, task, state, run time and latest step. Tap it to read the subagent's transcript, read-only. Back returns to the session. A line over the box says how many subagents run on in the background.

#Pictures and formatting

The iOS and Android apps show the photos in your prompts and the images in the agent's replies. The page also shows the images a tool returned, such as a browser screenshot, under its row. Tap one to open it full screen. Code blocks, lists, headings, quotes and tables in a reply are formatted.

#Charts and diagrams

Charts and diagrams in a reply (```chart and ```mermaid blocks) are drawn on the phone as they are in the app. Code shows the block's text, and Open shows the drawing full screen.

#Artifacts

When an agent wrote a page of artifacts/, its row in the session has Open artifact on the page and in the iOS and Android apps. The page opens full screen, as one file with its scripts, styles and pictures written in. A page that fetches data while it runs shows without that data. In the iOS and Android apps, its links open in the browser. See Artifacts.

On the page's Computers screen, and under the computers in the iOS and Android apps, Shared artifacts lists each artifact you shared by link, with when you shared it and its size:

  • Open opens the shared page.
  • Send link opens the share sheet. Where there is none, Copy link copies it.
  • Stop sharing asks first, then ends the link for everyone.

The list hides while you have shared nothing.

#Servers

A phone connected to the app also sees and works in the sessions of your servers.

#Run your own relay

The relay defaults to the hosted one at app.arakun.dev. The relay can't hand your computer's address to anyone else: it comes from a key only your computer has.

You can run your own: it is a Cloudflare Worker in the cloud/ folder of the repository. Point relay_base in phone.json at it, and set ARAKUN_TEAMS_URL to the same server. Arakun sends your session only to the server that issued it, so when the two differ the relay stays signed out and the Phone tab names both addresses.

Did this page help?

Tell us about a mistake on this page, or ask for help with Arakun.