Skip to content
BitfaringPublic

About

Native macOS terminal for coding agents (Claude Code, Codex, Antigravity, Copilot CLI) with an iPhone remote over Tailscale

Topics

Resources

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

AgentTerm

A native Mac terminal for coding agents, with a built-in browser and MCP tools, and an iPhone remote.

CI Release License: MIT Platforms Discord

AgentTerm on macOS: an agent beside the page it opened in AgentTerm's browser and the shell it runs commands in

Run Claude Code, Codex, Antigravity and GitHub Copilot CLI on your Mac, each in a real terminal that keeps running when the window is closed. The shells and browser pages the agents use are tabs you can watch and take over, and your iPhone reaches the same sessions over Tailscale.

Features

  • Every agent, one click, in a project folder or a new Git worktree, with what each one is doing at a glance: working, asking, waiting for permission or done, and what its account has left.
  • Sessions that keep running with the app closed, plus schedules and handoff to another agent when one runs out of quota.
  • Built-in MCP server and Chromium browser: agents open shells and pages you can see, type in and take over.
  • Git, files and history beside the terminal: stage, commit, push, edit files, preview Markdown, resume a past conversation.
  • Inbox, notifications and a Live Activity on the Mac and the iPhone at once, end-to-end encrypted.
  • SSH hosts and a second Mac, one click each.
  • iPhone remote: pair with a QR code for the same sessions, folders, Git, files and browser, with a key bar made for prompts.

Sessions on iPhone Terminal on iPhone Git changes on iPhone The Mac's browser on iPhone

Install

Mac, with Homebrew:

brew tap bitfaring/tap
brew trust bitfaring/tap     # Homebrew 7 and later
brew install --cask agentterm

Update with brew upgrade --cask agentterm. Or download AgentTerm-<version>.dmg from Releases and drag it to Applications. The app is signed, notarized and built for Apple silicon.

iPhone: AgentTerm on the App Store.

You need macOS 14 or later, iOS 17 or later, at least one agent CLI on the Mac, and Tailscale on both devices, signed in to the same account.

Getting started

  1. Open AgentTerm on the Mac and add a project folder. An onboarding sets up the agents' hooks and MCP server, macOS permissions and pairing; every step can be skipped and done later in Settings.
  2. Start an agent with its button in the toolbar.
  3. Click Pair Device and scan the code with the iPhone app.

Compatibility

Use the Mac app and the iPhone app from the same row, and restart the host when the Mac app offers to.

Mac app iPhone app Protocol
0.15.1 0.15.1 45
0.15.0 0.15.0 40
0.14.x 0.14.x 39
0.13.x 0.13.x 36
0.12.x 0.12.x 32
0.11.x 0.11.x 31
0.10.x 0.10.x 28
0.8.x, 0.9.x 0.8.x, 0.9.x 22
0.7.x 0.7.x 15
0.6.x 0.6.x 7
0.4.x, 0.5.x 0.4.x, 0.5.x 6
0.2.x, 0.3.x 0.2.x, 0.3.x 5
0.1.x 0.1.x 4

Security and privacy

  • The host listens only on 127.0.0.1 and the Mac's Tailscale address. Each iPhone pairs with a one-time code and gets its own token, which the Mac can revoke.
  • Terminals, files and pages travel between your devices over Tailscale only. Push notifications go through a small relay, encrypted for your iPhone alone; the relay keeps nothing.
  • Account usage is read from each agent's sign-in and sent only to the service that issued it (agenttermd --no-account-usage turns it off).
  • Released apps can send crash reports and feature counts through Firebase, each behind a switch asked at first launch, never terminal content, prompts or file names. A build from source sends nothing and has no relay.

Details in SECURITY.md and the privacy policy.

Documentation

License

MIT. Third-party software is listed in THIRD_PARTY_NOTICES.md.

About

Native macOS terminal for coding agents (Claude Code, Codex, Antigravity, Copilot CLI) with an iPhone remote over Tailscale

Topics

Resources

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages