01
Sessions with a real permission gate
pi sessions appear in the notch with live state and tool activity. Read-only tools pass through as observations, and mutating tools hold on a per-call gate: allow with ⌘ A, or deny with a reason that goes back into Pi's block. Every decision is per call; nothing is ever waved through on your behalf. The composer sends follow-up prompts into resumable sessions.
02
Tokens and spend from local logs
AgentPeek reads Pi's local session logs and shows monthly token and spend totals plus token volume in the by-day chart, next to your other agents in the usage panel. No quota percentage is invented, because Pi doesn't report one.
03
Pi and Oh My Pi, both covered
The AgentPeek extension installs at ~/.pi/agent/extensions/agentpeek.ts, and when an Oh My Pi setup exists, a twin extension installs for omp too, so both flavors report the same way. Quick Routes opens the Pi extensions, config, and session logs in one click.