crossagent MCPサーバー
コミット 2026年10月23日隣接するtmuxペインに2つのコーディングエージェントを配置し、すべての計画やdiffに対して判定を必要とするドライバー・レビュアー・ワークフローを実現します。
別名 k8adev/crossagent
- スター
- 7
- ツール
- 8
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年10月23日
- ライセンス
- MIT
crossagent MCPとは
隣接するtmuxペインに2つのコーディングエージェントを配置し、すべての計画やdiffに対して判定を必要とするドライバー・レビュアー・ワークフローを実現します。 8個のツールを提供しており、ping, list_peers, sendなどがあります。
プロジェクトのREADMEから生成された概要
crossagent MCP server について
crossagentは、隣接するtmuxペインに2つのコーディングエージェントをペアリングし、ドライバー・レビュアー・ワークフローを確立します。このセットアップにより、1つのエージェントが計画やdiffを提案し、もう1つのエージェントがピアレビュアーとして機能することで、すべての変更が進行前に正式な判定を受けることを保証します。tmuxを転送メカニズムとして完全に動作するため、機能するためにネットワーク接続、共有ファイル、またはソケットを必要としません。
Claude CodeまたはCodex CLIを使用している開発者は、npx経由でこのサーバーを追加することで統合できます。このシステムは、同じgitリポジトリ内での自動的なピア発見のためにpingコマンドを利用します。リンクされると、エージェントはdiscuss、ask_review、list_peersなどのツールを使用して通信します。このプロトコルは、ドライバーエージェントの次のステップを導くために、すべてのレビューがAGREE、ADJUST、またはOBJECTなどの特定の判定で終了しなければならないという厳格な契約を強制します。
できること
- 1コード変更に対するピアレビューの強制AIに対し、提案された実装を2番目のエージェントに送信して正式な判定を求めるよう指示します。
- 2古いエージェントの会話のクリアクライアントに対し、ピアエージェントの会話履歴をリセットして新しく開始するよう指示します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
crossagent MCPツール 8
READMEから検出pinglist_peerssendreadwait_replybriefdiscussask_review
| ping | — | |
| list_peers | — | |
| send | — | |
| read | — | |
| wait_reply | — | |
| brief | — | |
| discuss | — | |
| ask_review | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能k8adev/crossagent is public and reachablegithub.com/k8adev/crossagent ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-23github.com/k8adev/crossagent ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない8 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るcrossagent
crossagent pairs two coding agents running in adjacent tmux panes: one drives, the other reviews. Every plan and diff goes through the peer before it ships, and the reply always ends in a verdict. tmux is the only transport — no network, no shared file, no socket.
Install
Requirements: Node.js 22 or newer, tmux, and two panes each running a coding agent (Claude Code, Codex CLI), both inside the same git repository for automatic peer discovery. Each agent must call ping once — registration happens on that call, not on server startup.
Run npx from outside a clone of this repo — inside it, npx resolves the local package instead of the published one.
Step 1. Add the MCP server to each agent.
claude mcp add crossagent -- npx -y crossagent-mcp
codex mcp add crossagent -- npx -y crossagent-mcp
Step 2. Link the pair skill so both agents load the pairing protocol proactively.
npx -y crossagent-mcp setup --link
This symlinks skills/pair into ~/.claude/skills/pair, ~/.codex/skills/pair (or $CODEX_HOME/skills/pair) and ~/.agents/skills/pair. setup --unlink reverses it, removing only the symlinks it created.
Without step 2, the protocol is still available as the pair MCP prompt (/mcp__crossagent__pair in Claude Code). Details in docs/skill.md.
brief sends the harness's reset command to the peer pane (/clear for Claude Code, /new for Codex), clearing its current conversation. It is never needed for discuss to work and never runs automatically.
How it works
- ping — each agent registers its pane, harness and repository so the peer can be found.
- brief — resets the peer's conversation. Call it by hand only to clear a stale peer; it sends no role text.
- discuss — every round's task and context go here. Each message carries a short role brief (same-level copilot or reviewer bound to the
VERDICT:contract), so the peer needs no setup, and every plan or diff sent this way ends in one verdict line.
The last line of every review is VERDICT: <word>:
| Verdict | Meaning | Driver does |
|---|---|---|
AGREE |
No corrections. | Ships it as is. |
ADJUST |
Fine once the listed items are fixed. | Fixes them, or argues back when one is wrong. |
OBJECT |
Do not proceed as written, reasons included. | Reworks the plan and asks again. |
ESCALATE |
Only the human can call this one. | Stops and brings it to the user. |
UNPARSED |
Not a verdict — reply had no readable VERDICT: line. |
Asks again. |
The full round format, review extraction and verdict parsing are in docs/protocol.md.
Tools
| Tool | Description |
|---|---|
ping |
Registers this pane's identity and returns pane/harness/repo/mode. |
list_peers |
Lists other crossagent-visible tmux panes. |
send |
Sends literal text + Enter to a tmux pane. |
read |
Captures the last N lines from a tmux pane. |
wait_reply |
Waits until the peer pane's harness looks idle, returns the new content. |
brief |
Resets the peer pane's conversation (/clear, /new). |
discuss |
Sends a review round (role brief + message), parses the VERDICT: line. |
ask_review |
Alias of discuss with kind: "implementation". |
pair (prompt) |
The full pairing protocol as a single user message. |
Arguments and defaults: docs/tools.md. When pane is omitted, the target is the repo-scoped agent peer: shell panes are ignored, and with several agents the one in your own tmux window wins if it is the only one there.
Configuration
Optional config lives at ~/.config/crossagent/config.toml. Each harness's idle/busy detection regexes and its reset command (used by brief, e.g. /clear for Claude Code, /new for Codex) are overridable per harness, with tunable defaults for timeout, quiet period, and tail-window size. See docs/configuration.md for the full reference and examples.
How it finds the other pane
Each pane resolves its own tmux pane id, harness, and repo identity when ping is called, then self-declares them as tmux pane options so list_peers can find it. Codex CLI starts MCP servers lazily, so a Codex pane may not be discoverable by its declared identity until its first tool call. See docs/discovery.md for the full resolution logic and fallbacks.
Contributing
Bug reports, harness support, and protocol improvements are welcome. See CONTRIBUTING.md for dev setup, tests, and how to add a new harness. This project follows the Contributor Covenant.
Using another coding agent? Adding a harness means a detection entry in src/harness.ts and a config block; see CONTRIBUTING.md.
License
MIT
crossagent MCPのよくある質問
crossagent MCPが提供するツールは
8個のツールを提供しており、ping, list_peers, send, read, wait_replyなどがあります。
エージェント同士はどのように通信しますか?
エージェントはtmuxを転送メカニズムとして使用して通信するため、ネットワーク、共有ファイル、またはソケットを必要としません。
エージェントが受け取る可能性のある判定にはどのようなものがありますか?
判定にはAGREE、ADJUST、OBJECT、ESCALATE、UNPARSEDがあり、それぞれがドライバーエージェントに対して特定の動作を指示します。
エージェントをサーバーに登録するにはどうすればよいですか?
各エージェントがpingツールを一度呼び出すことで登録が行われます。サーバーの起動時に自動で行われるわけではありません。
Claude CodeやCodex CLI以外のエージェントでも使用できますか?
はい、harnessの設定に検出エントリを追加することで、他のエージェントのサポートを追加できます。