AgentHarbor

mcp
Guvenlik Denetimi
Basarisiz
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.

SUMMARY

๐Ÿšข 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.

README.md
AgentHarbor

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.

AgentHarbor demo โ€” live tray limits and one-click deploy

GitHub release
Total Downloads
macOS 13+
Windows 10+
License

Tauri
Rust
React
TypeScript
Tailwind CSS

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 โ†’ Healthy and surfaces native macOS notifications on transitions.
  • Deploy wizard โ€” syntax-highlighted split/unified diffs, per-file Replace / Merge / Append strategy, 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 Web and Data Science examples.
  • 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 env blocks 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.

  1. Download the latest DMG: AgentHarbor โ€” latest release
    • Pick AgentHarbor_<version>_aarch64.dmg.
  2. Open the DMG and drag AgentHarbor.app into Applications.
  3. 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

  1. Download AgentHarbor_<version>_x64-setup.exe (NSIS, friendlier wizard) or AgentHarbor_<version>_x64_en-US.msi (MSI, enterprise-deployable) from the latest release.
  2. 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 Tauri
Backend Rust ยท reqwest, serde, keyring, chrono
Frontend React TypeScript Vite
Styling Tailwind CSS ยท dark theme
State Zustand
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)

Sonuc bulunamadi