needs-you

One inbox for “you have to do something.”

Your agents, servers and CI jobs post when they need you. A small pill on your Mac shows it, with a button to where you act. When it's handled, it goes away.

For anyone running AI coding agents (Claude Code, Codex, Gemini CLI and more), servers or CI who would rather not watch terminals. The Mac app has its own hub built in: no server, no account, no cloud.

Get started Read the quickstart

Free and open source (Apache-2.0). macOS 14 or later; senders run on any Mac or Linux machine with Python 3.9+.

How it works: app · hub · senders

  1. Senders post alerts. Install them anywhere you run AI agents or jobs: the one-file needs-you command, plus hooks for Claude Code and other agents, an MCP server, CI steps, and pollers for GitHub, Linear, Jira and expiry dates. One invite link sets a machine up. If no hub answers, the alert waits in a local outbox and goes out later.
  2. A hub stores them. A small SQLite database behind a tiny web server, one Python file. The Mac app has one built in, on by default, so there's nothing else to install. Optionally, run a hub on an always-on server too, or instead.
  3. The app shows them. The Needs You app on your Mac is the pill: it floats over everything and never takes focus, and each alert stays until it's handled. The sender clears it, or you click Done.
PartRuns onYou need it?
The Needs You appYour MacYes: it's what shows your alerts
Built-in hubInside the app, on your MacOn by default; enough for most people
Server hubA Linux server you run, always onOptional, so alerts land while your Mac sleeps
SendersAny machine where agents or jobs run, your Mac includedYes, one per machine that should alert you

The names, and the three ways to place the hub: App, hubs and senders. Under the hood has the details and the measured numbers.

How agents use it

An agent posts only when it's blocked on you, with a link to where you act: the PR, the ticket, or the session's folder in your editor. Here, an agent on devbox asks before it runs a migration:

needs-you add --key "claude-code:devbox:acme-api" --priority urgent \
  --title "Claude needs permission: acme-api" \
  --link "VS Code=vscode://vscode-remote/ssh-remote+devbox/home/dev/acme-api"
The pill springs out with the card. Its button names the link and, fainter, where it really goes (vscode here, the site for a web link), so a label can't pass for somewhere else. One click opens it and marks the card done; a click anywhere else opens the panel at the card.

Hooks for Claude Code and the other agents post these cards for you, and clear them once you answer. Each agent card gets one button back to where the session runs, named for it: its Orca terminal, tmux pane, iTerm2 tab or editor window (which button). Agents posting on their own follow the agent guide: post when blocked, one key per thing, resolve it when it's handled.

What it looks like

The open panel on the Work tab. At the top, usage meters: Claude on devbox at 86% of its session (amber) and 41% weekly, Codex on build-box at 23% and 58%. Urgent: Approve the prod deploy of api v2.14, from build-box, with Approve, Canary dashboard and Slack thread links. Normal: Claude is waiting for you on acme-web, with a three-step checklist whose first step is ticked; and CI failed on main for acme-web, with copy chips for the failing test and file and a link to the run. Each card has Done, Dismiss and Snooze.
Click the pill for the cards, most urgent first, each with its links, steps, and Done, Dismiss and Snooze.
  • The idle pill: a faint capsule with a green dot reading Nothing needs you, with usage bars under it.

    Nothing waiting. A faint pill at the top of the screen. Drag it to any corner. The bars under it are your agents' session and weekly usage limits; draw them as bars, rings or numbers, or turn them off (usage meters).

  • The count pill with a red ring: 4 work items, and 1 personal shown faintly, with session and weekly usage bars under the count. The same pill split by context: W 4, P 1, with its usage bars.

    Something waiting. A count, ringed in the top priority's colour: red is urgent, amber normal, slate low. It can split work and personal.

  • Something new. The pill springs out to show it, with a button for its first link, then settles back. The demo plays it.

Make it yours under Settings → Appearance: a theme and accent colour on see-through glass or a solid background, the pill's shape (rounded, square or capsule), size and what it shows, roomy or compact cards, how loudly a new item arrives, and the usage meters (Mac app guide).

Works with

Supported

The pollers for Linear, Jira, GitHub and expiry dates run on one always-on machine; in the app, Settings → Integrations → Cards from your tools gives each one's commands and an agent prompt that sets it up (how).

Anything that can run a shell command can post too: CI, cron, scripts. See Add a sender. For any other agent or tool with hooks, webhooks or a notification command, build a custom connector: the guide has the exact item format, which fields are required, and tested examples.

Most of these haven't been used with a real model yet. If you use one, help us test it.

Install

Three steps. For alerts from this Mac alone you need nothing else; other machines reach the Mac over Tailscale.

Download the app

Download for Mac

The latest release has NeedsYou-<version>.dmg (open it, drag the app to Applications) and the same app as a .zip. macOS 14 or later.

Open it the first time

The app is ad-hoc signed, not notarized, so macOS blocks the first launch. On macOS 15 and later: double-click it, then System Settings → Privacy & Security → Open Anyway. On macOS 14: Right-click the app → Open → Open. If macOS asks whether python3 may accept incoming connections, choose Allow: that's the built-in hub.

Connect a machine

A faint pill appears at the top right, and the app's built-in hub is running. Each machine that should alert you (Claude Code on this Mac, a server, a CI runner) joins with an invite: right-click the pill → Settings… → Connect a machine → Create invite. On a new install, the pill's Connect your first agent or machine card gets you there too.

Settings, Connect a machine page: a New invite form asking what the machine is (a server or agent that sends alerts, another Mac that shows the same alerts, or another Mac that can also connect machines), its name, uses and expiry, and a Create invite button.
One invite link sets up a server, an agent or another Mac.

The invite gives you the real commands to copy, with your hub's address and code in them. Paste the Agent prompt into the machine's agent, or run the Shell one-liner there. Either way the machine gets the needs-you command and posts a test card. The one-liner looks like this (the Claude Code options are optional):

curl -fsSL <join_url>/install.sh | bash -s -- --yes \
  --claude-hooks user --skill --alerts

Or let an agent do all three

Paste this into Claude Code (or Codex, Gemini CLI, any agent that runs shell commands) on your Mac, and later on each server. It installs the app, connects the agents it finds and posts a test card. It asks you at every choice, and never sees your tokens. What it does.

Set up needs-you for me on this machine. needs-you is a small inbox for "a person has to do something": agents and jobs post an alert when they're blocked on me, and the Needs You app on my Mac shows it. Guide: https://needsyou.app/guides/setup-with-an-agent.html. Source: https://github.com/tayharris/needs-you.

Rules for you, the whole way through:
- Where a step says ASK, stop, ask me, and wait. Never answer for me or pick a default I didn't choose.
- Look before you change anything, and only read: no installing system-wide, no sudo, no logging in to anything, no editing any agent's config yourself. The needs-you installer makes the config changes.
- Never print, paste or save a token or an invite code. Only the installer writes them (to ~/.config/needs-you/env). Don't repeat my invite link back to me. Never open credential files (auth.json, .credentials.json, hosts.yml, anything in the Keychain).

1. Look around (read-only), then show me a short list:
   - The OS: uname -s, and sw_vers -productVersion on a Mac.
   - needs-you already here? If ~/.local/bin/needs-you exists, run ~/.local/bin/needs-you doctor.
   - On a Mac, Needs You: /Applications/NeedsYou.app or ~/Applications/NeedsYou.app (or mdfind "kMDItemCFBundleIdentifier == 'app.needsyou.mac'"), its version (CFBundleShortVersionString in Contents/Info.plist), and whether it's running (pgrep -f NeedsYou.app/Contents/MacOS/NeedsYou). The latest release: curl -fsSIL -o /dev/null -w '%{url_effective}' https://github.com/tayharris/needs-you/releases/latest
   - Tailscale: tailscale status --json (on a Mac the command may be /Applications/Tailscale.app/Contents/MacOS/Tailscale). Report only BackendState, Self.DNSName and how many peers.
   - Agents and tools: which of these are on PATH, or have their folder: claude (~/.claude), codex (~/.codex), gemini (~/.gemini), opencode (~/.config/opencode), copilot (~/.copilot), kimi (~/.kimi-code), grok (~/.grok), cursor or cursor-agent (~/.cursor), cline (~/Documents/Cline), aider (~/.aider.conf.yml), orca, gh. For accounts, run only status commands that print no secrets (gh auth status, codex login status); otherwise say only whether the folder exists.

2. Explain, in a few sentences and these words: the app runs on my Mac and shows alerts in a small pill at the top of the screen. A hub stores the alerts; the app has one built in, so there's nothing else to run. Senders are the machines and agents that post alerts with the needs-you command; they join with an invite link from the app. A server hub is optional: the same hub, always on, on a Linux server, so alerts land while the Mac sleeps. Tailscale is only needed so other machines can reach this Mac's hub.

3. The app (Mac only; on any other OS skip to step 5, because the app runs on my Mac and this machine becomes a sender).
   - Installed and the latest: say so, and open it if it isn't running (open -g -a <its path>).
   - Missing or older: ASK "Install Needs You <version> to /Applications?", or "Replace Needs You <old> at <path> with <new>? The old copy is kept as NeedsYou.app.previous". On yes: in a new empty temp folder, download NeedsYou-<version>-macos.zip and SHA256SUMS from https://github.com/tayharris/needs-you/releases/download/v<version>/ with curl -fL. Run shasum -a 256 -c SHA256SUMS --ignore-missing and stop if the zip isn't OK. Unpack with ditto -x -k <zip> <folder>/app. Install with the app's own installer: <folder>/app/NeedsYou.app/Contents/Resources/scripts/install.sh --app <folder>/app/NeedsYou.app. Add --dest ~/Applications if /Applications isn't writable without sudo. It quits a running copy, swaps the new one in, keeps the previous one and opens the new one.
   - A curl download carries no quarantine flag, so macOS shouldn't block it. If xattr -p com.apple.quarantine <app> shows one, ASK, then remove it from that app only: xattr -dr com.apple.quarantine <app>. Never turn Gatekeeper off or change security settings.
   - Tell me: a faint pill appears at the top right of the screen. If macOS asks whether python3 may accept incoming connections, choose Allow (that's the built-in hub). If the app says Python 3 isn't available, ASK before running xcode-select --install (it opens Apple's installer).

4. Other machines (Mac only). ASK: "Should other machines (servers, a devbox, CI) send alerts to this Mac?" If yes and Tailscale isn't installed or logged in, tell me to install it from https://tailscale.com/download and log in myself, then check again. Don't install it or log in for me. Then ASK: "Do you want an always-on server hub too? Most people don't." If yes, point me to https://needsyou.app/guides/hub.html: it's set up on the server, not from here.

5. Senders. Show me the agents and tools you found in step 1, and what each gets, then ASK which ones to connect (none is fine):
   - Claude Code: --claude-hooks user --skill
   - Codex: --codex-hooks user
   - Gemini CLI: --gemini-hooks user
   - opencode: --opencode-plugin
   - GitHub Copilot CLI: --copilot-hooks user
   - Kimi Code: --kimi-hooks user
   - Grok Build: --grok-hooks user
   - Cursor: --cursor-hooks user
   - Cline: --cline-hooks user
   - Aider: --aider
   - Orca: --orca
   Add --alerts when I pick any agent (cards from every session, not only Orca's). Then ASK about each extra, and add it only on a yes: --usage (a card when Claude Code's 5-hour or weekly limit runs high, for Pro and Max plans), --mcp <agents> (the MCP server, for agents that should post through a tool call), --agent-instructions codex,gemini,opencode (the posting rules in their instruction files). Daily automatic updates are on by default; tell me that, and add --no-auto-update only if I ask. If gh is installed, offer the GitHub poller as a later step (https://needsyou.app/guides/github.html); don't set it up now.
   Then ASK me for an invite: in the app, click the pill, then Settings… > Connect a machine > Create invite > Agent prompt (on a new install, the pill's "Connect your first agent or machine" card has Copy agent prompt), and paste it here. On a machine other than the Mac, the invite comes from the Mac's app, and this machine must reach the Mac (step 4). Read the join page the link points to (curl -fsSL <link>; it's Markdown for agents). Then run its one-line installer with exactly the flags I picked: curl -fsSL <link>/install.sh | bash -s -- --yes <flags>. If it says the link is unknown, expired or used up, ASK me for a new one.

6. Check.
   - Run ~/.local/bin/needs-you doctor. For each WARN or FAIL line, run the next step printed under it if it's a command for this machine; otherwise tell me what it needs.
   - Post a test card: ~/.local/bin/needs-you add --key "personal:test:hello" --context personal --title "needs-you works on $(hostname -s)". Tell me what to look for: a card springs out of the pill on my Mac, and clicking the pill opens the panel with it. ASK whether I see it; if not, follow https://needsyou.app/guides/troubleshooting.html.
   - Clear it: ~/.local/bin/needs-you resolve --key "personal:test:hello". It leaves the panel within a few seconds.
   - Finish with a summary: what was installed and where, which agents need a restart to pick up their hooks (and for Codex, that I trust the needs-you hooks once in /hooks), that daily updates are on (or off), and that needs-you doctor checks everything again any time.

Step by step: the Quickstart, Tailscale for servers and other machines, and Troubleshooting if a card doesn't show. Trying it for us? The tester guide has what to try and how to report problems. All guides.

Under the hood

Senders

  • Claude Code on devbox
  • CI job
  • cron on build-box

needs-you CLI: queues offline, fails over

Hubs

  • Built-in hubSQLite, inside the app on your Mac
  • Server huboptional, always on

You

  • The Needs You app

the pill on your Mac; reads the first hub that answers

Senders post to a hub. Hubs that are paired (the built-in hub and server hubs) copy every write to each other. The app reads from the first hub that answers, its built-in hub first.

A hub is a small SQLite database behind a tiny web server. It's one Python file that needs only the standard library. The Mac app has one built in, so there's nothing to install or keep running.

Settings, Built-in hub page. How it works: senders post alerts; a hub stores them, and this app has one built in; this app shows them in the pill until they're handled. Below, Run hub on this Mac is on and Running.
Settings → Built-in hub: the hub inside the app, on by default.

Senders are the one-file needs-you command. It tries each hub in turn. If none answers (your Mac is asleep, say), it keeps the alert in a local outbox, exits cleanly so the job carries on, and sends it later.

Server hubs are optional, for redundancy. Run the same hub on an always-on Linux server, so alerts land while the Mac sleeps. A server joins the app's built-in hub with a one-use link from Settings → Built-in hub, and from then on they copy every write to each other (Server hubs). Once gh is logged in on it, a server hub updates itself from GitHub releases, checked like the app's own updates (how). Most people don't need one.

The app checks every 30 seconds and keeps a live stream open, so new alerts show at once. With nothing new, a check is under 100 bytes and the stream sends a short ping every 15 seconds.

It cleans up after itself. Done and FYI cards expire after a day. A closed item's text is deleted a day after it closes, and what's left of it (no text) after 30 days. A sender's outbox keeps at most 500 alerts for 7 days.

How heavy is it?

PieceMeasured
Mac app, idle0.4% of one CPU core, 55 MB memory
Hub on the Mac, idle0.2% of one core, 27 MB memory
Hub database0.9 MB after a day of use (138 items); about 600 bytes per item
Server hub, idleunder 0.1% of one core, 33 MB memory
1,000 alerts in a burst1.2 s in all, 1.1 ms each; hub memory grew by 1 MB
One needs-you callabout 0.12 s, the same when it queues offline

Measured 2026-10-07 on an Apple Silicon MacBook Pro (macOS 15, the app's bundled hub on Python 3.9) and a desktop Linux machine (8-core AMD Ryzen, Python 3.12). Idle CPU is the average over two quiet minutes. No Docker, no database server, no pip packages, no cloud account. Details in App, hubs and senders and Server hubs.

Help us test

We can't run every AI tool on real work with a real login. If you use one of these, try needs-you with it for a day and tell us which cards appeared and which didn't. "It all worked" is a useful report too. Next to each tool: what nobody has seen it do yet.

Run against a stub model, never with a real one

Never run in the real tool

In use

Report a test

Or: ask for a tool we don't support, suggest something, or report a bug. A GitHub account is needed.

What to try with each tool, and what to put in a report: Help us test. Want to write code? See CONTRIBUTING.md.

Open source

The app, the hub and the sender CLI are on GitHub. Apache-2.0. No cloud, no accounts, no telemetry.