Hybrid SAGE
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Hybrid SAGE
Hybrid SAGE (State-of-the-Art Agentic Genomics & Engineering Orchestrator): Bidirectional MCP router & plugin bridging OpenCode (local or self-hosted workhorse) and Antigravity (frontier cloud architect) with passive episodic lesson transfer and an integrated PII/PHI/Secret airgap firewall.
π Key Capabilities (v2.0 Open-Core Plugin)
6 Native Agent MCP Tools (CLI-to-CLI Symbiosis):
fleet_status: Live OpenCode CLI readiness, FIFO slot-0 idle status, configured fleet units, episodic lessons count, and cumulative ROI ledger (tokens_offloaded,cloud_echo_tokens_saved,estimated_cloud_savings_usd).route_task: Upfront 5-axis classifier + pre-flight airgap scanner + project lesson recall determining whether a task belongs on local OpenCode or upstream Antigravity.delegate_local: Offloads code generation, unit tests (mode="test"), docstrings, or cross-family read-only review (mode="review") directly through headless OpenCode (opencode run --agent reviewer|build|plan --format json --auto) for $0 cloud quota with unlimited local token/reasoning budget,output_pathdirect-to-disk write, andverify_command.escalate_task: Escalates complex architectural decisions, race conditions, or 2-strike blockers from OpenCode to Antigravity in strictly read-only Senior Architect mode (agy --mode plan --model ... --print), recording reusable invariants intoNOTES.mdandlessons.jsonl.manage_handoff: ManagesNOTES.mdhandoff specs and project-scoped episodic lessons (action="learn"/action="recall").airgap_scan: Pre-flight PII/PHI/Secret firewall scanning prompts and files for API keys, private keys, clinical identifiers (NIK,MRN), and genomic VCF headers, with prompt + file redaction (redact=true).
Unified Harness Configuration:
Local tasks execute through
opencode, inheriting your existing~/.config/opencode/opencode.jsonprovider, LSPs, skills, and permissions. Cloud escalations execute throughagy --mode plan.
Zero-Weight-Touch Passive Enhancement:
Frontier diagnoses automatically distill into
flock-protected, repo-scoped episodic lessons (~/.config/opencode/lessons.jsonl) injected into OpenCode's system promptβimproving local reasoning without LoRA catastrophic forgetting or quantization degradation.
Related MCP server: agent-delegation-mcp
β‘ Quickstart (Install as Plugin Across Devices)
git clone https://github.com/bioassembly/hybrid-sage.git
cd hybrid-sage
bash install-plugin.shOr install as a standard PEP 621 Python package:
pip install -e . --break-system-packagesποΈ Repository Layout
hybrid-sage/
βββ .opencode/
β βββ command/ # OpenCode slash commands (/fleet, /route, /escalate)
β βββ plugins/hybrid-sage.mjs # OpenCode plugin & project-scoped lesson prompt injector
βββ bin/
β βββ sage # Optional unified CLI wrapper
β βββ sage-local # CLI bridge to headless OpenCode
β βββ sage-route # 5-axis capability, context & privacy classifier
βββ configs/
β βββ fleet.json # Declarative unit topology (opencode <-> agy)
βββ docs/ # Architecture, playbooks, routing matrix & privacy budget docs
βββ plugins/
β βββ hybrid-sage/ # Antigravity plugin manifest & Return-to-Local rules
β βββ mcp_core.py # Open-Core Engine (OpenCode bridge, airgap firewall, lessons, ROI)
β βββ mcp_server.py # Atomic hot-reloading JSON-RPC stdio MCP server
βββ scripts/ # Handoff, status & flock-protected shared memory utilities
βββ skills/model-router/SKILL.md # Native agent routing & local OpenCode offloading skill
βββ tests/test_hybrid_sage_v2.py # Deterministic unit test suite
βββ install-plugin.sh # Cross-device plugin installer for Antigravity & OpenCode
βββ pyproject.toml # PEP 621 Open-Core Python package definition
βββ README.md # Overview & quickstartThis server cannot be deployed
Maintenance
Related MCP Connectors
Shared workspace where Claude, ChatGPT, Codex and Grok share files, tasks, decisions and handoffs.
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
One shared project for a team's coding agents: decisions, a task board and handoffs.
Your team's coding agents from any vendor claim work, hand off and prove what shipped, in one room.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceRoutes code generation tasks between local models and Claude Cloud, optimizing cost by handling simple tasks locally and reserving cloud thinking for complex tasks.-
- AlicenseNot gradedqualityAmaintenanceEnables Claude Code to delegate implementation tasks to Antigravity CLI and OpenCode, run them fully autonomously, and then review and gate the results.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables hybrid agentic coding by delegating token-heavy implementation, editing, and test-debug loops to local open-source models while frontier cloud models handle architecture and review, reducing premium API token usage and keeping code private.1-
- AlicenseAqualityAmaintenanceEnables Claude Code and Claude Desktop to delegate token-heavy tasks to Antigravity headless subagents, offloading file edits, test runs, and exploration while preserving Claude's context window.1210 npm1MIT