English | Espaรฑol
AgentHarbor
One tray app to manage all your AI coding agents.
For developers running Claude Code, Cursor, Codex, Gemini CLI, Kimi, DeepSeek, or Windsurf: track usage and spend, manage configurations, deploy capabilities, and keep every tool in sync โ all from one native app.
Website ยท Download ยท Getting Started ยท Features ยท Docs
What is it?
AgentHarbor is an AI coding agent manager โ a native tray app for macOS and Windows that sits quietly in your menu bar / system tray while you code. It shows you real-time rate limits, session usage, and monthly spend for every AI provider you use โ without opening a browser or running CLI commands. When you want to deploy an MCP server, rule, skill, or sub-agent across Claude Code, Cursor, and Windsurf at once, a guided wizard handles the diffs, backups, and atomic writes for you.
Screenshots
Live limits, active agents, and Today / Week / All-time spend for every provider, right in your menu bar.
Deep analytics behind every provider
Session and weekly limits with severity coloring, an active-window marker, and reset countdowns.
See how it compares to ccusage and CodexBar โ
Why AgentHarbor?
Tools like ccusage and Claude Code Usage Monitor do one job very well: if you want a terminal-based Claude Code usage monitor, use them. AgentHarbor is built for a different job โ an always-on desktop app that watches all your providers and also manages the config files they read.
Features
- Live tray analytics โ menu-bar metric updates every ~60 s: session percentage, monthly spend, quota bars โ whichever is most relevant for each provider.
- Limit-state ladder โ tracks
Unauthenticated โ ApiDisabled โ BillablePaused โ SubscriptionIssue โ RateLimited โ Reached โ Approaching โ Healthyand surfaces native macOS notifications on transitions. - Deploy wizard โ syntax-highlighted split/unified diffs, per-file
Replace / Merge / Appendstrategy, automatic backups before every write. - Undo Deploy โ one click restores the pre-deploy snapshot from the backup store.
- Presets โ bundle any set of capabilities for one-click deploy and reuse them across projects.
- Drift detection โ keeps MCP config sync honest across editors: detects when a teammate or another tool changes a managed file and shows a side-by-side diff with Accept or Restore.
- Cost engine โ per-model API-equivalent costs for Claude (Opus / Sonnet / Haiku) and Codex (GPT-5 / 4 / 3.5), token-deduplicated across session windows.
- Secrets manager โ stores sensitive env vars in the macOS Keychain and injects them into MCP
envblocks at deploy time. - Auto-update โ Tauri updater checks GitHub Releases every 4 hours; in-app banner with one-click install and optional 24 h snooze.
- Native macOS โ Keychain integration, system tray popover with click-through, optional menu-bar-only mode, native notifications.
Supported providers
Cursor spend tracking covers the full picture โ plan-included, bonus, and on-demand usage โ not just a single total. See Analytics & Tray for how each metric is derived.
Installation
macOS 13+ ยท Apple Silicon ยท Signed with Apple Developer ID and notarized.
- Download the latest DMG: AgentHarbor โ latest release
- Pick
AgentHarbor_<version>_aarch64.dmg.
- Pick
- Open the DMG and drag AgentHarbor.app into Applications.
- Launch from Spotlight or
/Applications.
If macOS flags it as "damaged" (rare, caused by quarantine attribute surviving an unusual download path):
xattr -cr /Applications/AgentHarbor.app
Windows 10/11 ยท x64
- Download
AgentHarbor_<version>_x64-setup.exe(NSIS, friendlier wizard) orAgentHarbor_<version>_x64_en-US.msi(MSI, enterprise-deployable) from the latest release. - Run the installer โ it adds a Start menu shortcut (search AgentHarbor) and registers under Settings โ Apps โ Installed apps. Per-user install, no admin required.
First-run note: the Windows installer is currently unsigned, so Windows SmartScreen will show "Windows protected your PC". Click More info โ Run anyway. A code-signing cert is on the roadmap.
On Windows the tray popover anchors above the system tray (clamped to the monitor). The tray icon shows the active provider's logo; hover reveals the current spend (Provider ยท $X.YZ) in the tooltip โ Windows tray icons can't show inline text the way macOS NSStatusItem can, so the spend lives in the hover tooltip.
Linux โ Coming soon.
Tray metric quick reference
The icon swaps to its red variant and appends ! whenever the active provider is in any non-healthy state.
Documentation
Privacy
AgentHarbor is local-only. The only outbound network calls it makes are to each provider's official API endpoints using your OAuth tokens. No telemetry, no analytics pings, no data leaves your machine.
Local files (Claude project JSONLs, Gemini telemetry) are read with file-share-friendly opens and never copied off-disk.
Tech stack
Development
npm install
npm run tauri dev # hot reload dev
npm run test:regression # tsc + vite build + cargo test
For signed/notarized release builds, see docs/build-and-release.md.
Project layout
agentharbor/
โโโ src/ React frontend
โ โโโ components/ UI (tray, registry, deploy, settings, analytics)
โ โโโ pages/ Route pages
โ โโโ stores/ Zustand state
โ โโโ lib/ Tauri IPC, types, utilities
โ โโโ hooks/ Custom hooks
โโโ src-tauri/ Rust backend
โ โโโ src/
โ โ โโโ analytics/ Per-provider analytics + tray commands
โ โ โโโ adapters/ Adapter implementations (Claude/Cursor/Windsurf/โฆ)
โ โ โโโ commands/ Tauri IPC commands
โ โ โโโ registry/ Capability registry loader & validator
โ โ โโโ utils/ File I/O, keychain, paths, drift, manifest, backup
โ โ โโโ tray.rs System tray
โ โ โโโ lib.rs App setup & command registration
โ โโโ tauri.conf.json
โโโ registry/ Bundled capability/agent definitions
โโโ docs/ User & contributor docs
โโโ scripts/ bump-build, clear-quarantine, tauri-wrapper
โโโ public/ Static assets served by Vite
Star History
Contributing
Contributions are welcome โ bug fixes, new registry capabilities, provider analytics, or docs improvements.
See CONTRIBUTING.md for the full guide: dev setup, code standards, adding registry entries, PR checklist, and commit conventions.
License
MIT โ see LICENSE.