Code Buddy for Mac

Your coding agents, at a glance.

A little face in your menu bar shows whether Claude Code, Codex, Grok or Cursor is working, waiting for you, or done. It also keeps count of tokens and spend. Everything stays on your Mac.

Download for MacFree on the Mac App Store · macOS 14 or later
  • Claude Code
  • Codex
  • Grok
  • Cursor

How it works

When it needs you, it looks at you.

Stop babysitting the terminal. Code Buddy reads your agent’s session logs and changes its face the moment something happens. Glance up, and you know whether to switch back.

Several agents at once

Four agents. One face.

Run Claude Code in one project and Grok in another. The face always shows the one that needs you most, the menu bar and desktop face show how many are busy, and every open session is listed with its project and context, the ones that need you first. Runs started by scripts and bots are listed apart and don’t move the face.

Six faces

Read it without reading anything.

  • WorkingThinking, calling tools, editing code
  • WaitingNeeds your approval
  • DoneThe turn is finished
  • ErrorA request failed
  • IdleNothing going on
  • AsleepQuiet for a while

Usage and spend

Know what your agents cost.

Spend, tokens, requests and cache hits for today, 7 days and 30 days, split by tool. Spend is estimated from public API prices, so treat it as a guide, not a bill.

Context42% · plenty of room

Codex 5‑hour65% left · resets in 3h 33m

Codex weekly88% left · resets in 6d 20h

Context shows how full the current session is and warns you before it runs out. The limits show what’s left of Codex’s 5‑hour and weekly windows. Claude Code doesn’t save its limits on your Mac, so for Claude the card links to its usage page. Cursor shows status only, since it keeps no token counts on your Mac. Numbers here are examples.

Three styles

Pick the buddy that fits your desk.

Working · Bash · buddy

Native

Looks like it came with your Mac.

Typing away in buddy… +1 more

Companion

A buddy with something to say.

Ambient

A quiet light at the edge of the screen.

Private by design

Your logs never leave your Mac.

Read the privacy policy.

  • Read-onlyCode Buddy reads only the session logs in the folders you grant: ~/.claude, ~/.codex, ~/.grok and ~/.cursor.
  • OfflineIt has no network access. Nothing is uploaded, and there is no account to make.
  • No data collectedNo analytics, no ads, no third‑party SDKs. Nothing to install on the command line either.

Put a buddy in your menu bar.

Download for MacFree on the Mac App Store · macOS 14 or later

Help

Setup, what the faces mean, and answers to common questions.

Questions or ideas? Email [email protected]. I read and answer every message myself.

Requirements

  • macOS 14 or later
  • Claude Code (terminal, Claude desktop app or VS Code extension), Codex (CLI, desktop app or IDE extension), Grok or Cursor in use on this Mac. Code Buddy reads local sessions on this Mac only; cloud sessions don’t show up.
  • English, or Simplified Chinese when your Mac is set to Chinese

Getting started

  1. Open Code Buddy. The welcome window has a Grant… button for each tool: ~/.claude for Claude Code, ~/.codex for Codex, ~/.grok for Grok and ~/.cursor for Cursor. The folder picker already opens in the right folder, so just click Grant. Skip any you don’t use; you can grant them later in Settings. Click Get Started when you’re done.
  2. Click the face in the menu bar to see status, usage and spend. Settings… opens Settings, Show/Hide Desktop Face toggles the face on your desktop, and Quit Code Buddy quits.

What the faces mean

  • Working: the agent is thinking, calling tools or editing code
  • Waiting: the agent needs your approval
  • Done: the turn is finished, come back and look
  • Error: a request failed
  • Idle, Asleep: nothing going on lately

Common questions

The panel shows no numbers

Usage comes from the session logs Claude Code and Codex write on your Mac. In Settings → Data Sources, check that the folder shows its path rather than Not granted, and that you have used those tools on this Mac.

It says the whole ~/.claude folder is needed

You granted only the projects folder inside ~/.claude. Usage still works, but approvals and Precise Status need ~/.claude itself: in Settings → Data Sources, click Change… and pick ~/.claude.

How do I get told when the agent is waiting for me?

Recent versions of Claude Code note a permission prompt in their own session files, and Code Buddy shows it within a few seconds, with nothing to set up. For an alert the moment it appears, turn on Precise Status: Settings → Precise Status → Copy Turn-On Request, then paste it to Claude Code and let it add the hooks to ~/.claude/settings.json, or click Open settings.json and paste them in yourself. New sessions pick it up. The hooks only use the system’s built-in sh to write events to ~/.claude/buddy/events.jsonl and never go online. Code Buddy itself never changes settings.json.

How do I turn Precise Status off?

Settings → Precise Status → Copy Turn‑Off Request, and paste it to Claude Code. Or delete the hooks whose command contains buddy/events.jsonl from settings.json yourself.

How accurate is the spend?

It is estimated from public API prices and is not a bill. If you are on a subscription plan, treat it as a guide.

Desktop face

Settings → Desktop Face: turn Show Desktop Face on or off, pick Small, Medium or Large, and drag the face anywhere. Preview All Expressions plays all six faces beside the button, and the desktop face plays along.

Launch at login

Settings → General → Launch at Login. It is off by default.

Uninstalling

Click Quit Code Buddy in the panel, then drag the app from Applications to the Trash. If you turned on Precise Status, turn it off as above first, then delete the ~/.claude/buddy folder.

Privacy

Code Buddy collects no data and has no network access. See the privacy policy.

Contact

[email protected]

Code Buddy is made by an independent developer and is not affiliated with Anthropic, OpenAI, xAI or Anysphere. Claude Code is a trademark of Anthropic, Codex of OpenAI, Grok of xAI and Cursor of Anysphere.