OpenCode

OpenCode usage and sessions in your Mac notch

The month's tokens and spend, live sessions, and in-notch answers for every opencode run.

Download for FreeFree 3-day trial · Apple silicon

01

Usage OpenCode keeps, surfaced

OpenCode records everything in a local database (~/.local/share/opencode); AgentPeek reads it on your Mac and shows monthly token and spend totals with token volume in the by-day chart. No network call, no sign-in. OpenCode reports no quota percentage, so AgentPeek shows the totals themselves, and monthly, weekly, and daily spend caps alert you when crossed.

02

Sessions you can answer from the notch

OpenCode sessions (the desktop app included) appear with live state, tool activity, and transcripts. Permission prompts surface in the notch: allow with ⌘ A, deny with ⌘ N, with Always Allow where OpenCode supports it. Questions flag the session for attention, and the composer sends follow-up prompts into resumable sessions.

03

Setup and routes

AgentPeek installs a managed plugin at ~/.config/opencode/plugins/agentpeek.js, repairable from Doctor. Quick Routes opens the OpenCode plugins folder, config, and logs without the .config-or-.opencode guessing game.

Questions, answered.

Install AgentPeek: it reads OpenCode's local database on your Mac and shows monthly token and spend totals, plus a by-day chart, in the notch and menu bar. No network call and no separate sign-in.
Yes. OpenCode permission prompts surface in the Mac notch and are answered with Cmd A to allow or Cmd N to deny, with Always Allow where OpenCode supports it. Questions flag the session so you can answer in place.
Yes, as totals: monthly token and spend numbers read from the local database. OpenCode reports no quota percentage, so AgentPeek reports plain totals instead of inventing one, and spend caps can alert you at the thresholds you set.

Your agents, one glance away.

Download for FreeFree 3-day trial · Apple silicon