crossby
One interface to every coding agent.
Ask another agent a question from inside the one you are using, in a session that is verified read-only. Hand a live session from Cursor to Copilot. Write a hook once and let it guard every agent. Share hooks, MCP servers, permissions, subagents and skills across tools. From your terminal or from Python.
Claude Code · Codex CLI · Cursor · GitHub Copilot CLI · OpenCode · Antigravity CLI
| Ask | crossby ask codex "Is there a race in invalidate()?": one question to another agent, read-only |
| Continue | crossby handoff --from claude --to codex: carry a session into another tool |
| Launch | crossby launch --tool cursor --plan: one set of flags for every tool |
| Carry | crossby sync --from claude: your setup, translated into each tool's format, and revocable |
| Guard | crossby.hooks: one hook script, every agent's hook format |
| Build | crossby.api: headless, plan and read-only sessions on every CLI |
Install
uv tool install crossby # or: pipx install crossby, pip install crossby
Requires Python 3.11+. Run crossby with no arguments for an interactive menu.
Ask another agent
crossby ask codex "Is there a race in src/cache.py invalidate()?"
git diff | crossby ask claude -
The answer comes from a fresh session under that tool's own read-only mode, and crossby reports which channels were really blocked (enforced, not_enforced or unknown) instead of assuming. --require-blocked CHANNEL refuses to start unless a channel is blocked. More
Continue in another tool
crossby handoff --from claude --to codex
crossby summarizes your latest session and starts the other tool with it. Sources: Claude Code, Cursor, Codex, Copilot. More
Launch any tool the same way
crossby launch --tool codex --model gpt-6-sol --effort high --plan
crossby launch --scene pr-review # only the skills, agents and MCP servers this task needs
Model, effort, plan mode and autonomy (--accept-edits, --auto, --yolo) map to each tool's own flags. Launch · Scenes
Carry your setup
crossby sync --plan --from claude # see what would be written
crossby sync --from claude
Hooks, MCP servers, permissions and subagents are translated into each tool's own format, with Codex TOML, environment-variable syntax and auth headers handled. crossby removes only what it wrote itself. More
One guard, every agent
Claude Code, Codex, Cursor, Copilot and Antigravity CLI each send a hook its input in their own shape and expect the decision back in their own. crossby.hooks reads all five and answers in the right one, and a deny exits non-zero wherever the tool allows it, so a guard fails closed.
import sys
from crossby.hooks import AIToolID, HookDecision, emit_decision, output_dialect_for, parse_event
event = parse_event(sys.stdin.read())
tool = AIToolID(sys.argv[1]) # registered per tool: guard.py claude, guard.py cursor, ...
blocked = event.is_write and "migrations/" in (event.file_path or "")
decision = HookDecision.deny("migrations/ is generated.") if blocked else HookDecision.allow()
out = emit_decision(decision, output_dialect_for(tool), event=event.event)
sys.stdout.write(out.stdout)
sys.stderr.write(out.stderr)
sys.exit(out.exit_code)
Build on it
from pathlib import Path
from crossby.api import AskRequest, CliBackend, ProjectWorkspace, ask
result = ask(AskRequest(backend=CliBackend(tool="codex"), prompt="Review this diff", workspace=ProjectWorkspace(path=Path("."))))
print(result.text, result.restrictions)
Unattended and brokered headless sessions, native plan collection and persona folders, on every CLI, with tested minimum versions. Python API · Headless sessions · Plan mode
Honest by default
crossby tells you what was enforced and what was not, never deletes what it did not write, and refuses only what you asked it to require.
What crossby supports
crossby drives eight tools, but not every tool does every job. The tables below are the source of truth for every support claim in this README.
Direct sync targets
The Agents checkmarks describe definition portability, independently of runtime subagent readiness.
A sync writer exists for five tools. These are the only tools crossby writes configuration into:
| Surface | Claude | Cursor | Copilot | Codex | Antigravity CLI |
|---|---|---|---|---|---|
Rules (AGENTS.md ↔ CLAUDE.md ↔ .cursorrules ↔ Copilot) |
✓ | ✓ | ✓ | ✓ | ✓ |
| Agents (subagents) | ✓ | ✓ | ✓ | ✓ | ✓ |
| Skills | ✓ | ✓ | ✓ | ✓ | ✓ |
| MCP servers | ✓ | ✓ | ✓ | ✓ | ✓ |
| Hooks | ✓ | ✓ | ✓ | ✓ | ✓ |
| Permissions | ✓ | ✓ | — | — | — |
A checkmark is per surface, not per tool — the exceptions are real:
- Permissions sync only to Claude and Cursor — the tools with a persistent per-project permission file that crossby writes. Copilot, Codex, and Antigravity CLI gate command permissions through launch-time flags or sandbox modes (
--allow-tool,--dangerously-skip-permissions) rather than a synced policy file, so they have no permission writer. (Antigravity CLI's--sandboxis a terminal-restriction flag, not a permission grant, and crossby does not emit it.) - Plugins are detected, never written.
.claude/plugins/,.claude/plugin-marketplaces.json, and.claude-plugin/marketplace.jsonare reported asNot Added; their bundled commands/agents/MCP servers must be migrated by hand.
Launch and handoff
Launching and handoff reach a wider set of tools than sync:
| Tool | Direct sync | Launch | Handoff source | Handoff target |
|---|---|---|---|---|
| Claude | ✓ | ✓ | ✓ | ✓ auto |
| Cursor | ✓ | ✓ | ✓ | ✓ auto |
| Copilot | ✓ | ✓ | ✓ | ✓ auto |
| Codex | ✓ | ✓ | ✓ | ✓ auto |
| Antigravity CLI | ✓ | ✓ | — | ✓ auto |
| OpenCode | — | ✓ | — | ✓ auto |
| Antigravity IDE | via Antigravity CLI | ✓ (GUI) | — | manual |
| VS Code | — | ✓ (GUI) | — | manual |
- OpenCode and VS Code are launch adapters, not sync targets. crossby can launch them (and hand off to them), but neither has its own sync writer, so a sync never targets them directly. (One shared-file caveat: Copilot's MCP config lives at
.vscode/mcp.json, so a sync to Copilot does write into that workspace file — as the Copilot target, not a VS Code one.) - The Antigravity IDE consumes the CLI's configuration transitively. It reads the same project-level
.agents/layout as Antigravity CLI (AGENTS.md,.agents/skills,.agents/agents,.agents/mcp_config.json), so syncing toantigravity-cliprovisions the IDE too. There is no separate IDE sync target. - "✓ auto" vs "manual" handoff. For CLI targets, crossby launches the tool with the handoff summary pre-loaded as the initial prompt. GUI tools (VS Code, Antigravity IDE) can't take an initial message, so crossby writes the handoff file and prints its path for you to open by hand — it does not launch them with the context loaded.
Per-tool flag mappings and adapter internals live in CONTRIBUTING.md.
Documentation
- Sync — what gets synced, strategies, manual-fix blocks, revocation.
- Scenes — task-shaped scenes, session-scoped launches, isolated worktrees, authoring.
- Handoff — continue a session in another tool.
- Ask — ask another agent, consultations, read-only profiles, the event journal.
- Panels — a lead consulting several members at once.
- Python API —
crossby.api, persona folders, what each read-only profile blocks. - Launch — launch flags, autonomy modes, model translation, the Codex sandbox.
- Headless — managed headless sessions, the verified support matrix, subagent readiness.
- Plan mode — native plan mode, collected plan sessions, interactive planning.
- Hooks —
crossby.hooks, one guard script for every agent's hook dialect. - Browser terminal — the browser terminal,
crossby ui. - Configuration —
.crossby.yml, updating installed tools, the agent runbook. - CONTRIBUTING.md — architecture, how to add a new tool, per-tool flag reference, release process.
- Evidence and audits: unattended headless sessions, brokered sessions, native plan launch, Codex terminal plan, isolated scene launches, MCP activation, MCP environment references.
Contributing
Issues and PRs welcome. See CONTRIBUTING.md for development setup and architecture.
License
MIT
Metadata
Release files for crossby 0.68.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crossby-0.68.1.tar.gz | 1.6 MB | With provenance | Details for crossby-0.68.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crossby-0.68.1-py3-none-any.whl | Python 3 | none | any | Details for crossby-0.68.1-py3-none-any.whl |
Total release size: 2.4 MB
Release files / crossby-0.68.1.tar.gz
| Download URL | crossby-0.68.1.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8600f0d0a154d722e9a53aead7fd78442dc193b28eb5565bfa161a67f3f3e3d4
|
|
BLAKE2b-256 checksum How to use checksums |
cab122ddf7a034396fffb9e171d23b3582b13ebc5ee0a0405b9e0184bb1047a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / crossby-0.68.1-py3-none-any.whl
| Download URL | crossby-0.68.1-py3-none-any.whl |
|---|---|
| Size | 864.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b56dd7275dc3857d3ba9293f11757b2668b23af4386c9e4f2f3d861cd7c9d932
|
|
BLAKE2b-256 checksum How to use checksums |
a7006e9e2a8bc68f2ee13136255c0b7c8daff1da235a976388ef25a321b0741b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for crossby 0.68.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for crossby-0.68.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.