OPEN SOURCE · MACOS
A terminal for
working with agents
A native macOS terminal for Claude Code, Codex and other agents. See which one needs you, review what it changed, and answer it from your iPhone or iPad.
Works with Claude Code, Codex and any agent that runs in a terminal.
~/Code/api-server fix-auth-redirect $ npm run dev
> [email protected] dev
> node --watch src/server.ts
Server listening on http://localhost:3000
GET /login 302 4ms
GET /auth/callback 200 31ms
↻ Restarting: src/auth/redirect.ts changed
GET /login 200 3ms
GET /dashboard 200 18ms
@@ -12,8 +12,14 @@ export async function guard
const session = await getSession(req)
− if (!session) return redirect("/login")
+ if (!session && !isCallback(req)) {
+ const next = encodeURIComponent(req.url)
+ return redirect("/login?next=" + next)
+ }
const user = await loadUser(session)
Goal
Login loops after the SSO callback on staging.
☑ Reproduce with a fresh session
☐ Don't touch the legacy /v1 routes
☐ Check the Safari cookie case
Markdown · ⌘↩ checks a to-do · archived when the tab closes
$ tail -f logs/auth.log
12:40:02 session.created user=ada
12:40:02 redirect /login → /auth/callback
12:40:03 redirect /auth/callback → /login
12:40:03 warn: redirect loop detected (3 hops)
> tighten the pricing page copy
⏺ Update(src/pages/pricing.tsx)
⎿ Updated src/pages/pricing.tsx with 12 additions and 19 removals
⏺ Done. Each plan now leads with who it's for, and the FAQ is shorter.
>
> clean up the old migrations
• Edited db/schema.ts (+118 −23)
• Removed 14 migrations already in the schema
◦ Running npm install ✻
01 · Workspaces and tabs
One workspace per project
Each workspace has its own tabs, and each tab can be split into panes with ⌘D and ⌘⇧D. Drag tabs and panes to rearrange them, group workspaces by client, and drop a folder on the sidebar to add it.
⏺ Update(src/auth/redirect.ts)
⎿ 42 additions, 8 removals
⏺ Bash(npm test)
⎿ 38 passed
Server listening on :3000
GET /login 302
$ git status
02 · Session restore
Picks up after a restart
Sessions run in a background server, so quitting Nems leaves them running. After the Mac restarts, every workspace, tab, note and the recent output of each pane come back. Agents resume their conversations, and Nems asks which other commands to start again.
Commands with sudo, deploys, pushes or deletions start unchecked.
Welcome back. Restart what was running?
Restart checked commands automatically next time
03 · Autocomplete
Your history, as you type
The last matching command from this project appears as dim text after the cursor. → or Tab takes all of it, ⌥→ one word. ⌃R searches everything you've run. Suggestions only show at a shell prompt, never inside an agent or a full-screen program.
$ git log --oneline -3
a41c9e2 Fix redirect after SSO callback
7d02b11 Add session guard tests
~/Code/api-server $ npm run dev -- --port 3001
→ accept⌥→ one word⌃R search
04 · Themes
Light, dark, and every Ghostty theme
Light and dark mode each have their own terminal theme, so Nems switches with macOS at sunset. Ghostty's community themes are included, you can import Ghostty and iTerm2 themes or make your own, and a workspace can have a theme of its own.
Also: font, ligatures, cursor shape, window opacity and blur. ⌘+ and ⌘− resize text per pane.
~/api $ npm test
✓ 38 passed
~/api $
Nems Dark
~/api $ npm test
✓ 38 passed
~/api $
Nems Light
~/api $ npm test
✓ 38 passed
~/api $
Catppuccin Mocha
~/api $ npm test
✓ 38 passed
~/api $
Dracula
~/api $ npm test
✓ 38 passed
~/api $
Nord
~/api $ npm test
✓ 38 passed
~/api $
Rose Pine Dawn
~/api $ npm test
✓ 38 passed
~/api $
Gruvbox Dark
~/api $ npm test
✓ 38 passed
~/api $
TokyoNight
05 · Built-in browser
The page next to the code
Open a WebKit pane beside a terminal with ⌥⌘B, or click the localhost chip that appears when a dev server starts. Agents can use it too, through nems browser: open pages, click, type, take screenshots and read the console. Take control at any time; the agent waits until you hand it back.
$ npm run dev
▲ Next.js 15
- Local: http://localhost:3000
✓ Ready in 1.2s
GET /login 200
✻Driven by Claude Code
06 · Native
A Mac app, not a web page
Nems is written in Swift for macOS. The terminal is drawn on the GPU by libghostty, the engine behind Ghostty. It follows light and dark mode, uses macOS notifications, and puts a meerkat in the menu bar that shows what your agents are doing.
Agents
07 · Notes
Keep the context next to the work
Keep the goal, findings and a checklist next to the work. Notes are Markdown: type [ ] for a to-do and ⌘↩ to check it, and paste or drop screenshots. Open them with ⌘⇧N. When you close the tab, its note moves to the archive.
Goal
Login loops after the SSO callback on staging.
☑ Reproduce with a fresh session
☐ Don't touch the legacy /v1 routes
☐ Check the Safari cookie case
Markdown · ⌘↩ checks a to-do · archived when the tab closes
08 · Code changes
See what changed, then commit
The Code button in the tab bar counts the lines changed since the last commit. Open it for the changed files, a unified or side-by-side diff with syntax highlighting, and staging, commit and push, without leaving the terminal.
@@ -12,8 +12,14 @@ export async function guard
const session = await getSession(req)
− if (!session) return redirect("/login")
+ if (!session && !isCallback(req)) {
+ const next = encodeURIComponent(req.url)
+ return redirect("/login?next=" + next)
+ }
const user = await loadUser(session)
And so much more
Agents panel
Every agent in every workspace, working, done or waiting for you, in one column of the sidebar.
“Needs you” alerts
A notification that names the agent and what it asks, and a count on its workspace.
Approval inbox
Every pending request in one list. Approve, deny, or turn an answer into a rule.
Agents run agents
Agents can open panes, start helper agents and read their status with the nems command.
Status for any tool
Any agent or script can report working, done or needs-you with one escape sequence (OSC 7501).
Keep awake
The Mac stays awake while agents work, even with the lid closed, and lets go when they finish.
Search everything
⌘⇧F finds any command, output or note across every workspace and session.
Broadcast input
Type once and send it to every pane in a tab, then turn it off with ⌥⌘I.
Sandboxing
Agents only reach what you allow
Turn on the sandbox for a pane, and its shell and everything started in it can only reach the project folder and the network hosts you allow. It uses the sandbox built into macOS. When something is blocked, a banner says what it was, and one click allows it.
• Edited db/schema.ts (+118 −23)
◦ Running npm install
Nems for iPhone and iPad
AFK?
Pair your phone with the Mac app to see your agents and answer them when you're away from the desk.
- See every agent's status and get a notification when one needs you or finishes.
- Approve, deny and reply to agents, with Face ID.
- The full terminal: every pane, its tab note and its code changes.
- Live Activities on the lock screen, and several Macs on one account.
End-to-end encrypted relay, or a direct connection when the phone and Mac share a network.
Monday 16 November
9:41
NEMSnow
api-server needs you
Claude Code wants to run rm -rf .cache/auth
Pricing
The Mac app is free and open source. The iPhone and iPad app is a subscription.
Personal
Nems on your Mac.
$6.99 a month
$69.90 a year
- 1 Mac
- The iPhone and iPad app, on all your devices
- Notifications, approvals and replies
- The full terminal, notes and code changes
- End-to-end encrypted relay
Plus
Nems on up to 3 Macs.
$9.99 a month
$99.90 a year
- Up to 3 Macs
- Everything in Personal
Ultimate
Nems on up to 10 Macs.
$19.99 a month
$199.90 a year
- Up to 10 Macs
- Everything in Plus
The Mac app needs no plan. Plans count the Macs your phone connects to; trials start in the Mac app when you pair your phone, and plans are bought here, never in the app.
Questions
Which agents work with Nems?
Claude Code, Codex and any agent that runs in a terminal. Agents and scripts can also report their status to Nems with one escape sequence.
Is the Mac app really free?
Yes. It's open source, with every desktop feature. A plan is only for answering agents and using the terminal from your iPhone or iPad.
How do the plans count Macs?
Each plan covers a number of Macs that your iPhone and iPad can connect to: one with Personal, up to 3 with Plus and up to 10 with Ultimate. Phones and iPads are never counted.
Can the relay read my terminal?
No. Traffic between your Mac and phone is end-to-end encrypted, and on the same network the two connect directly.
What happens when my Mac restarts?
Workspaces, tabs and panes come back as you left them, and Nems asks which long-running commands to start again.