AgentHarbor
Health Uyari
- License รขโฌโ License: MIT
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 0 days ago
- Low visibility รขโฌโ Only 9 GitHub stars
Code Basarisiz
- rm -rf รขโฌโ Recursive force deletion command in .github/workflows/release.yml
- process.env รขโฌโ Environment variable access in scripts/bump-build.cjs
- fs module รขโฌโ File system access in scripts/bump-build.cjs
Permissions Gecti
- Permissions รขโฌโ No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
๐ข One native tray app for all your AI coding agents โ live rate limits, session usage & monthly spend for Claude Code, Cursor, Codex, Gemini CLI & Windsurf, plus one-click MCP/rules/skills/sub-agent deploy.
AgentHarbor
One tray app to manage all your AI coding agents.
For developers running Claude Code, Cursor, Codex, Gemini CLI, or Windsurf: track usage and spend, manage configurations, deploy capabilities, and keep every tool in sync โ all from one native app.

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.
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.
| AgentHarbor | ccusage | Claude Code Usage Monitor | |
|---|---|---|---|
| Interface | Native tray app (macOS / Windows) | CLI | Terminal UI |
| Providers | Claude Code, Cursor, Codex, Gemini CLI, Windsurf | Claude Code | Claude Code |
| Spend tracking | Per-provider, incl. API-equivalent cost engine | Claude Code cost reports | Claude Code cost projections |
| MCP / rules / skills / sub-agent deploy | โ guided wizard with diffs, backups, undo | โ | โ |
| Drift detection | โ hash-based, with side-by-side review | โ | โ |
| Local-only (no telemetry) | โ | โ | โ |
Features
- Live tray analytics โ menu-bar metric updates every ~120 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; ships with
Full-Stack WebandData Scienceexamples. - 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
| Provider | Analytics | Rate limits / spend | Deploy targets |
|---|---|---|---|
| Claude Code | Full (Pro / Max / Enterprise) | Session 5h, Weekly, Sonnet/Opus, monthly $ | MCP, skills, rules, hooks, agents |
| Cursor | Full | Plan included + bonus + on-demand $, team OD | MCP, rules, agents |
| Codex (OpenAI) | Full | Primary 5h, Weekly 7d, per-model $ | MCP, skills |
| Gemini CLI | Quota | Pro โ Flash โ Flash Lite tier waterfall | Skills, hooks, agents |
| Windsurf | Config | โ | MCP, rules |
| JetBrains | Coming soon | ||
| VS Code | Coming soon | ||
| Amp | Coming soon | ||
| Kiro | Coming soon |
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
| Provider | Menu-bar title | Source |
|---|---|---|
| Claude Code Pro/Max | XX% of active Session (5h), fallback to Weekly |
/api/oauth/usage |
| Claude Code Enterprise | $N total spend this cycle |
/api/oauth/usage extra_usage |
| Cursor | $N total spend = included + bonus + on-demand |
Cursor API |
| Codex | XX% of Primary (5h) WHAM window |
OpenAI wham |
| Gemini CLI | XX% of highest-priority tier with quota remaining |
Cloud Code Assist |
The icon swaps to its red variant and appends ! whenever the active provider is in any non-healthy state.
Documentation
| Document | Contents |
|---|---|
| Features | Visual tour of every major feature with screenshot placeholders |
| Getting Started | Install, first launch, connect providers, first deploy |
| Analytics & Tray | Menu-bar metrics, tray popover, LimitState ladder, per-provider pages |
| Deploying Capabilities & Agents | Deploy wizard, presets, backups, drift detection, removing capabilities |
| Build & Release | Local dev, signed builds, release checklist |
| Troubleshooting | Common issues and fixes |
| Regression Checklist | QA checklist before every release |
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
| Layer | Technology |
|---|---|
| Framework | |
| Backend | reqwest, serde, keyring, chrono |
| Frontend | |
| Styling | |
| State | |
| Build target | macOS aarch64 + Windows x64 |
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.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi