Skip to content
View akiiwa-games's full-sized avatar

Block or report akiiwa-games

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
akiiwa-games/README.md

Route sub-agent tasks across your coding subscriptions by model strengths and live quota.

English · 简体中文 · Repository · Technical Reference · llms.txt

Python Router Tray License

AgentCompass


English

Even when you funnel all your work through a single main session or one GrokBot, the mental load is no lighter than managing multiple agents yourself:

"Hand this new showcase UI straight to Opus 5.5 to design and build. Turn on xhigh—I want the result to really stand out."

"Ask Argon whether this strategy can be optimized any further. Proposal only, don't write code."

"Have Astra run the code review and end-to-end tests. If Plus quota runs out, have DeepSeek step in."

Each agent is good at different things, and subscription quotas are always moving. It feels like managing a team of dozens of people in your head—remembering who does what best, which effort level to turn on, and which account still has quota left today.

AgentCompass takes that scheduling off your hands for the plans and pools you already use (Claude Max / Pro, ChatGPT / Codex, Google AI Ultra / Pro, Grok, and OpenAI-compatible fallbacks). When your main session needs to delegate a task or get a second opinion, it calls agentcompass roll:

  • Matches the model to the job — profiles whether the task is UI design, open-ended strategy advice, repo-wide refactoring, or strict review & E2E testing, and picks a fitting model × effort worker (or tells the main session to do single-thread work itself).
  • Schedules around live 5h / 7d quotas — reads local quota snapshots across your signed-in accounts, falls back automatically when an account runs dry or is paused, and spends expiring surplus before weekly resets.
  • Follows explicit instructions when you give them — if you name a model or effort in your prompt, the main agent passes --model ... --effort ... --basis "<your words>" straight through.
  • Keeps sub-agents on the rails — an optional PreToolUse hook blocks unrouted background spawns, and workers that reach 2M tokens of cumulative context rotate with a handoff brief instead of compacting until they lose the plot.
$ agentcompass plan --input examples/task.json --dry-run
task      other_or_mixed · routine · 1.5 h · local_only (runs pytest)
winner    argon_high   score 0.2589
          gemini-weekly: 63% left ($158.19), this work ~2.4% (~$6.00),
          other work wants ~48% before its reset in 89h → opportunity cost 0.0211
runner-up sol_high     score 0.2528   (codex: 83% left, but observed demand ~84% before reset in 144h)
excluded  dot          local_only: needs this machine

Quickstart

Windows (installer, no Python or admin rights needed):

Download AgentCompass-tray-setup.exe from Releases and run it, or install silently from PowerShell:

AgentCompass-tray-setup.exe /VERYSILENT /SETUP=hooks      # /SETUP=nohooks to skip the spawn gate

macOS / Linux, or CLI-only (Python 3.11+):

uv tool install "git+https://github.com/akiiwa-games/AgentCompass"
agentcompass plan --demo --dry-run                        # offline demo, no credentials needed
agentcompass setup                                        # --dry-run to preview; `agentcompass uninstall` undoes it
agentcompass doctor                                       # check active install and signed-in providers
agentcompass roll --task "<what the worker should do>"    # route and launch a worker

Or hand setup to your coding agent: "Read https://github.com/akiiwa-games/AgentCompass. Run agentcompass setup --dry-run, show me what it would change, then run it and route this task: …"

Supported Hosts, Ecosystem & Docs


简体中文

为什么需要 AgentCompass

即使聚焦到一个主会话或一个 GrokBot,你的负担并不比直接管理多个 Agent 轻:

“新加这个展柜界面,你直接派给 opus5.5 来设计落地。我需要惊艳一点的修改所以开 xhigh 吧。”

“你找 argon 看看这个策略还有没有什么优化的可能性,只出方案,别写代码。”

“让 astra 做代码 review 和端到端测试。plus 额度没了的话,再让 deepseek 顶上。”

Agent 各擅所长,额度动态变化,仿佛在脑子里管理一支数十人的团队——既要记着谁审美在线、谁适合发散出方案、谁审查严谨,又要盘算哪个任务该开 xhigh、哪个账号的 5 小时或周额度还没见底。

AgentCompass 把这套排班与额度调度从你的脑子里接管过来(支持 Claude Max / Pro、ChatGPT / Codex、Google AI Ultra / Pro、Grok 及各类兼容号池)。当主会话需要派发子任务或找顾问征求意见时,只需调用 agentcompass roll:

  • 按任务长板与难度选人定档 — 自动识别任务属于界面设计、只读方案推演、跨模块重构还是代码审查与测试,匹配合适的 model × effort 组合(单线任务留在主会话自己做,多独立交付物提示拆分)。
  • 跟随 5h / 7d 动态额度自动轮转 — 本地读取已登录账号的实时余量,某个账号额度耗尽或暂停时自动切换替补,并在周重置前优先消耗富余额度。
  • 点名即透传,不点名免操心 — 你在对话里明确指定了模型或档位时,主会话会通过 --model ... --effort ... --basis "<你的原话>" 原样执行;没指定时由路由器自动拍板。
  • 派工门禁与 2M 上下文轮换 — 可选挂载 PreToolUse 门禁拦截主会话私自起子 Agent;worker 历史累计未压缩上下文达到 2M tokens 时自动换人交接,防止反复压缩后失忆。

快速开始

Windows(独立安装包,无需管理员权限或预装 Python):

从 Releases 下载运行 AgentCompass-tray-setup.exe,或在终端静默安装:

AgentCompass-tray-setup.exe /VERYSILENT /SETUP=hooks      # 不装门禁可用 /SETUP=nohooks

macOS / Linux 或仅安装 CLI(Python 3.11+):

uv tool install "git+https://github.com/akiiwa-games/AgentCompass"
agentcompass plan --demo --dry-run                        # 离线演示,无需登录账号
agentcompass setup                                        # --dry-run 预览改动;agentcompass uninstall 可完整回滚
agentcompass doctor                                       # 查看安装状态与已识别账号
agentcompass roll --task "<交给子 Agent 的完整任务>"       # 自动分类、选型并启动 worker

也可以直接把仓库丢给你的主 Agent: “读一下 https://github.com/akiiwa-games/AgentCompass ,先跑 agentcompass setup --dry-run 给我看会改哪些配置,确认后执行安装并帮我路由这个任务:……”

支持的宿主与技术文档

  • 直接支持的宿主:Claude Code、Codex CLI、Google Antigravity (agy)、Paseo、Pi、OpenCode、Orca、T3 Code、Herdr core (hc)。
  • 配套插件:cindy-agentcompass-plugin(Cindy 任务路由)、magpie-agentcompass-router(Magpie 网关路由)、usage-float(桌面额度悬浮窗)。
  • 其他项目:paseo-antigravity-resilient(Paseo 抗断流 Antigravity Provider)、lark-mbti-jev(飞书群聊 MBTI 与二次元人格实时悬浮层)。
  • 技术与运维细节:评分公式、多账号额度采集、Windows 托盘控制台、各宿主全局规则同步、从源码目录迁移及测试命令,详见 docs/technical-reference.md。

Popular repositories Loading

  1. AgentCompass-Router AgentCompass-Router Public

    Multi-agent task router & subscription quota scheduler for Claude Code, Codex CLI, Gemini / Antigravity, OpenCode, Pi & Paseo. Routes sub-agents by capability fit & 5h/7d rate-limit windows with a …

    Python 8 1

  2. lark-mbti-jev lark-mbti-jev Public

    飞书/Lark 群聊 MBTI 实时悬浮标签 (Windows UIA Overlay) — Real-time Feishu/Lark group chat MBTI & anime persona overlay powered by lark-cli, TypeSafe AI (Jev), and Windows UI Automation / OCR with scroll trac…

    Python 2

  3. usage-float usage-float Public

    Borderless Windows HUD & CLI quota monitor for Claude Code, ChatGPT Codex, Grok, Google Antigravity (agy), Magpie & LiteLLM. Tracks multi-account 5h/7d rate-limit windows, redeems Claude/Codex limi…

    Python 2

  4. magpie-agentcompass-router magpie-agentcompass-router Public

    Pure intent and multi-dimensional capability routing plugin for Magpie, powered by AgentCompass System-One profiler and Model DNA allocator

    JavaScript 2

  5. paseo-antigravity-resilient paseo-antigravity-resilient Public

    Paseo Antigravity provider with durable timeline replay, bounded recovery and streaming completion fixes

    TypeScript 1

  6. awesome-claude-code-toolkit awesome-claude-code-toolkit Public

    Forked from rohitg00/awesome-claude-code-toolkit

    The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills, 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 14 MCP configs, 26 companion apps, 52 ecosystem entries,…

    JavaScript