Skip to main content
Glama

agy-nexus-mcp — Connect Google Gemini to Your Antigravity IDE, 2-Pane Workspace & Usage Studio (v4.0.6)

agy-nexus-mcp is a self-hosted Dual-Doorway Model Context Protocol (MCP) server connecting Google Gemini (Web, Mobile & Tasks) directly to your local Google Antigravity IDE / CLI workstation—paired with agy-praxis-mcp (deadbolt-free LAN-only semantic codebase index & <repo-slug>-NN handoff inbox) and the Quiet UI v9.3.0 Studio PWA (/web) featuring live 8-Model Micro-USD Analytics, Hybrid Range Whiskers & Target/Seam Caret Bars, Multi-Column Sortable Tables, Desktop Sidebar Pinning, and a 2-Pane Session Workspace Explorer.

Try the Interactive Live Showcase (Real Workstation Telemetry, 0 Backend Required)


Live /web Unified Studio App (Analytics + 2-Pane Workspace)

1. Analytics — 8-Model Cost Ledger, Range Whiskers & Mon–Sun Calendar Matrix

AGY-NEXUS v4.0.6 Analytics Surface — Quiet UI v9.3.0 Studio, 6-Window Presets, 8-Model Micro-USD Cost Ledger, Hybrid Range Whiskers & Target/Seam Caret Bars, Single-Hue 52-Week Mon–Sun Calendar Matrix, Sortable Tables & Code Health

2. Workspace — Responsive 2-Pane Session Explorer, Editorial Reader & Capture Gallery

AGY-NEXUS v4.0.6 2-Pane Workspace Explorer — Recency Project Rail, Editorial Markdown Tabs, Inline Walkthrough Captures & Direct PNG / Per Sheet Gallery

AGY-NEXUS v4.0.6 Mobile Analytics View AGY-NEXUS v4.0.6 Mobile Workspace View


Related MCP server: aimcp

Key Capabilities (v4.0.6)

  • Dual-Doorway Parallel Isolation & <repo-slug>-NN Queue: Concurrent Gemini Web/Mobile tabs work across separate repositories via fcntl.flock active_contexts slots (auto-pruning stale slots), 3-pillar fail-closed resolution (target_resolver.py), same-repo concurrent writer detection (MAIN WRITER / WORKTREE / SHARED), and atomic <slug>-NN handoffs (handoff_queue.py) with proportional Surgical Fast-Path vs. Full Dual-Review execution (handoff_templates.py).

  • 8-Model Registry, Effective-Dated Cost Ledger & 01:45 AM Drift Watchdog: Tracks all 8 live models (Gemini 4 Carbon, Neon, Argon, Hydrogen, Gemini 3.8 Flash, Claude Opus 5.5, Claude Sonnet 5.5, GPT-OSS 120B) with immutable micro-USD epochs (CACHE_VERSION = 8, cost_ledger.json), deadbolt-safe 76-col models ASCII status, 12-subagent sync_agents.py, and read-only 01:45 AM agy-model-drift-check.timer.

  • agy-praxis-mcp Local IDE Doorway (6 Tools): Incremental SHA-256 Polyglot semantic indexing (polyglot_map strictly <= 17.5 KB with directory_summary + drilldown_hint, polyglot_search, polyglot_outline) + <repo-slug>-NN handoff queue (/praxis/{PRAXIS_MCP_TOKEN}/mcp, legacy /polyglot/ alias, or --stdio) with strict LAN-only 403 proxy/Origin rejection.

  • Strict < 20 KB Wire Budget, @Agy Nexus Mcp 1-Tap Chips & In-Place Closeout: Sequential Read-Only Governance (<= 4 hops/turn), tools/list (<= 8.6 KB), get_session_tree (<= 17.5 KB), <= 18.5 KB inner / <= 19.8 KB escaped outer wire caps, REPLY_PROMPT_GUIDANCE + XML followup_xml 1-tap <FollowUp> / <ElicitationsGroup> reply chips prefixed with @Agy Nexus Mcp across every tool, 5-tier context pressure (FRESH $\rightarrow$ HARD_ROLLOVER), RETIRED.json tombstones (retire_after_closeout=True), and workflow:baseline.

  • Quiet UI v9.3.0 Studio (/web) & Public Interactive Showcase: Direct /web live cutover (/web/v9 compatible), offline vendored Apache ECharts, [Steps | Tokens | $ Cost], Option A Hybrid Range Whiskers & Target/Seam Caret Bars (Avg · Peak · 24h project/subagent whiskers with >120 step-cap alerts, model Guide │ + 24h ▾, session 320│ / 700▾ seams), multi-column sortable tables with preserved swatch colors, >= 1100px desktop sidebar pinning, Activity by Hour of Day active-day whiskers, Subscription Break-Even, responsive < 760px Docs + [Captures (N)] modal, and zero-leak GitHub Pages Showcase (scripts/build_github_showcase.py).


Quick Setup & Everyday Prompts

  1. Initialize & Self-Test: Clone the repo, run ./scripts/setup.sh (or .\scripts\setup.ps1 / python3 scripts/init_secrets.py --passphrase "..."), then verify & start:

    python3 ag_bridge.py --self-test && python3 -m agy_nexus.tools_praxis --self-test && pytest
    python3 ag_bridge.py   # or docker compose up -d (see docs/DEPLOYMENT.md)
  2. Connect Clients:

    • Gemini Web / Mobile / Tasks: Add custom MCP https://<your-domain>/{PATH_SECRET}/mcp (voice/text unlock strips filler via unlock_sessions).

    • Antigravity IDE (agy-praxis-mcp): Point ~/.gemini/config/mcp_config.json to http://<host>.lan:8765/praxis/<PRAXIS_MCP_TOKEN>/mcp.

    • Quiet UI Studio PWA (/web) & Public Demo: Open https://<your-domain>/web (?demo=1 for depersonalized preview) or explore the Public GitHub Pages Showcase.

  3. Example Prompts: "Unlock Antigravity with [phrase] and load agy-nexus-mcp" · "Show me my session tree" · "Show model & subagent status" · "Search cloud-gitops-stack for compose healthcheck rules" · "Stage this bugfix (allow_chained_publish=False)" · "Show me my latest usage stats (default / quick / rich)."


Project Manager Mode & Plain-Language Handoffs (v4.0.6)

agy-nexus-mcp turns Google Gemini into a grounded Engineering Project Manager: Gemini scouts live state sequentially (<= 4 calls/turn), stages <repo-slug>-NN handoffs with proportional execution_mode="auto" ceremony (allow_chained_publish=False for preview gates with 7-day /web/media/ screenshots), and guides Job-First "Yes" @Agy Nexus Mcp 1-tap chips (followup_xml) across ready_to_run (staged tickets), in_flight (running tasks), ready_to_ship (in-place retire_session=True + RETIRED.json closeout), and retired.

handoff_mode

Purpose & Behavior

Antigravity Execution

feature_update (Default)

Add features or refine workflows with WORKFLOWS.md baseline parity.

Full 4-Step (flash-scout $\rightarrow$ surgeon $\rightarrow$ flash-auditor $\rightarrow$ Dual-Review / Visual Gate; multi-deliverable/complex fast coerces to plan).

new_project

Stand up greenfield repos/packages (create_new_project=True, <= 500L modules).

Blueprinted via argon-architect (plan mode enforced), scaffolded modularly with pytest & self-tests.

bug_or_visual_fix

Pinpoint broken behavior, exact viewports (390px/900px/1440px/2560px), and fix criteria.

Surgical Fast-Path for compact non-security diffs (fast), or Full Dual-Review on auth/UI boundaries.

release_closeout

Verify tests, sync 3-2-1 backups, commit/tag/push, and write RETIRED.json tombstones.

Prunes worktrees, marks <slug>-NN tickets COMPLETED, defers RETIRED.json (retire_after_closeout=True) on headless runs until commit+push succeed.


Copy-Ready 76-Column Project, Chat & Session Hierarchy (get_session_tree)

Call get_session_tree() (or manage_background_run(action="sessions")) to render a copy-ready 76-column ASCII hierarchy grouping every conversation and staged <repo-slug>-NN handoff under its parent project with untruncated project_id, session_id, and workspace lines:

╔══════════════════════════════════════════════════════════════════════════╗
║ AGY-NEXUS v4.0.7 // PROJECT -> CHAT -> SESSION ID HIERARCHY (COPY-READY) ║
╠══════════════════════════════════════════════════════════════════════════╣
║ SLOTS: 3 | STAGED: 1 | IN-WORK: 2 | PINNED: 24 | TTL: 119.5m             ║
║ 3-2-1 BACKUP: 2eaa820 (SYNCED ✓ · 20477.9 KB · 2h ago)                   ║
╚══════════════════════════════════════════════════════════════════════════╝

[PROJECT 1] Stem Curriculum Lab [SHARED REPO] [◈ 1 STAGED] [▶ 1 IN-WORK]
  project_id : 8d13c66f-569c-42e0-a57e-dd4b111ab5f2
  workspaces : /home/dev/agentic_workspace/projects/stem-curriculum-lab
  ├─ [HANDOFF stem-curriculum-lab-60] [SCL-Core] Stepped & Hex Domain Mosaics + Skill Trees
  │   pass_off   : [◈ STAGED · UNCLAIMED] · plan/feature_update · 4d ago
  │   session_id : (unclaimed · new chat)
  ├─ [HANDOFF stem-curriculum-lab-90] [SCL-RF] Ch. I–VIII Interactive Signal Modules Overhaul
  │   pass_off   : [▶ IN-WORK] · plan/feature_update · 38m ago
  │   session_id : 9c90ffb2-4ae2-42fa-9016-4d7fa1f175cf
  ├─ (+16 older completed)
  ├─ [#1] [SCL-Portal] Landing Page, Control-Plane & OIDC Auth
  │   session_id : 9c90ffb2-4ae2-42fa-9016-4d7fa1f175cf
  │   workspace  : /home/dev/agentic_workspace/projects/stem-curriculum-lab
  │   status     : [● RUNNING] · MAIN WRITER · 253 steps · 2s ago
  ├─ [#3] [SCL-Arch] Sprints 1–14 — Curriculum Engine & Edge CI
  │   session_id : e1a0d95b-6e25-4e74-b8ae-c58a1c0e2902
  │   workspace  : /home/dev/agentic_workspace/projects/stem-curriculum-lab
  │   status     : [○ COMPLETED] · SHARED (READ-ONLY) · 730 steps · 16m ago
  └─ [#11] [SCL-RF] Ch. I–VIII Interactive Signal Modules Overhaul
      session_id : a5e6835f-4158-4fcb-a54c-fc6a9879a09a
      workspace  : /home/dev/agentic_workspace/projects/stem-curriculum-lab
      status     : [○ COMPLETED] · SHARED (READ-ONLY) · 1,122 steps · 4h ago

[PROJECT 2] AGY Nexus MCP [SHARED REPO] [▶ 1 IN-WORK]
  project_id : f1378431-5b09-4545-a48c-ac5c67c04fd3
  workspaces : /home/dev/agentic_workspace/projects/agy-nexus-mcp
  ├─ [HANDOFF agy-nexus-mcp-50] AGY-Nexus v4.0.7 — Closeout: DEPLOYMENT.md (?.*)? Sync, Publish & Retire
  │   pass_off   : [▶ IN-WORK] · fast/release_closeout · 6m ago
  │   session_id : 5fb0708a-e4cf-443d-bea2-e9f9a4b9dfee
  ├─ [HANDOFF agy-nexus-mcp-49] AGY-Nexus v4.0.7 — Addendum: Opt-In Gemini VM Screenshot & HTML Audit Prompt
  │   pass_off   : [✓ COMPLETED] · plan/feature_update · 4m ago
  │   session_id : 5fb0708a-e4cf-443d-bea2-e9f9a4b9dfee
  ├─ (+19 older completed)
  ├─ [#2] AGY-Nexus v4.0.7 — 4-Gate WF-XX Workflow Engine, Thicker Mobile Topbar & Chart/Table Legends
  │   session_id : 5fb0708a-e4cf-443d-bea2-e9f9a4b9dfee
  │   workspace  : /home/dev/agentic_workspace/projects/agy-nexus-mcp
  │   status     : [● RUNNING] · MAIN WRITER · 716 steps · 8s ago
  ├─ [#6] AGY-Nexus v4.0.6 — Enforce @Agy Nexus Mcp 1-Tap Reply Chips Across All Tools
  │   session_id : 30287b28-f5b2-4852-8812-e2153b2549cd
  │   workspace  : /home/dev/agentic_workspace/projects/agy-nexus-mcp
  │   status     : [○ COMPLETED] · SHARED (READ-ONLY) · 350 steps · 2h ago
  └─ [#10] AGY-Nexus v4.0.5 — Scope Gallery Select-All Strictly to Session Captures
      session_id : 1d8083b4-7b88-4db2-800e-389246283949
      workspace  : /home/dev/agentic_workspace/projects/agy-nexus-mcp
      status     : [○ COMPLETED] · SHARED (READ-ONLY) · 254 steps · 4h ago

[PROJECT 3] Quiet UI Skills [SHARED REPO]
  project_id : 696506de-5df1-41da-9b5c-03c2e1b9128c
  workspaces : /home/dev/agentic_workspace/projects/quiet-ui-skills
  ├─ [HANDOFF quiet-ui-skills-50] Mark Older v9.4 Session Done (No Push)
  │   pass_off   : [✓ COMPLETED] · fast/release_closeout · 1h ago
  │   session_id : 0b9b559c-8aee-49b1-97e8-ffd906b5744b
  ├─ [HANDOFF quiet-ui-skills-49] Quiet UI Skills v9.5.0 — Release Closeout, Tag, GitHub Release & Live Pages Verification
  │   pass_off   : [✓ COMPLETED] · fast/release_closeout · 3h ago
  │   session_id : c291b3c0-2dee-4443-83fe-97067037c8cb
  ├─ (+17 older completed)
  ├─ [#4] Quiet UI Skills v9.4.0 Wave 2 — Cleanfield Workbench Archetypes, Flow Primitives & Brownfield CDP Probes
  │   session_id : 0b9b559c-8aee-49b1-97e8-ffd906b5744b
  │   workspace  : /home/dev/agentic_workspace/projects/quiet-ui-skills
  │   status     : [◉ PINNED · IDLE] · MAIN TREE · 458 steps · 1h ago
  ├─ [#7] Quiet UI Skills v9.5.0 — Release Closeout, Tag, GitHub Release & Live Pages Verification
  │   session_id : c291b3c0-2dee-4443-83fe-97067037c8cb
  │   workspace  : /home/dev/agentic_workspace/projects/quiet-ui-skills
  │   status     : [○ COMPLETED] · MAIN TREE · 240 steps · 3h ago
  └─ [#8] Quiet UI Skills v9.5.0 R4 — Pinned Sticky Sidebar, Tablet HMI Frame (v08) & Full-Bleed Kiosk Polish (v16/v17)
      session_id : 473d9028-8435-4795-a8a2-77a00415d921
      workspace  : /home/dev/agentic_workspace/projects/quiet-ui-skills
      status     : [○ COMPLETED] · MAIN TREE · 371 steps · 4h ago

Three-Tier ASCII Usage Reports in Chat

Ask Gemini for your usage stats (get_session_tree(include_stats=True, period="last_90d", style=...) or manage_background_run(action="stats", ...)) to render live Dual-Pool quota pacing, Mon–Sun calendar heatmaps, sub-daily curves, and workspace/subagent token breakdowns in three plain-text layouts:

Style

Width

Best For

What It Shows

style="default"

72 cols

Standard Desktop & Tablet Chat

Split summary header, 22-week Mon–Sun heatmap, 8-hour activity & project stack (░▒▓█), model quota bars (┼), Praxis/Polyglot health, and project & subagent tables.

style="quick"

<= 40 cols

Phone Screens (Portrait)

Fits strictly within 40 characters per line so it never wraps on mobile. Shows a 13-week heatmap, 8-hour pace curve, model quota bars, and top projects/subagents.

style="rich"

76 cols

Widescreen Desktop Chat

Full box-drawn rig (v4.0.4) with side-by-side quota and token panels, 13-week 3-character heatmap with Peak Day card, 6-row 8-hour curve, and share gauges.

1. style="default" (72-Column Standard Layout)

════════════════════════════════════════╤═══════════════════════════════
AGY-NEXUS v4.0.7 // 91d (Nov 23 ◄── Aug ┆ Up to Date (v4.0.7)           
════════════════════════════════════════╪═══════════════════════════════
GOOGLE 20x :  99.7% [████████┼█] HEALTHY┆ 0x 429s | Ultra-20x (T:>=90%) 
PARTNER 1x :  99.7% [░┼░░░░░░░░] ON PACE┆ 85.7% Wk Left | Lim <=14.3%/d 
STEPS/TOOLS: 268,315s | 139,757t | 207c ┆ 5,159 s/act-d | 2,948 s/cal-d 
TOKEN BURN : ~13.1B | $3,252.22         ┆ 251.0M/d | $62.54/d (669r)    
MCP WIRE   : 97% <20KB (avg 10.8/32.4KB)┆ 101 req (302k tok) | Web+Praxi
CODE HEALTH: Poly 2588 syms | 88/88 <=50┆ 0 >650L | Praxis+Serena       
────────────────────────────────────────┴───────────────────────────────
DAILY HEATMAP (NOW: W01 ──► 22w AGO)   Peak: 11/22 (20,915s) | Act: 52d
Wk    01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
Mon   ██ ██ ▒▒ ▒▒ ▓▓ ░░ ░░ ·· ░░ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Tue   ·· ██ ▓▓ ▒▒ ▒▒ ░░ ░░ ·· ·· ░░ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Wed   ·· ██ ▓▓ ▓▓ ▒▒ ·· ░░ ·· ░░ ░░ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Thu   ·· ██ ▒▒ ▒▒ ▒▒ ░░ ░░ ·· ·· ▒▒ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Fri   ·· ██ ▓▓ ▓▓ ▒▒ ▓▓ ░░ ·· ▒▒ ▓▓ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Sat   ·· ██ ██ ██ ██ ▓▓ ░░ ·· ▓▓ ▒▒ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Sun   ·· ██ ██ ██ ▓▓ ▓▓ ▒▒ ·· ▓▓ ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ·· ··
Vol   ▁▁ ██ ▄▄ ▃▃ ▃▃ ▂▂ ▁▁ ── ▁▁ ▁▁ ── ── ── ── ── ── ── ── ── ── ── ──
────────────────────────────────────────────────────────────────────────
8H SUB-DAILY PACE (NOW ──► SEP 21)   [Avg: 273/8h | Peak: 796 | ░▒▓█]
 796 ╷  ▄█                                                             
 413 ┤  ███   ▄        ▄     █    ▄                                    
 273 ┼──████▄─█───█────█─────███──█──▄─────────────────────────────────
   0 ╵█ ▓█░█░ █  ▓░  ▓ █▄  ▒ ▒▒▒ ▄▒▒▄░   ▄▄     ▒                      
     └─▲────────────▲────────────▲────────────▲────────────▲──────────▲─
      Nov 23       Nov 10       Oct 28       Oct 15       Oct 02     Sep
      Stack: [█] stem-curricul (22%)  [▓] mail-triage-u (12%)  [▒] home-
────────────────────────────────────────────────────────────────────────
MODEL       [QUOTA ┼ TARGET] SHARE    CALLS     TOK    EST.$  DLT  STAT
Carbon 4    [██▓┼░░░░░░░░░░] 12.0%  14,731    3.5B  $922.4   -8% OK  
Neon 4      [░┼░░░░░░░░░░░░]  0.0%       0       0   $0.00  -10% OK  
Argon 4     [███┼██▓░░░░░░░] 46.2%  56,855    8.4B  $2,147  +21% WARN
Hydrogen 4  [░░┼░░░░░░░░░░░]  0.0%       0       0   $0.00  -15% WARN
Flash 3.8   [███┼██▓░░░░░░░] 41.5%  51,142    1.0B  $153.1  +22% WARN
Opus 5.5    [▏░░░░░░░░░░░░░]  0.0%       0       0   $0.00   -3% OK  
Sonnet 5.5  [░┼░░░░░░░░░░░░]  0.4%     462   81.5M   $29.6   -5% OK  
GPT-OSS 120 [▏░░░░░░░░░░░░░]  0.0%       0       0   $0.00   -2% OK  
BILLING    Hist:$3,252 API | NextRate:$6,475 (+99%) | 20x:5.4x
────────────────────────────────────────────────────────────────────────
WORKSPACES (15)  CHATS  STEPS    TOK   TOK/D   TOK/WK   EST.$  SHARE
1. stem-curricul  69c 58,670    3.5B  67.0M  469.0M  $864.0  21.9%
2. mail-triage-u  31c 32,207    2.1B  41.2M  288.1M  $448.0  12.0%
3. home-telemetr   4c 31,687    2.0B  37.8M  264.8M  $484.4  11.8%
4. quiet-ui-skil  36c 26,638    1.6B  31.0M  216.8M  $453.4   9.9%
5. task-queue-en   1c 25,933  346.9M  6.67M   46.7M   $96.3   9.7%
6. agy-nexus-mcp  29c 22,212    1.5B  28.0M  196.0M  $383.9   8.3%
7. net-topology-   5c 19,487  860.1M  16.5M  115.8M  $199.6   7.3%
8. cloud-gitops-   4c 15,070   52.7M  1.01M   7.10M   $11.9   5.6%
9. edge-iot-cont   6c 12,250    9.5M   182k   1.28M   $1.51   4.6%
10. agent-harnes   8c  9,457  485.1M  9.33M   65.3M  $123.7   3.5%
11. scratch-prot   8c  7,797  350.8M  6.75M   47.2M  $110.1   2.9%
12. container-gi   4c  4,995  247.0M  4.75M   33.2M   $69.3   1.9%
13. astro-sky-ma   1c  1,126    294k   5.7k     40k   $0.02   0.4%
14. rf-dsp-modem   0c    609   34.6M   665k   4.66M   $4.37   0.2%
15. civic-map-en   1c    177    6.9M   133k    933k   $1.74   0.1%
────────────────────────────────────────────────────────────────────────
SUBAGENTS (10)    RUNS  STEPS    TOK   TOK/D   TOK/WK   EST.$  SHARE
1. flash-surgeon 155r 26,260  372.0M  7.15M   50.1M   $51.4  27.9%
2. argon-sentine 138r 25,836    1.3B  24.1M  168.4M  $447.5  27.5%
3. flash-auditor 199r 16,039  425.7M  8.19M   57.3M   $65.7  17.0%
4. research       77r  9,648  411.6M  7.92M   55.4M  $151.3  10.3%
5. argon-surgeon  13r  8,185  524.5M  10.1M   70.6M  $121.9   8.7%
6. flash-scout    65r  6,287  159.9M  3.07M   21.5M   $24.9   6.7%
7. claude-sentin  18r  1,607   82.5M  1.59M   11.1M   $29.6   1.7%
8. argon-archite   2r    132    3.8M    74k    518k   $1.79   0.1%
9. carbon-sentin   1r     60    3.0M    57k    402k   $1.35   0.1%
10. claude-speci   1r     31   11.8k    227    1.6k   $0.00   0.0%
════════════════════════════════════════════════════════════════════════

2. style="quick" (40-Column Mobile Layout)

════════════════════════════════════════
AGY-NEXUS v4.0.7 // 91d (Nov 23 ◄── Aug 
════════════════════════════════════════
G-20x: 100% [████████┼█] OK | 0x 429s
P-1x : 100% [░┼░░░░░░░░] OK | 86% WkLft
Steps:268.3k | Tools:139.8k | Act:52d
Burn:13.1B | $3,252 | 251.0M/d
Health: Poly 2588s | 88/88 <=500L | up_t
────────────────────────────────────────
HEATMAP (NOW ──► 13w Ago)  │ PEAK & VOL
Mo ██▒▒▓░░·░····           │ Pk: 11/22
Tu ·█▓▒▒░░··░···           │ 20,915 stp
We ·█▓▓▒·░·░░···           │ Avg:5,159/d
Th ·█▒▒▒░░··▒···           │ Cost: $3,25
Fr ·█▓▓▒▓░·▒▓···           │ Subs : 669r
Sa ·████▓░·▓▒···           │ Tok/d:251.0
Su ·███▓▓▒·▓····           │ Tok/w:1.76B
────────────────────────────────────────
8H PACE & STACK (NOW──►OLD) Pk:927
 927╷ █                              
 463┤ ██                             
 289┼─██▄──────█──────────────▄──────
   0╵██░█▄ ▄ ▄ ▒▄      ▄      ░      
────────────────────────────────────────
MODEL   [PIN]    PCT   TOK  EST.$   DLT
Carbon4 [█┼░░░░░░] 12%  3.5B $922.4  -8
Neon 4  [░┼░░░░░░]  0%     0  $0.00 -10
Argon 4 [██┼█▓░░░] 46%  8.4B $2,147 +21
Hydro 4 [░┼░░░░░░]  0%     0  $0.00 -15
Flash38 [█┼█▓░░░░] 42%  1.0B $153.1 +22
Opus5.5 [▏░░░░░░░]  0%     0  $0.00  -3
Sonn5.5 [▏░░░░░░░]  0% 81.5M  $29.6  -5
GPT-120 [▏░░░░░░░]  0%     0  $0.00  -2
────────────────────────────────────────
WORKSPACES & SUBS  TOK   EST.$  TOK/WK
stem-curriculum  3.5B  $864.0  469.0M
mail-triage-ui   2.1B  $448.0  288.1M
home-telemetry-  2.0B  $484.4  264.8M
quiet-ui-skills  1.6B  $453.4  216.8M
task-queue-engi 346.9M   $96.3   46.7M
agy-nexus-mcp    1.5B  $383.9  196.0M
*flash-surgeon  372.0M   $51.4   50.1M
*argon-sentinel  1.3B  $447.5  168.4M
*flash-auditor  425.7M   $65.7   57.3M
════════════════════════════════════════

3. style="rich" (76-Column Widescreen Layout)

╔══════════════════════════════════════════════════════════════════════════╗
║ ▄▀█ █▀▀ █▄█ ▄▄ █▄░█ █▀▀ ▀▄▀ █░█ █▀   v4.0.7 // RICH TELEMETRY RIG        ║
║ █▀█ █▄█ ░█░ ░░ █░▀█ ██▄ █░█ █▄█ ▄█   WINDOW: 91d (Nov 23 ◄── Aug 25)     ║
╠════════════════════════════════════╦═════════════════════════════════════╣
║ QUOTA POOLS & 429 COOLDOWNS        │ STEP & TOOL VELOCITY                ║
║ G-20x:  99.7% [████████┼█] OK      │ Total : 268,315 steps | 139,757 too ║
║ P-1x :  99.7% [░┼░░░░░░░░] OK      │ Active: 5,159 s/act-d (52d active)  ║
║ 429s : 0 events | 85.7% Wk Left    │ Calend: 2,948 s/cal-d (207c, 669r)  ║
╠════════════════════════════════════╬═════════════════════════════════════╣
║ TOKEN BURN & API COST LEDGER       │ MCP WIRE & CLIENT SURFACES          ║
║ Total : ~13.1B | $3,252.22         │ Wire  : 97% <20KB (avg 10.8/32.4KB) ║
║ Daily : 251.0M/d ($62.54/d)        │ Calls : 101 MCP reqs (302k tok)     ║
║ NextRt: $6,474.79 API Forecast     │ Client: Web 55% · Prx 45% · Mob 0%  ║
╠════════════════════════════════════╦═════════════════════════════════════╣
║ VERSION & RELEASE STATUS           │ POLYGLOT & MODULAR CODE HEALTH      ║
║ Installed: v4.0.7 (up_to_date)     │ Poly: 2588s | 88/88 <=500L 0>650L   ║
║ Remote   : v4.0.7                  │ IDE MCP  : agy-praxis-mcp + Serena  ║
╠════════════════════════════════════╩═════════════════════════════════════╣
║ DAILY ACTIVITY MATRIX (NOW: W01 ──► W13)     [·· 0  ░░ <1k  ▒▒ <4k  ██]  ║
║ Wk   W01 W02 W03 W04 W05 W06 W07 W08 W09 W10 W11 W12 W13  ┌─ PEAK DAY ─┐ ║
║ Mon  ███ ███ ▒▒▒ ▒▒▒ ▓▓▓ ░░░ ░░░ ··· ░░░ ··· ··· ··· ···  │ Nov 22     │ ║
║ Tue  ··· ███ ▓▓▓ ▒▒▒ ▒▒▒ ░░░ ░░░ ··· ··· ░░░ ··· ··· ···  │ 20,915 stp │ ║
║ Wed  ··· ███ ▓▓▓ ▓▓▓ ▒▒▒ ··· ░░░ ··· ░░░ ░░░ ··· ··· ···  ├────────────┤ ║
║ Thu  ··· ███ ▒▒▒ ▒▒▒ ▒▒▒ ░░░ ░░░ ··· ··· ▒▒▒ ··· ··· ···  │ Act: 52d   │ ║
║ Fri  ··· ███ ▓▓▓ ▓▓▓ ▒▒▒ ▓▓▓ ░░░ ··· ▒▒▒ ▓▓▓ ··· ··· ···  │ Avg:  5.2k │ ║
║ Sat  ··· ███ ███ ███ ███ ▓▓▓ ░░░ ··· ▓▓▓ ▒▒▒ ··· ··· ···  │ Sub: 669r  │ ║
║ Sun  ··· ███ ███ ███ ▓▓▓ ▓▓▓ ▒▒▒ ··· ▓▓▓ ··· ··· ··· ···  └────────────┘ ║
║ Vol  ▁▁▁ ███ ▄▄▄ ▃▃▃ ▃▃▃ ▂▂▂ ▁▁▁ ─── ▁▁▁ ▁▁▁ ─── ─── ───  PeakWk:83.6k   ║
║ Steps 10k 84k 53k 35k 31k 19k  7k  ·  16k 12k  ·   ·   ·                 ║
╠══════════════════════════════════════════════════════════════════════════╣
║ 8H SUB-DAILY HORIZON CURVE & PROJECT STACK (NOW ──► SEP 21)              ║
║ 1.7k ╷ █ ▄     ▄                                                         ║
║ 1.3k ┤ █ █     █                                                         ║
║  921 ┤ █ █     █                    █                                    ║
║  470 ┼ ███   █ █      ▄             █                                    ║
║  301 ┤─███▄──███──────█─────▄──▄───▄█─────────────────────────────────   ║
║    0 ╵█▓▓█░ ██▓▓░    ▓██▄▄  ░▄ ░   ▒▒           ▒       ░         ▄      ║
║      └─▲───────────▲───────────▲───────────▲───────────▲───────────▲───  ║
║       Nov 23      Nov 10      Oct 28      Oct 15      Oct 02      Sep 21 ║
║       Stack: [█]stem-curricu(22%)  [▓]mail-triage-(12%)  [▒]home-telemet ║
╠══════════════════════════════════════════════════════════════════════════╣
║ MODEL       [QUOTA ┼ TARGET] SHARE    CALLS     TOK    EST.$  DLT  STAT  ║
║ Carbon 4    [██▓┼░░░░░░░░░░] 12.0%  14,731    3.5B  $922.4   -8% OK      ║
║ Neon 4      [░┼░░░░░░░░░░░░]  0.0%       0       0   $0.00  -10% OK      ║
║ Argon 4     [███┼██▓░░░░░░░] 46.2%  56,855    8.4B  $2,147  +21% WRN     ║
║ Hydrogen 4  [░░┼░░░░░░░░░░░]  0.0%       0       0   $0.00  -15% WRN     ║
║ Flash 3.8   [███┼██▓░░░░░░░] 41.5%  51,142    1.0B  $153.1  +22% WRN     ║
║ Opus 5.5    [▏░░░░░░░░░░░░░]  0.0%       0       0   $0.00   -3% OK      ║
║ Sonnet 5.5  [░┼░░░░░░░░░░░░]  0.4%     462   81.5M   $29.6   -5% OK      ║
║ GPT-OSS 120 [▏░░░░░░░░░░░░░]  0.0%       0       0   $0.00   -2% OK      ║
║ BILLING CMP: Hist $3,252 | NextRate $6,475 (+99%) | 20x 5.4x             ║
╠══════════════════════════════════════════════════════════════════════════╣
║ WORKSPACES (15)  CHATS   STEPS     TOK   TOK/D   EST.$ SHARE GAUGE       ║
║ 1. stem-curricul  69c  58,670    3.5B  67.0M  $864.0 █▍░░░░ 21.9%        ║
║ 2. mail-triage-u  31c  32,207    2.1B  41.2M  $448.0 ▍░░░░░ 12.0%        ║
║ 3. home-telemetr   4c  31,687    2.0B  37.8M  $484.4 ▍░░░░░ 11.8%        ║
║ 4. quiet-ui-skil  36c  26,638    1.6B  31.0M  $453.4 ▍░░░░░  9.9%        ║
║ 5. task-queue-en   1c  25,933  346.9M  6.67M   $96.3 ▍░░░░░  9.7%        ║
║ 6. agy-nexus-mcp  29c  22,212    1.5B  28.0M  $383.9 ▍░░░░░  8.3%        ║
║ 7. net-topology-   5c  19,487  860.1M  16.5M  $199.6 ▍░░░░░  7.3%        ║
║ 8. cloud-gitops-   4c  15,070   52.7M  1.01M   $11.9 ▍░░░░░  5.6%        ║
║ 9. edge-iot-cont   6c  12,250    9.5M   182k   $1.51 ▍░░░░░  4.6%        ║
║ 10. agent-harnes   8c   9,457  485.1M  9.33M  $123.7 ░░░░░░  3.5%        ║
║ 11. scratch-prot   8c   7,797  350.8M  6.75M  $110.1 ░░░░░░  2.9%        ║
║ 12. container-gi   4c   4,995  247.0M  4.75M   $69.3 ░░░░░░  1.9%        ║
║ 13. astro-sky-ma   1c   1,126    294k   5.7k   $0.02 ░░░░░░  0.4%        ║
║ 14. rf-dsp-modem   0c     609   34.6M   665k   $4.37 ░░░░░░  0.2%        ║
║ 15. civic-map-en   1c     177    6.9M   133k   $1.74 ░░░░░░  0.1%        ║
╟──────────────────────────────────────────────────────────────────────────╢
║ SUBAGENTS (10)    RUNS   STEPS     TOK   TOK/D   EST.$ SHARE GAUGE       ║
║ 1. flash-surgeon 155r  26,260  372.0M  7.15M   $51.4 █▍░░░░ 27.9%        ║
║ 2. argon-sentine 138r  25,836    1.3B  24.1M  $447.5 █▍░░░░ 27.5%        ║
║ 3. flash-auditor 199r  16,039  425.7M  8.19M   $65.7 █░░░░░ 17.0%        ║
║ 4. research       77r   9,648  411.6M  7.92M  $151.3 ▍░░░░░ 10.3%        ║
║ 5. argon-surgeon  13r   8,185  524.5M  10.1M  $121.9 ▍░░░░░  8.7%        ║
║ 6. flash-scout    65r   6,287  159.9M  3.07M   $24.9 ▍░░░░░  6.7%        ║
║ 7. claude-sentin  18r   1,607   82.5M  1.59M   $29.6 ░░░░░░  1.7%        ║
║ 8. argon-archite   2r     132    3.8M    74k   $1.79 ░░░░░░  0.1%        ║
║ 9. carbon-sentin   1r      60    3.0M    57k   $1.35 ░░░░░░  0.1%        ║
║ 10. claude-speci   1r      31   11.8k    227   $0.00 ░░░░░░  0.0%        ║
╚══════════════════════════════════════════════════════════════════════════╝

Advanced Workflows: Gemini Notebook, Scheduled Gemini Tasks & Split-Trust

  1. Zero-Token Reference Lookup with Gemini Notebook: Store large hardware manuals, RFCs, or API specs in Gemini Notebook, extract exact cited excerpts in Gemini, and dispatch a concise brief via send_handoff_and_resume so local agents start coding immediately without burning local context scanning PDFs.

  2. Searchable Project Memory (export_notebook with dry_run Preview): Export completed session plans and walkthroughs into SHA-256 deduplicated Markdown files (YYYY-MM-DD_<repo>_<title>_<id>.md) via manage_background_run(action="export_notebook") (pass dry_run=True first to preview pending exports).

  3. Scheduled Gemini Tasks & Split-Trust Lock Options:

    • AG_BRIDGE_ALLOW_LOCKED_STATS=true: Allows get_session_tree(include_stats=True) and manage_background_run(action="stats") to return policy-safe usage/quota summaries while locked without exposing code, paths, or chat messages.

    • AG_BRIDGE_ALLOW_LOCKED_STAGING=true: Allows send_handoff_and_resume(..., resume_headless=False) while locked to stage incoming notes into sidecar_data/ag-bridge-bg/quarantine_handoffs/.

    • Single-Turn Multi-Repo Drift Audits: Call inspect_git_diff(workspace_override="ALL") to audit uncommitted changes across every repository in one turn.

  4. Virtual URI Dispatcher (virtual_uris.py): Read untruncated conversation turns (transcript:<conv_id>:turn:latest), nested session artifacts (brain:<conv_id>/scratch/...), Praxis/Polyglot maps (praxis:map, praxis:handoffs, polyglot:search:<q>), and policy-safe telemetry (telemetry:stats) directly via ask_workspace_readonly.


Available MCP Tools (17 Total Across Dual Doorways)

1. agy-nexus-mcp Remote & Mobile Bridge Surface (11 Tools)

Tool

What It Does

unlock_sessions(spoken_passphrase, search_query="")

Verifies your voice/text passphrase, unlocks the sliding-TTL deadbolt, and returns numbered recent sessions (1..N) plus live usage telemetry.

lock_bridge()

Immediately engages the deadbolt and clears unlocked session state.

list_saved_sessions(limit, status_filter, include_subagents)

Lists recent Antigravity chats with live status (RUNNING, STALLED_WAITING_APPROVAL, COMPLETED, IDLE, RETIRED), continuity tier, project path, and summary.

load_session_into_gemini(session_identifier, include_files)

Loads a chat by #N, <repo-slug>-NN, UUID prefix, or title keyword—returning task.md, implementation_plan.md, walkthrough.md, git status, 7-day signed visual_artifacts, workspace_url, continuity tier, and job-first suggested_actions.

get_session_tree(active_only, project_filter, limit, include_stats, period, style)

Renders the copy-ready 76-column ASCII Project -> Chat -> Session ID + [HANDOFF <slug>-NN] hierarchy, 3-2-1 backup status, and optional include_stats=True three-tier ASCII telemetry.

ask_workspace_readonly(question, search_query, file_subpath, start_line, end_line, session_identifier, workspace)

Searches code (bounded multi-repo git grep + live transcript_full.jsonl/brain/ search) or reads up to 12 files with line slicing, Virtual URIs (transcript:, brain:, praxis:, telemetry:), and cached Polyglot outlines.

inspect_git_diff(target_branch, include_untracked, workspace_override, file_path, offset_chars, start_line, end_line, session_identifier, workspace)

Inspects current branch, status, and paginated git diff for a repository—or pass workspace_override="ALL" to audit drift across all repositories in one call.

inspect_visual_artifacts(session_identifier, artifact_filter, max_images, include_binary)

Encodes crisp adaptive WebP previews (< 20 KB wire budget) alongside 7-day HMAC-SHA256 signed /web/media/ links and canonical /web#workspace deep links.

send_handoff_and_resume(research_markdown, resume_headless, execution_mode, session_identifier, workspace_path, project_name, create_new_project, session_continuity, retire_session, retirement_summary, ...)

Stages repo-prefixed <slug>-NN handoffs, enforces fail-closed PROJECT_NOT_FOUND & [RETIRED_SESSION_GUARD] checks, handles RESUME_STAGED, continuity-aware rollover, in-place closeout/retirement (RETIRED.json), and wakes Antigravity.

manage_background_run(action, job_id, tail_lines, period, style, dry_run)

Monitors background jobs (status, tail, stop), renders sessions or 3-tier stats, or exports SHA-256 deduplicated plans/walkthroughs (export_notebook with dry_run preview).

list_models_and_agents(include_skills, include_rules, skill_scope_filter, inspect_name)

Lists configured Agent Roles, Skills, Rules, and Dual-Pool quota settings, or reads a specific skill/rule contract via inspect_name.

2. agy-praxis-mcp Local Antigravity IDE Surface (6 Tools — LAN-Only / --stdio)

Tool

What It Does

polyglot_map(workspace="", path_prefix="", limit=120, force_refresh=False)

Builds or incrementally refreshes the SHA-256 Polyglot index for a workspace and returns its semantic file map, line counts, and top symbol spans.

polyglot_search(query, workspace="", kind="", limit=25, force_refresh=False)

Searches indexed functions, classes, methods, headings, JSON/YAML keys, CSS rules, and 1-liner docstrings with exact Lstart-Lend slice hints.

polyglot_outline(file_subpath, workspace="", include_callers=False)

Returns the complete Lstart-Lend structural outline, signatures, >100L function warnings, and 1-liner docstrings for a single file.

praxis_handoff_inbox(workspace="", status_filter="ALL", include_superseded=True, limit=25)

Lists repo-prefixed Gemini handoffs (<repo-slug>-01, <repo-slug>-02, ...) across STAGED, IN_WORK, SUPERSEDED, and COMPLETED states.

praxis_claim_handoff(handoff_id="", workspace="", conversation_id="", force=False)

Atomically claims a staged <repo-slug>-NN ticket for IDE execution (STAGED $\rightarrow$ IN_WORK), returning unwrapped specification_markdown (or disambiguating candidates).

praxis_update_handoff(handoff_id, status="COMPLETED", conversation_id="", notes="")

Updates a handoff ticket's lifecycle state (COMPLETED, IN_WORK, STAGED, or SUPERSEDED).


Comparison with Typical Antigravity Bridges

Feature

Typical Community Bridges (agy-bridge, meridian, ag-local-bridge)

agy-nexus-mcp (v4.0.6)

Connection Architecture

Local stdio pipe or single-chat Telegram/WhatsApp bot

Dual-Doorway Streamable HTTP MCP (agy-nexus-mcp for Gemini Web/Mobile/Tasks + LAN-only agy-praxis-mcp for local Antigravity IDE)

Zero-Trust Security

None or static chat-ID allowlist

5-Layer Defense: Secret URL Path + Voice/Text Deadbolt + LAN-Only Praxis Gate + Sandboxed ZIP/File Readers + HMAC Host Bridge

Parallel Isolation & Routing

Single active chat; parallel tabs overwrite state

Keyed Context Slots (active_contexts + Auto-Prune) + Fail-Closed 3-Pillar Resolver + <repo-slug>-NN Queue + Proportional Fast-Path

Session Lifecycle & Closeout

Blind context overflows or manual chat juggling

Strict Recency Sorting + Continuity-Aware Rollover + In-Place Closeout & RETIRED.json Tombstones + @Agy Nexus Mcp 1-Tap Chips

Web Studio & Showcase App

None

Quiet UI v9.3.0 Studio (/web) + Static GitHub Pages Showcase: 8-Model Micro-USD Cost Ledger, Active-Day Whiskers, 2-Pane Workspace & Gallery

Visual Artifact Round-Trip

None

7-Day HMAC-SHA256 /web/media/ Links + Press-and-Glide Selection + Per Sheet 2/4/8 3072px Sheets + Direct .png Downloads + Web Share v2 + .zip

Chat ASCII Telemetry

None

Dynamic 8-Model Three-Tier ASCII (default 72-col, quick 40-col mobile, rich 76-col desktop) + 76-Col Session & Model Matrices


Bundled 12-Agent Orthogonal Roster (agents/)

agy-nexus-mcp ships with the synced Dual-Pool subagent roster in agents/ (swarm-orchestrator, flash-scout, argon-architect, flash-surgeon, hydrogen-surgeon, neon-surgeon, argon-surgeon, flash-auditor, argon-sentinel, claude-specialist, claude-sentinel, pool-failover) verified via scripts/sync_agents.py --check.

python3 scripts/sync_agents.py --apply   # Sync agents/*.md -> ~/.gemini/config/agents/

Subagent runs, $ Est. Cost, and Avg Tok/Run appear in /web and ASCII reports. See AGENTS.md and agents/README.md.


Repository Layout (v4.0.6)

(See AGENTS.md for the complete modular architecture reference.)

agy-nexus-mcp/
├── src/agy_nexus/        # Modular backend/MCP modules (<=500L target, 650L ceiling):
│                         #   model_pricing, cost_ledger, project_stats, ascii_{default,rich,models},
│                         #   config, hygiene, polyglot_*, handoff_*, tools_praxis, stats*, media*,
│                         #   bucket_*, web_routes, uploads, sessions, routing, target_resolver, server
├── ag_bridge.py          # Backward-compatible 75-line root entrypoint shim
├── web/                  # Quiet UI v9.3.0 Studio PWA (primary /web + /web/v9 + offline vendored ECharts):
│                         #   index.html, manifest.webmanifest, sw.js, demo_snapshot.js, v9/* & v9/vendor/*
├── host_bridge/          # Loopback-only authenticated Host Companion (:8098), CreateProject & HMAC security
├── agents/ & skills/     # Synced 12-Agent Dual-Pool Roster & agy-nexus-stats SKILL.md
├── docs/                 # DEPLOYMENT.md, WORKFLOWS.md, QUIET_UI_V9_FIELD_REPORT.md & assets/ screenshots
├── scripts/              # setup, sync_agents, check_model_drift, export_depersonalized_showcase, build_github_showcase, publish_to_github
├── systemd/ & .github/   # 01:45 AM drift watchdog timer & issue/PR templates
├── tests/                # Pytest regression suites + conftest STATE_FILE isolation (v2.6 – v4.0.6)
└── README.md, AGENTS.md, CHANGELOG.md, SECURITY.md, CONTRIBUTING.md, ACCESSIBILITY.md, LICENSE, NOTICE

License, Attribution & Security Integrity (GNU AGPLv3)

agy-nexus-mcp is free and open-source software licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) — see LICENSE and NOTICE for full terms.

What This Means in Plain Language

  1. Always Open & Share-Alike (Including Network / Hosted Use — AGPLv3 §13):

    • You are free to use, study, modify, and self-host agy-nexus-mcp.

    • If you distribute modified versions—or run a modified version as a hosted service or network-accessible MCP / /web server for others—you must make the complete corresponding source code publicly available under AGPLv3. Nobody can take this project private or wrap it into a proprietary commercial offering.

  2. Required Attribution & Brand Protection (AGPLv3 §7(b), §7(c) & §7(e)):

    • All copies, forks, and derivative works must preserve the copyright notices, license notices, and upstream attribution in NOTICE and in the /web and ASCII telemetry interfaces.

    • Modified versions must be clearly marked as modified and may not be advertised or misrepresented as the official original agy-nexus-mcp release.

  3. Security-Integrity Disclosure (AGPLv3 §7(c) & §5(a)):

    • The voice-passphrase deadbolt (PASS_HASH), unguessable PATH_SECRET routing, LAN-only agy-praxis-mcp isolation, path-traversal sandboxing, and read-only SQLite isolation are core security guarantees of agy-nexus-mcp.

    • Any fork or derivative work that weakens, bypasses, or strips these security controls must prominently disclose that its security boundary has been removed or altered and may not present itself under the unmodified agy-nexus-mcp / AGY-NEXUS identity.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local, permissioned development workflows from compatible AI clients, including filesystem editing, interactive terminals, durable jobs, Git operations, and semantic browser testing.
      53 npm
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Gemini CLI and ChatGPT to inspect, modify, and run commands in local code projects through MCP, including Git operations and multi-project session binding with secure remote access.
      104 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes a secure OAuth2 + SSE Model Context Protocol endpoint that lets Gemini Web read a local project's files, directory trees, search results, git status/diffs, and workspace info on a read-only basis. It also pairs the browser-side automation with a local bridge daemon so prompts and answers flow both ways between Gemini Web and Google Antigravity.
      2
      MIT