返回目录
模型与 MCP 待识别

cospan

keli-wen/cospan

Orchestrate every model in its native harness — unified async delegation across Antigravity, Codex, Claude Code, and DeepSeek Harness.

Stars
1
Forks
0
Issues
0
更新
5 天前

PROJECT TOPICS

项目标签

PROJECT README

README

COSPAN

English | Simplified Chinese

Antigravity: plugin Codex: plugin
Claude Code: plugin DeepSeek Harness: plugin
license: MIT

Orchestrate every model in its native harness. Unified async delegation across Antigravity, Codex, Claude Code, DeepSeek Harness, and more harnesses coming soon.

Cospan orchestration adapter connecting Antigravity, Codex, Claude Code, and DeepSeek Harness

Why Cospan · Core CUJs · Install · Harnesses · References

Why Cospan

Frontier coding models perform best inside the native harnesses they were co-trained with—so the real unit of orchestration is Model × Harness, and different ecosystems bring distinct strengths: Gemini 4 Carbon (agy) for architecture and planning, GPT-6.2-Sol (codex) for deep bug-hunting review, GPT-6.1-Terra (codex) for live GUI and browser computer use, and Claude (claude) for frontend craft. Combining them unlocks massive leverage; humans can bridge harnesses manually with handoff prompts today, but orchestration belongs to the agents themselves.

Inspired and battle-tested by agy-staff, Cospan turns cross-harness delegation into an async, progressively disclosed protocol behind one unified adapter: your host dispatches peer Model × Harness units in the background, stays unblocked with a clean context window, and pulls live status or full execution traces only when needed—forming a clean foundation for next-generation multi-agent collaboration.

Why Cospan minimalist line-art diagram: moving from manual handoff ("You are the router") to Cospan ("Agents orchestrate peers") across Model × Harness units with async progressive disclosure

Core CUJs

Basic dispatch: one command, zero plumbing

Invoke /cospan-<harness> (or /cospan:<harness> in Claude Code, $cospan:<harness> in Codex) and specify any target model, reasoning effort, or timeout right in your prompt:

/cospan-codex Use sol (high effort, 20m timeout) to review src/webhook/ and flag real edge cases.

[!TIP] Handled automatically under the hood (no need to manage this yourself): Your host agent autonomously frames context (inline text or --prompt-file), launches a detached background session (send), monitors progress non-blockingly (wait / bounded observe, inspecting full trajectory logs only if needed), and collects the result—or resumes the same session (continue) for follow-up turns.

Unified live sidebar (agy & dsh)

Installing on Antigravity (agy) or DeepSeek Harness (dsh) adds the unified Cospan sidebar panel—tracking live background runs across all four harnesses, inspecting Q&A outputs, and aggregating sibling Git worktrees (wt:*) in one view (Install ↓):

Unified Cospan sidebar panel inside Antigravity (agy) and DeepSeek Harness (dsh) tracking Codex, Claude Code, Antigravity worktree, and DeepSeek Harness tasks

Cross-ecosystem workflows

  • Parallel Sol slice reviews from Carbon (Antigravity → 2× Codex) — Split deep code reviews across modules without blocking local tests; staggered async results merge cleanly on wakeup:

    /cospan-codex "Fan out 2 sol reviews across webhook/ and retry/ for real bugs."

    Gemini 4 Carbon uses 2 GPT-6.2-Sol reviewers to audit webhook/ & retry/ in parallel without blocking

  • Multi-turn Carbon second brain for Astra (Codex ⇄ Antigravity) — Stress-test migration plans against a second model family and follow up in the same session while staying unblocked locally:

    $cospan:agy "Ask carbon to stress-test docs/plan.md, propose a cleaner route, and verify crash recovery."

    GPT-6.2-Astra consults Gemini 4 Carbon across 2 turns to stress-test docs/plan.md & verify crash safety

  • Delegate GUI computer use from Claude Code to Terra (Claude Code → Codex) — Keep code and unit-test orchestration in Claude Sonnet, while GPT-6.1-Terra drives the live browser to catch layout bugs:

    /cospan:codex "Have terra open the local app and walk through the checkout coupon flow."

    Claude Sonnet uses GPT-6.1-Terra to drive the browser GUI, test SAVE20 at 375px, and catch a mobile CTA bug

  • Parallel cross-ecosystem sidecars for Fable (Claude Code → Antigravity + DeepSeek Harness) — Protect scarce flagship context and quota by offloading repo surveys and concurrency checks simultaneously:

    "Map auth token refresh with hydrogen and verify 401 race conditions with v4.1-flash."

    Claude Fable offloads auth mapping to Gemini 4 Hydrogen & race checks to DeepSeek V4.1 Flash in parallel

  • End-to-end research & review topology from Carbon host (Antigravity ⇄ Codex + ×N Antigravity) — Drive a full plan → gate → bulk experiment → final audit → fix pass topology from Gemini 4 Carbon across Astra, Hydrogen ×N, and Sol:

    "Have astra review my spec, fan out hydrogen across all experiment configs, audit with sol, and send sol's fixes back to hydrogen for one final pass."

    Carbon (host) plans with Astra, fans out Hydrogen ×N, audits via Sol, and passes fixes to Hydrogen

Install

Requires Node.js >= 20 plus the CLIs for whichever harnesses you want to connect (agy, claude, codex, dsh). Install the native plugin into the harness(es) you drive from:

Antigravity (agy)

git clone https://github.com/keli-wen/cospan.git ~/.cospan/repo
node ~/.cospan/repo/bin/cospan.mjs install --host agy

Claude Code (claude)

claude plugin marketplace add keli-wen/cospan
claude plugin install cospan@cospan

OpenAI Codex (codex)

codex plugin marketplace add https://github.com/keli-wen/cospan
codex plugin add cospan@cospan

DeepSeek Harness (dsh)

dsh plugin --profile desktop add github:keli-wen/cospan

(Or in the DeepSeek Harness desktop app: Plugins → install from github:keli-wen/cospan.)

Restart Claude Code or Codex afterwards so the plugin loads (/cospan-… in Antigravity and DeepSeek Harness, /cospan:… in Claude Code, $cospan:… in Codex—or describe what you want in plain language).

Harnesses

Harness Ecosystem Built-in model shortcuts
Antigravity (agy) Google · Gemini & Claude flash, carbon, argon, hydrogen, opus, sonnet
Codex (codex) OpenAI · GPT sol, terra, astra, luna
Claude Code (claude) Anthropic · Claude sonnet, opus, haiku, fable
DeepSeek Harness (dsh) DeepSeek & custom providers v4.1-flash / flash, v4-pro / pro, <provider>/<model>

More harnesses are on the way—Cospan's driver layer is designed to plug in additional coding agent CLIs cleanly.

References

  • agy-staff — Hire Google's Antigravity CLI (agy) as a fast worker and second brain across Claude Code, Codex, DeepSeek Harness, Pi, and OpenCode. Cospan generalizes the async jobs protocol and progressive disclosure architecture first pioneered and benchmarked in agy-staff (Bench v1 Tech Report).

License

MIT © 2026 Keli Wen · Architecture & contributor guide in AGENTS.md.

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp、mcp-server、deepseek-harness。