iOS app¶
What it is¶
The Repowire iOS app is a native client for your mesh. It connects through the relay and sends as you, the human, through the daemon's POST /conversation with surface: ios, so agents treat what you send as direct user instructions. A daemon older than that route gets the send on /ask instead. It is also a surface of the human inbox, named ios: messages to the human reach your phone as notifications, and reading or replying in the app marks them on every surface.
The app has three tabs, Inbox | Conversation | Agents, and opens on Conversation:
- Inbox lists open asks first (answer, approve, deny, or close a plain ask with Got it), then replies and notes from agents, with read state shared with Telegram and the dashboard. Its badge counts only what needs you. Settings opens from the gear.
- Conversation is the daemon's conversation projection (
GET /conversation, see the HTTP API). It starts on Every agent, where what you send goes to your orchestrator; the title opens the picker to talk to one agent instead. Above the thread, N need you (or All clear) brings the open asks into view, and Direct | Chatter | All sets how much of the mesh's activity shows (pinch works too); All adds filters by type. The orchestrator is the peer withrole: orchestrator; if more than one runs, pick yours in Settings, and the app remembers it bypeer_id. A daemon without the projection shows Needs a laptop update. - Agents lists peers by circle (one circle shows as All agents; a circle named by a tmux session number reads Session 1), the orchestrator pinned on top, the rest by activity: working, then waiting for input, online, busy, offline, the most recently seen first. Each row shows the agent's monogram with its state on the corner and one line of what it is doing (Needs you: and the question, when it has one for you). Each opens its conversation. Jobs and Settings are in its toolbar: Jobs shows running jobs, the newest failures (folded to one line when none is from the past week), and recent jobs a page at a time; tap a job for its details. It uses the daemon's job groups and pages (
GET /jobs?view=summary&group=…, see HTTP API); against a daemon that does not page yet it loads the summary list once and groups it the same way.
With more than one machine on a relay that names your home machine (see rfcs/machines.md; on a relay without the machine registry the app shows one machine, whatever host a row names), Agents lists every online machine's agents from one read of your home machine (GET /peers?machines=all, as the web does), each row naming its machine and showing names, labels and addresses as home gives them; a machine that is online but can't be read keeps its last rows and the banner says so, and with home unreachable the app reads each online machine directly, and the i sheet shows the machine, whether it is home, and its Repowire version. A circle that never leaves its machine (a tmux session number such as 1; the daemon says so with circle_shared) is marked local only, and shows once per machine (Session 1 on build-box). New agent (the + in Agents) starts an agent: pick a machine that allows spawning, then one of its runtimes (and a profile, if it has any), a folder it allows, and a circle (prefilled with the machine's default_circle, its orchestrator's circle or the one most of its agents share; empty means you name one; a daemon too old to name one picks the circle itself when you leave the field empty, and no circle is sent; on a relay that names no home, the new agent starts where the relay sends requests, and a machine too old to report what it can do is offered too, its own spawn config deciding); that machine's own POST /spawn does it, through the relay with X-Repowire-Machine. Reads for an agent on another machine (its thread, its terminal) go to that machine the same way, and while its thread is open the app follows that machine's event stream for its chat, which home's stream does not carry. Home files that agent's questions and answers under a remote: id, beside which the daemon names the machine and agent (remote, from_remote, to_remote); the app matches on those, so they show in its thread like any other agent's, and sends, replies and forwards to that agent go to the address the daemon gives for it (peer_id@machine), never the remote: id; with no address from the daemon, the app says it can't send there rather than guess (Can't send to @name@machine: its machine didn't say where. Update Repowire there.), and Forward shows such an agent with that sentence and does not offer it; if another machine's agents can't be read, the banner says Could not read the agents on X just now; they show as last read. and they stay as last read until that machine is offline; and what you send it goes through your home machine as peer_id@machine. Forwarding an open question you hold to an agent on another machine sends it a copy, and the question stays yours (Copy sent to @name@machine; still yours to answer); the other outcomes read Handed to @x; you'll get a copy of the answer and Forwarded to @x, as on the web. For an agent on another machine, Nudge and Share link are not offered, since they act on that machine; the web does the same. A daemon reached directly, not through the relay, refuses a request for another machine, and the app says to open it through the relay. Without the header the relay uses your home machine; if home is offline, the banner says so, as the web and the CLI do (Your home machine, studio, is offline (last seen 5 min. ago). Your inbox and messages wait there until it is back.), the sentence alone. An agent on another machine with no recorded name shows as an agent on
Agents go by the friendly name the daemon gives them (label), the same on the web, Telegram and Slack: the coordinating agent is Orchestrator, others drop their runtime suffix and hyphens (repowire-3-claude-code reads Repowire 3), and an agent on another machine reads Bob on desk. A name two agents would share is not used for either. With an older daemon the app shows the display name, and an agent with no name reads an agent. The i sheet shows the address agents and the CLI use (@repowire-3-claude-code).
Forward on a message's long-press menu passes it to another agent, as an email forward does: pick the agent (your orchestrator first) and add a note if you like. An open ask you hold is handed on, and you get a copy of its answer (Handed to …); anything else goes as a new message that quotes it (Forwarded to …). To an agent on another machine it always goes as a quoted message, and an open ask stays yours to answer. Forward shows only on a daemon that says it supports it (capabilities.forward on GET /conversations).
A conversation works like Messages. Message and turn bodies render GitHub-flavoured markdown, as the web does: headings (sized for a bubble), bold, italic, strikethrough, inline code, code blocks, lists and task lists, quotes, rules and tables (which scroll sideways). Images show as links and are never loaded, raw HTML shows as its source, and only http, https and mailto links open. List rows stay one plain line. In the Conversation tab a message shows its full text (daemon v0.22.0 sends it); a message longer than the daemon sends, or one from an older daemon that sends only a short excerpt, offers Show all, which loads the rest in place. Messages from you (the app, Telegram, Slack or the dashboard) show as yours, in blue; the agent's replies show in grey, and messages from other agents show with their sender. Each agent reply folds the work before it under one line, Worked for N min, that opens to show the steps and the tools used. Memory the daemon recalls for an agent, and the agent runtime's own turns (compaction summaries, task notifications), stay out of the thread. With a daemon that reports who wrote each turn (provenance, see the HTTP API), the app takes the sender from the daemon's record and marks a sender it could not confirm as unverified; with an older daemon it reads the delivery envelope itself. Replies and notes the agent sent you appear in the thread. Under an open ask you sent, the thread says where it stands, from the daemon's own record: Sent, then Delivered (in the agent's session or queue). A dot breathes where the reply will appear only while the agent's turn is running with the ask delivered; it holds still under Reduce Motion. If the agent is idle and has not answered, the thread says Not answered yet with how long, and Nudge reminds the agent (at most once every 10 minutes). You can message an offline agent: the daemon holds the message and delivers it when the agent is back, and the composer and the thread say Waits until the agent is back. An answered ask shows nothing. An offline agent's title says when it was last seen. Time shows between bursts of messages, not under each one. The thread follows new messages while you are at the newest one, and stops when you scroll up. Swipe down on the thread or tap outside the message field to put the keyboard away. In the Inbox, tap outside a question's reply field or drag the list; the Reply sheet works the same way. Send and + keep the keyboard up. Everything you send goes as an ask (it expects a reply), as an email does. The + attaches photos (each sent as a JPEG, at most 2048 px) or files from Files, several at once, each up to the daemon's 10 MB limit and up to 10 in one message. You can also paste several images, or drop photos and files on the message field or the thread (from Photos or Files, or another app beside Repowire on iPad). They show as thumbnails above the text, each with its own remove button, and go in one message. The i button shows where the agent runs. The terminal button shows the agent's tmux pane, read-only: its visible screen in its own grid and colours, pinch to zoom, following the bottom. It is live while the daemon can stream the pane; otherwise it is a snapshot refreshed when the agent does something and on pull, marked with its age. An agent without a pane, or one whose pane the daemon cannot prove is its own, says why. If the daemon on your computer is older than the terminal view, it says to update Repowire there. An agent's question is its message like any other, at the time it asked, marked Needs you (a raised hand for an approval), with its quick answers as chips under it. What you type in the composer answers the agent's newest open question while a Replying to chip shows above it; dismiss the chip to send a new message instead. A settled question stays in place with the same label in the thread and the Inbox: Answered, Withdrawn by its sender (daemons with #732), Expired (no answer before it timed out, or its asker left the mesh), Lost (the daemon no longer holds it, for example closed while it was down), or Closed (any other close); a note its sender closed reads Resolved by them. Open questions come from the daemon's inbox alone, so the Conversation pill, the Inbox, the thread, the Agents list and the tab badge always agree. An answered question stays in place, marked Answered, and your answer shows once, as your own message with a hint back to it (from any surface on daemons that keep reply_text), without the daemon's [ack #…] frame. A draft is kept per agent. Changing the agent you are writing to restores that agent’s saved text; returning to an agent restores your edits, including after reopening the app. Whenever you are scrolled up from the newest message, a small chevron above the composer jumps back to it, with a dot if new ones arrived; at the newest message it hides. While one of the agent's questions for you is out of view, a Needs you chip beside it brings that question back and outlines it. The chips sit in their own row above the composer, never over a message. In the Agents list, an agent with an open question for you says Needs you with the question. Your message rises out of the composer as it sends and new messages fade in (neither under Reduce Motion); haptics mark only what you do (send, answer, nudge, an error), never what arrives. Long-press a message to lift it and copy it, select its text, reply (a sheet shows a one-line preview of that message, as the web's chip, and a composer, and your reply under it once sent; in the thread the reply carries a one-line hint that brings the message back into view; the reply sends just your words, linked by in_reply_to (a reply to one of the agent's own turns, which the daemon has no item for, quotes the turn instead), and a reply to an agent's open question, or to its note about one, answers that question on daemons with #734), share its text, or see the original text. Share link makes a repowire share link to the agent's conversation, the same read-only link as repowire share, shows how long it works (30 days by default) and offers to revoke it; the agent's i sheet has it too; an open question's menu also carries its answers. The Inbox has the same menu; Reply there opens the agent's conversation with the reply under way. Tapping a notification opens its conversation, or the inbox for an open ask.
The app rides through a short drop in the connection, such as a relay restart. It reconnects on its own and the open thread catches up, without repeating or losing messages; only a drop longer than about five seconds shows a quiet Reconnecting… line. Coming back to the app after a while reconnects and refreshes the same way. A message you send appears at once marked Sending…, and is retried for about 15 seconds while the relay or the daemon is away; only a request that never reached the daemon is retried, so nothing arrives twice. If it still cannot get through, it says Not sent with Try again.
The app requires iOS 26.
Install¶
The app is not on the App Store yet. Build it onto your iPhone from Xcode: see Install on your iPhone.
Setup¶
-
Enable the relay on the machine running your agents:
-
Copy
relay.api_keyfrom~/.repowire/config.yaml. - In the app, enter the relay host (
relay.repowire.iofor the hosted relay) and paste the key. The app checks the key against the relay before saving it to the Keychain.
To receive notifications, open Settings (the gear in Inbox or Agents) → Turn on notifications. The app asks for permission there, not at launch. Once permitted, it re-registers its device token on every launch, which keeps the relay's record of whose phone it is current.
Notifications¶
Every item stored in the human inbox is pushed to each registered install, while the relay is connected:
| Item | Notification | Actions with preview: true |
|---|---|---|
| Tool permission request | @peer needs approval |
Allow, Deny |
| Ask or question | @peer asks |
Reply |
| Reply to an ask you sent | @peer replied |
Opens the app |
| Notify | @peer |
Opens the app |
By default a notification is content-free: it names the sender and the kind of item, and nothing an agent wrote leaves the mesh for Apple or your lock screen. Tapping it opens the app, which reads the item through the relay. You approve or answer from the app, where you can see what you are approving. To put up to 240 characters of the text in the notification and get the lock-screen actions above, set:
Broadcasts reach the phone only with human.broadcast: true and human.surfaces.ios.broadcast: true. Each push's outcome is on the message's trace (surface_pushed or surface_failed, surface: ios).
Push requires the relay to be configured for APNs; see Relay. If it is not, each push records surface_failed and the app still works in the foreground.
Crash reports¶
If the app crashes, iOS hands its MetricKit crash report to the app on the next launch. Once connected, the app sends it to the orchestrator as a notification beginning [crash report], with the build, the exception and the signal, and Apple's JSON attached (saved under ~/.repowire/attachments/). Symbolicate the call stack with that build's dSYM. A report that cannot be sent stays on the phone until the next connect. No third-party SDK is involved.
Disconnecting¶
Settings → Disconnect removes the key from the device. The daemon and agents keep running. The device's push token stays registered until APNs reports it invalid, which removes it automatically. To remove it sooner:
curl -s http://127.0.0.1:8377/push/devices
curl -s -X DELETE http://127.0.0.1:8377/push/devices/<token>
Related¶
Observed command activity¶
An agent's thread can show Observed command rows from authenticated retained runtime observations, including tool-only activity before final prose. Expand a row to read the provided command/output previews, recorded exit and truncation notices. These are read-only source facts, not execution controls. Lifecycle and outcome are separate: ended does not necessarily mean succeeded; declined stays declined and conflicting observations make the outcome unknown.
Coverage is partial and freshness is last observed, even while connected. No
typed rows means unknown/legacy-only, not no commands. The first supported source
profile is Codex command activity codex-command-0.172.0-v1; other runtimes and
versions retain existing summaries. Transcript tools remain separate because
coverage does not prove equivalent calls. Preview bounds do not guarantee secret
removal. Nothing is executed, downloaded, forwarded or automatically copied.
The device keeps a bounded snapshot, not another durable history store. A real thread focus/reopen reconciles the retained read; continuously visible previews are not a promise of immediate server-expiry enforcement. Account/auth changes clear private activity. Native child relationships, approvals, artifacts and mesh delegation are separate capabilities.
Search an agent's history¶
Open an agent's conversation, then About → Search history. Search is scoped to that canonical agent on its owning machine. Submit a query to see up to 20 matches; open one to read its full returned text and references. Back retains that query and its results. This read-only view does not send, resume a session, change the composer or mark messages read.
Recent context is shown only when the captured source item and payload match. An older or changed result remains readable with a context-unavailable note. Availability warnings distinguish missing local history from no matches; offline machines and missing peers are errors. Removed peers, all archived sessions and global mesh search are not covered. Queries/results stay in view memory and are not indexed, persisted or logged. Long text is normally user-scrollable.
Supported MCP and dynamic-tool observations can appear in the same inline group. These rows provide server/namespace and tool labels plus source-reported lifecycle facts, not tool controls. MCP completion alone leaves the outcome unknown; dynamic success is explicitly labelled as reported by the tool. Inconsistent source facts remain uncertain independently of conflicting retained records. Expand to read the full bounded labels and any shortened-label notice. Arguments, result text and error text were not captured; omission is not an empty result. Availability still depends on the authenticated daemon's supported source profile and capture configuration. Unsupported kinds preserve the existing thread and do not establish that no tools ran.