Docs menu

What Argus supports

Argus for Mac

The Argus desktop app: what it does, and moving to it from the old Electron app.

Argus for Mac is the Argus desktop app, a native SwiftUI app. It runs the same host core the Electron app did — sessions, worktrees, agents, terminals, simulators — so your projects and sessions carry over, and it reads and writes the same ~/.argus.

It replaced the Electron app in v0.72.0. The Electron app is no longer developed, and an existing install updates into Argus for Mac by itself (see Moving from the Electron app).

What it does

  • The three-panel window: projects and their sessions, live from the host. The sidebar searches sessions and narrows to one project, lists Home, Inbox, Agents, Devices, Runtimes and Automations under the search, and keeps Settings, Pull Requests, Usage and Notifications as icons along its foot. The toolbar shows where you are (Project / Session) and the side panel toggle.
  • A session's context card, top right of its Agent, Code and Git views. Its first row switches between them (Agent | Code | Git, ⌘1–⌘3); below that, its machine, opening it in your editor, its run command and huddle, its branch, pushing it, how much it has changed, and Recent Chats: a dialog that searches the session's past chats (imported ones too), opens, resumes, pins or deletes them, or clears them all. On a cross-project session the git rows repeat for each repository, primary first, under its name: each pushes, merges, opens its pull request and shows its changes on its own, from whichever repository's view the card is on. With three or more repositories, they scroll inside the card. The chevron folds the card down to its switcher, which then sits in the view's top bar; each view remembers its own choice. Agent starts with the card open, Code and Git with it folded, so their tab bars stay clear. While it's folded, the run command and huddle move to the toolbar.
  • Creating and deleting sessions, with setup progress.
  • Agents in a session as tabs, with their transcript: one centred column, each turn's tool calls folded into a "Worked for …" line that opens in place.
  • Opening a session shows its agents. With none running yet, it's the start composer, "What should we work on?": sending starts an agent there, in the permission mode its pill picks (plan mode included). A session that's still being set up shows each setup step, or why it failed. The View menu, the command palette and ⌘1–⌘3 switch views too; the Agent menu starts, switches and interrupts agents (see Keyboard shortcuts).
  • Home in the sidebar (⇧⌘H): the app's home screen.
  • Agents and Runtimes in the sidebar: every agent, and every run command's process, across all your sessions. Runtimes also shows the workspace_env values (ports and the like) Argus gave each process.
  • A side panel for each session (⌘J), closed until you open it: tabs for terminals, the device, the browser, the session's files, its diff and its pull request. Its + menu opens a tab (press B, T, F, D, P or M while it's open; kinds with nothing to show are dimmed), tabs drag to reorder, and the panel can fill the window. It never opens by itself; open tabs, the one in front and its size are remembered for each session. It docks on the right or along the bottom of the window (Settings → Appearance, View → Panel Position, or the dock button in its tab strip); at the bottom it spans the centre's width, the app sidebar staying full height. A phone in the Device tab letterboxes there, so the right suits portrait devices best.
  • Terminals as side panel tabs (⇧⌘T): several at once, the project's run commands in the context card (the toolbar when it's folded) opening their output in a tab, find (⌘F), and links that open on this Mac. A terminal you reopen replays what it printed so far.
  • Banners for agents that finish or need you, with Approve/Deny buttons on permission prompts.
  • The Device and Browser tabs (⌥⌘B for the device): each session's simulator, emulator or browser, live, to tap, type, scroll and rotate; Simulate, Inspect (the iOS UI inspector) and Logs modes; devices in their own floating windows. DevTools for the session's browser open in a window of their own. The device picker's Video Inputs section shows capture cards and cameras connected to this Mac, view-only. It is only offered for sessions on this Mac, never for another computer's, and the video never leaves the app: no host command or paired device can reach it. macOS asks for camera access the first time. With the macOS apps tool on, its macOS Apps section mirrors a window of an app on this Mac, takes clicks, scrolling and typing, and asks for Screen Recording and Accessibility in place; it stays on this Mac too.
  • The Devices screen: every simulator and emulator, with boot, shut down, a live grid, and each device's details with a live picture.
  • Git for each session (the Git tab), laid out as in Grove: the refs sidebar, a row of pills for the views with the rest under More, and each view in cards. The views come from Grove's own (GroveUIKit), so Argus and Grove look and work the same. It has the working copy with file, hunk and line staging, discard and commit (with amend); the history as a commit graph, with each commit's changes and actions (cherry-pick, revert, reset, reword, squash, drop, interactive rebase); branches, tags, remotes and worktrees; stashes, the reflog, blame, file history, comparing two refs, conflict resolution for merges, rebases and cherry-picks, branches review, submodules, bisect, hooks and git settings. Fetch, pull, push, new branch, stash and tag are in the toolbar, with undo for the last git action. Commit templates, gitmoji, saved identities, Git LFS tracking, creating and applying patches and an All Files list are in the working copy; when a git command fails, its banner offers the fix (pull then push, a lease-protected force push, publishing the branch, resolving conflicts, …). Diffs in the working copy and in Compare take review comments: hover a line and click its + (or right-click → Add Comment; with lines selected, the comment covers them all). The drafts sit under their lines until Send Review to Agent at the bottom posts them to the session's agent as one message, each with its file, lines and hunk. Review beside Commit asks a new agent to review the changes before you commit. The scope menu in the Files header (working copy and the side panel's Diff tab) switches the diff from the uncommitted changes to Last Turn, any earlier turn, or the Whole Branch. A turn is what one prompt changed, from the checkpoint taken before it to the tree when the agent went idle, so files a merge or a rebase pulled in between turns stay out of it. While the session has an open or draft pull request, Pull Request #N shows it as pushed: the pull request's own base branch to its head commit, which is what CI and reviewers see, however far the agent has moved since (the header says when it has). Comments there join the same review and go to the agent with the head commit they were written on, instead of being posted to GitHub. The Guide tab (a session's git panel, and a pull request's detail) has a read-only Claude write a tour of the changes: ordered stops pointing at the lines worth reading, Look closely flags for judgement calls, and the mechanical changes grouped at the end, every file in one stop. Comment on a stop's lines, or Ask about this stop; a session's comments go to its agent, a pull request's are posted as one review (comment, approve or request changes) on GitHub, or as line discussions, a note and an approval on GitLab. Guides are cached per head commit; a pull request's is written in a detached checkout under $ARGUS_HOME/review-guides.
  • Pull Requests at the foot of the sidebar: the pull requests that need you across your projects, each with its conversation, checks and changes, and opening a new one for a session's branch.

The app reads your repositories directly with Grove's git engine, so the git views stay current as agents change files and commit — no refresh needed. Merging a session into its base branch, pull requests and anything that follows your project's rules (protected branches, session branch names) still go through the host.

  • A first-run walkthrough (welcome, privacy, checking your Mac, a first project), a Home screen with cards that fix what's missing, and Add Project… (⌘O), which can write the project's .argus.json for you.
  • Settings (⌘,): a list of sections on the left and each section's settings in one centred column — appearance (colour scheme and colour theme as preview cards), Claude accounts, agents and automation defaults, LLM runners including custom ones, MCP servers, tools, git defaults and commit signing, the update channel, remote access — pairing a phone, its grants, push and the routes in — and your Argus account (see Other hosts).
  • Project Settings from a project's menu in the sidebar: every .argus.json field, plus your own branch prefix and worktree locations.
  • Automations, Quick Run, the Inbox and its proposals, and Notifications, the warnings and errors list.
  • Hosting a huddle from a session, with guest approval and side chat.
  • The command palette (⇧⌘P), its results grouped by kind with their shortcuts. Besides commands, screens and sessions it jumps straight to a chat (live or saved, a saved one resumes), a terminal or run, or a file open in the code view, in any session; the current session's come first, and with nothing typed each of those lists shows its few most recent.
  • Handoff of the session on screen to your phone.
  • Updates: the app checks hourly on the channel picked in Settings → Advanced, and Check for Updates in the Argus menu checks now. It asks before downloading and before restarting, and running agents keep going through the restart. Builds without an update key (local builds) don't check at all.

The menu bar

Argus for Mac puts an item in the menu bar, filled in while an agent is working. It's a companion to the window, not a second one:

  • Open Argus brings the window forward, reopening it if you closed it.
  • The host's state, with Restart Host if it stopped.
  • Agents that need you (a permission, a question, a plan), then the ones running. Picking one opens its session in the window.
  • Pair a device: the pairing window with the QR code, then the device's 6-digit code to compare and the access to grant, right in the menu. With remote access off it opens Settings → Remote instead.
  • Your Argus account: whether this Mac is on it and online, the managed tunnel, devices waiting to join (approve compares a 6-digit code in a small window), linking with a code, and Account Settings for the rest.
  • Check for Updates, Open at Login, Settings and Quit Argus.

A window attached to another app's host shows only its agents: pairing and the account belong to the app running the host.

Turn it off in Settings → General (Show in menu bar), or drag it off the menu bar with ⌘ held. It starts off when Argus Server is installed, which has its own menu bar item.

Keyboard shortcuts

Every shortcut is a menu item, so the menu bar lists them all and greys out the ones that don't apply where you are. They match the old Electron app's, except where macOS or the Mac app's own layout already uses the keys. Change any of them in Settings → Keyboard (how); the table lists the defaults.

ShortcutDoesMenu
⌘NNew sessionFile
⇧⌘OOpen a session or chat (quick switcher)File
⌘OAdd projectFile
⇧⌘PCommand palette (Pull in the git view and Diff tab)File
⌘⌫Delete sessionFile
⌘,SettingsArgus
⇧⌘A, ⌘TNew agent in the session on screenAgent
⌘.Interrupt the agent in frontAgent
⌘LFocus the chat inputAgent
⇧⌘] / ⇧⌘[Next / previous agentAgent
⌃⌘1 – ⌃⌘9The session's first to ninth agentAgent
⌘F, ⌘G, ⇧⌘GFind in the chat (or the focused terminal), next, previous—
⌘1 – ⌘3The session's Agent, Code and Git viewsView
⌘[ / ⌘]Back / forwardGo
⇧⌘HApp homeView
⌥⌘1 – ⌥⌘5Agents, Devices, Runtimes, Pull Requests, NotificationsView
⇧⌘IInboxView
⌘JShow or hide the side panel (per session)View
⇧⌘TOpen a terminal tab, or hide the panel when one's in frontView
⌥⌘BOpen the device tab, or hide the panel when it's in frontView
⌥⌘T, ⌘W, ⌃Tab / ⌃⇧TabNew, close and cycle window tabsView

Back and forward step through the window tab's history, as in Finder: every screen, session panel, agent, git view and code-view file you open is a step. The toolbar's chevrons and a mouse's side buttons do the same.

Where they differ from the old Electron app:

  • ⌘1–⌘3 switch the session's Agent, Code and Git views, as Xcode and Finder number theirs, so agents are on ⌃⌘1–⌃⌘9 and window tabs have no number keys.
  • ⌘T starts an agent (agents are the session's tabs) and ⌥⌘T opens a window tab, where Electron used ⌘T for window tabs.
  • ⌘J shows the side panel, where terminals live too, as VS Code's does its panel. ⌥⌘H isn't used: it's macOS's Hide Others, so there is no project-home shortcut. ⌘B is the code view's navigator, not the app sidebar.

The Git menu's keys work from anywhere in a session, or only in the git view and the Diff tab where another command wants the same key: the list.

The code view takes a few of these keys for its own, as VS Code and Xcode do, only while it's on screen: ⇧⌘O is Open Quickly there instead of Open Session, ⌘T goes to a symbol rather than starting an agent, ⌘L selects a line (there's no chat input to focus), and ⌘[ / ⌘] outdent and indent while the editor has focus. ⌘W closes the editor tab before the window tab.

In the code view

The code view (⌘3) uses VS Code's default macOS keys, listed in the Editor, Selection, Go and View menus. Editing keys work on every caret at once, and each change undoes in one step.

KeysAction
⌘POpen a file by name
⇧⌘OOpen Quickly: files and symbols together
⌘TGo to a symbol anywhere in the session
⇧⌘FFind in files
⌘F / ⌥⌘FFind / replace in the file
⌘G / ⇧⌘GNext / previous match
⌘S / ⌥⌘SSave / save all
⌘WClose the editor tab
⌘/Toggle line comment
⇧⌥AToggle block comment
⌥↑ / ⌥↓Move lines up / down
⇧⌥↑ / ⇧⌥↓Copy lines up / down
⇧⌘KDelete lines
⌘↩ / ⇧⌘↩Insert a line below / above
⌘] / ⌘[Indent / outdent (in the editor; Tab and ⇧Tab too)
⌘LSelect the line; again for the next one
⌘DAdd the next match to the selection
⇧⌘LSelect every match
⌥⌘↑ / ⌥⌘↓Add a cursor above / below
EscBack to one cursor
⇧⌘\Go to the matching bracket
⌃GGo to line (line or line:column)
F12 / ⇧F12Go to definition / find references
F2Rename symbol
⇧⌥FFormat document (the project's formatter first)
⌃SpaceShow completions
F8 / ⇧F8Next / previous problem
⇧⌘MShow or hide the problems list
⌘BShow or hide the navigator
⇧⌘E / ⌃⇧GNavigator: files / changes
⌥⌘→ / ⌥⌘←Next / previous editor tab
⌃- / ⌃⇧-Go back / forward
⌥ZToggle word wrap
⌃`Open a terminal tab, or hide the panel
⌥⌘LSend the selection to the session's agent

In ⌘P, a prefix changes what you're looking for, as in VS Code: @ lists the symbols in the open file (@: groups them by kind), # searches symbols across the session, and : goes to a line (:42, or :42:7 for a column). Symbols come from Argus's own index of definitions, so they work before any language server has started, and from the session's running language servers when there are some. Changed files rank first. ↑/↓ (or ⌃P/⌃N), Page Up/Down and Home/End move through the results while you keep typing; Return opens one.

Other hosts

Argus for Mac can drive other machines running Argus — another Mac, a headless Argus server, or argus-host — as well as its own:

  • Settings → Argus Account signs in with Apple, GitHub or an emailed code. The first sign-in on an empty account puts this Mac on it and links its own host straight away, with no code, so your phone sees it. The tab shows the account's safety code, every host on it as online or "Offline · last seen …", and Add a host: type the code another computer shows (argus-host login, or signing in to Argus there) and compare the 6-digit codes. Sign Out takes this Mac off the account.
  • If your account already has devices, this Mac asks to join: approve it from your iPhone or another computer after both show the same 6-digit code, and its own host joins with it. Link this Mac with a code still links just the host, from your phone.
  • If this Mac's host is already on your account (say, after signing back in), the tab picks it up as is. If it's on another account, or on yours from before a reset, This Mac says so and Move to This Account takes it off that one and adds it here.
  • Settings → General → This Mac → Name is one name for this Mac and its own host (it defaults to the system's computer name). Signing in and linking use it; changing it renames both on the account (once the account service is reachable, if you're offline), and renaming this Mac or its host from your phone updates it here and brings the other in line.
  • Signed in, the tab also lists the account's Devices (rename, remove) and anything Waiting to join. Renaming this Mac or its host there edits the same Name setting. While the window is open, a device asking to join is announced in the main window; Review compares the code and adds it.
  • Settings → Hosts lists the hosts on your account beside paired ones and attaches them with no pairing code, over the fastest route that works (moving to a faster one when the network changes); a host whose address changed is found again from the account. To pair without an account, paste the pairing code from that machine's Remote screen, compare the 6-digit code, and approve it there with Admin ticked. Paired hosts can be renamed, attached, detached, shown or forgotten.
  • Attached hosts' projects sit in the sidebar beside this Mac's, each marked with its machine and whether it's connected. The machines button at the top of the sidebar narrows it to one machine and shows that machine on the screens that aren't about one session (Home, Devices, Automations, Inbox, Settings).
  • Window tabs keep machines apart: Open in New Tab from the machines menu or a session's menu (⌥⌘T for a new tab, ⌃Tab to cycle). Each tab has its own back and forward, and the tabs come back when the app restarts.
  • Add Project and Browse for worktree locations pick a folder on the machine you're looking at, browsing that machine's disk.
  • Files dropped on a remote session's chat are sent to its machine first (up to 8 MB each).
  • Sessions, agents, terminals and the side panel's device and browser of a remote project run on its host; the connection is end-to-end encrypted. Links still open on this Mac; Reveal in Finder and Open in editor aren't available for files on another machine.
  • The git views work on a remote session too: git runs on its host, and the views refresh when the host reports a change.
  • If a host drops, its agents keep running there. Its projects stay in the sidebar marked offline, and the app reconnects and catches up on its own. The app remembers each host's last projects and sessions, so one that is down when the app starts still shows them, offline.
  • Two machines holding a repository at the same path show as two projects, each under its own machine.

The keys for paired hosts are kept in a file in the app's state folder that only your user can read. The account key is kept in the Keychain, on this Mac only.

Development builds use the system Sign in with Apple sheet. Released builds are signed with Developer ID, which Apple doesn't allow Sign in with Apple in, so they sign in with Apple in a browser sheet instead.

Running next to the Electron app

If you still have the Electron app, both apps run the Argus host on the same ~/.argus, and only one host may run at a time: two hosts on the same state would fight over the same worktrees and agents. Whichever starts first holds the lock (~/.argus/host.lock).

Open Argus for Mac while the Electron app is running and it opens as a second window on the Electron app's host instead of starting its own:

  • A link icon at the foot of the sidebar says it's Attached to Argus (Electron). Both windows show the same projects, sessions and agents, live. A message sent from either lands once, and a permission prompt answered in one disappears from the other.
  • What's on screen stays per window: the agent you have open, where you've scrolled, what you're typing.
  • Settings changed in one window show up in the other right away; if both change the same one, the last change wins. Attaching never copies Argus for Mac's own settings over the Electron app's.
  • The Electron app stays in charge of banners: you get one per event, not one per window. Links and files you open from Argus for Mac open from it.
  • Quitting Argus for Mac leaves the agents running. Quitting the Electron app stops them, and Argus for Mac says so; it reconnects by itself when the Electron app opens again, or Start Argus Here runs its own host instead.
  • To make Argus for Mac the one running the host, pick Quit Argus (Electron) and Take Over… from the link icon. It asks first, since quitting the Electron app stops its agents.

Open the Electron app while Argus for Mac is running and it offers to quit Argus for Mac and take over.

Your phone keeps working with either: the Mac app runs the same remote access gateway, with the same paired devices.

Moving from the Electron app

The Electron app offers Argus for Mac as its next update and installs it in place, the same way it installs any update, without a new download. It only does so after it has moved your paired devices and MCP sign-ins to the format both apps read (step 1 below); until then it keeps updating as the Electron app and tries the move again each time it opens. You can also download Argus for Mac from argus.houwert.dev and follow the same steps.

Everything the host keeps carries over by itself: projects, sessions and their worktrees, chat history, automations, each project's .argus.json, and your settings — appearance, display size, agent defaults, custom editors, git views, your telemetry choice — along with recent projects, the device each session last used and the Devices view.

  1. Update the Electron app to v0.71.0 or later and open it once. It moves your paired devices and MCP sign-ins to the keychain format both apps read, and copies the preferences it kept to itself into your Argus home. Nothing else changes for it; it keeps working as before. If the move can't finish (the keychain refuses, say), the Electron app leaves the files exactly as they were, keeps using them in the old format, and tries again the next time it opens.
  2. Let it update into Argus for Mac, or quit it and open Argus for Mac. Your phone stays paired, your MCP servers stay signed in, and the app opens with your settings.

You can switch back and forth: both apps read and write the same values, so a change in one shows up in the other the next time it opens.

If you open Argus for Mac before step 1, Home says that your paired devices or MCP sign-ins are still in the Electron app's format, and remote access won't start until they're moved: quit Argus for Mac, open the Electron app once, quit it, and open Argus for Mac again (Check Again on the card confirms it).

What doesn't carry over: window tabs and panel sizes, the Electron app's "don't ask again" choices, and the other computers you paired the Electron app with under Settings → Hosts — pair those again in Argus for Mac.

Encrypted files (remote-devices.json, mcp-tokens.json) are sealed with a key in your login keychain, the item "Argus Host Secret Storage" for your Argus home. Every Argus app reads it through macOS's security tool, which the item trusts, so neither app asks for your keychain password.

Under the hood

The app bundles its own Node runtime and the host (Argus.app/Contents/Resources/host/) and supervises it: it starts the host on launch, restarts it if it crashes, and stops it when you quit. The host's log is at ~/.argus/logs/host.log.

Agents outlive the app

Agents don't run inside the host. A small agent daemon, argus-agentd, starts them for it and holds on to them, so quitting, updating or a crash doesn't stop an agent in the middle of a turn. When Argus opens again its host takes every agent back: the chat picks up from its last save, whatever the agent wrote in the meantime is added once, and a permission prompt it asked while Argus was closed is waiting for you. The Mac, the phones and the web client all show the agent where it is, mid-turn or done.

  • Quitting with agents running asks: Keep Running (the default), Stop Agents or Cancel. Don't ask again makes the choice the When quitting with agents running setting (Settings → Agents), which can also be set to keep or stop them without asking. With no agent running, idle agents stop unless the setting says keep them.
  • An update restart and a crash always keep them. So does another app taking over the Argus home: the host that takes over picks them up.
  • While no host is up, an agent's call to an Argus MCP tool waits up to a minute for one to come back, then fails with a "try again" error; a call already in flight when the host went away fails. Once the host is back, the agent's MCP client opens a new session on its own.
  • Not yet covered: terminals still close with the host, and agents on Codex and the ACP runners are stopped when the host quits rather than kept; only Claude Code agents are taken back.
  • Push to the phones needs the host, so an agent that finishes while Argus is closed is announced when Argus opens again, not before.

The daemon lives next to the host in the bundle, listens on an owner-only socket (~/.argus/agentd.sock), keeps each agent's output under ~/.argus/agents/<id>/ until the host has read it, logs to ~/.argus/logs/agentd.log, and quits on its own once it has no agents and no host. A newer host talks to an older daemon; one too far apart is replaced once its agents are gone. Argus Server is its sibling: the same bundled host, supervised the same way, as a menu bar app on ~/.argus-server.

The app talks to its host over a Unix socket in ~/.argus that only your user can open, rather than over the network. Every host serves that socket — the Electron app's, Argus for Mac's, Argus Server's and argus-host — and names it in host.lock, which is how a second window finds one to attach to.

What the host asks of the windows on that socket:

RequestGoes to
Banners, raising the windowThe app running the host (the Electron app, or Argus for Mac when it runs its own); never a window attached to it
Opening a link or file, Reveal in FinderThe window whose click asked for it; when the host itself asks, the app running it
Closing a device's popoutEvery window, since each has its own popouts

The host counts any Argus window in front as you looking at Argus, so it skips the banner either way.

Building it

open clients/apple/ArgusRemote.xcodeproj   # scheme: ArgusDesktop

A build phase stages the Node host into the app (pnpm build:mac-host --out <dir>). Debug builds are called Argus Dev and never default to ~/.argus — they use ~/.argus-mac-dev unless ARGUS_HOME says otherwise — so a dev build can't collide with the app you use.

To develop against your real projects and agents, start a dev build with ARGUS_ATTACH_HOME=~/.argus. It then only ever attaches to the Argus already running on that home, as a second window: it never starts a host there, takes the lock, offers to take over, or copies its settings in. With nothing running it waits for one. Its own state (window tabs, paired hosts) stays in its own home. They are signed with your Apple Development identity: macOS refuses notifications to an ad-hoc signed app, and to one run from /tmp.

Debug builds stay out of the keychain, so the stream of agent-built dev apps never prompts for the account's items: they start signed out and keep the account in memory. Set ARGUS_KEYCHAIN=1 to restore and keep a dev build's sign-in like Release does.

Debug builds carry the Sign in with Apple entitlement through Xcode's automatic signing (your Mac has to be registered with the team). Release builds are signed with Developer ID and no profile: Apple doesn't support Sign in with Apple for Developer ID apps, so Release signs in with Apple on the web instead. Release signs with ArgusDesktop-Release.entitlements, which keeps the microphone and camera entitlements: without them the hardened runtime denies both without ever asking.

Telemetry needs a PostHog key at build time: POSTHOG_KEY in the environment xcodebuild runs in, or POSTHOG_KEY = … in a gitignored clients/apple/Config/Argus.local.xcconfig, which also covers builds started from Xcode. Without one the host logs that telemetry is off.