Skip to main content

crossby

One interface to every coding agent.

Ask another coding agent a question, hand off your session to another tool, or sync your setup from the coding agent you already use. Crossby also gives you a terminal and Python interface for launching agents, sharing configuration, and writing portable hooks.

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

Use Crossby in your coding agent

uv tool install crossby    # or: pipx install crossby, pip install crossby
crossby setup              # run in your project to install the skills

Requires Python 3.11+ and at least one configured coding tool. Open or reload the project in your host, then try a prompt:

Skill Try asking
crossby-ask “Use Crossby to ask Codex why this test might be hanging.”
crossby-handoff “Prepare a handoff of this Claude Code session for Codex so I can review it before switching.”
crossby-sync “Preview syncing my Claude Code skills and hooks into Cursor.”

Use $crossby-ask in Codex, /crossby-ask in Claude Code or Antigravity CLI, or name the skill in your prompt. Install for one host with crossby setup --tool codex. Setup leaves .crossby.yml alone and preserves existing skill files unless you explicitly use --force. Skill setup

Run crossby with no arguments for the interactive terminal 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

For multi-agent consultations and panels, see Comitia.

Continue in another tool

crossby handoff --from claude --to codex

Crossby summarizes a session from Claude Code, Cursor, Codex, Copilot, or Antigravity CLI and starts the other tool with it. 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)

Hooks

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 --sandbox is 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.json are reported as Not 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 to antigravity-cli provisions 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

Contributing

Issues and PRs welcome. See CONTRIBUTING.md for development setup and architecture.

License

MIT

Metadata

Release files for crossby 0.76.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crossby 0.76.1
File Size Uploaded Provenance Actions
crossby-0.76.1.tar.gz 1.5 MB With provenance Details for crossby-0.76.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crossby 0.76.1
File Interpreter ABI Platform Actions
crossby-0.76.1-py3-none-any.whl Python 3 none any Details for crossby-0.76.1-py3-none-any.whl

Total release size: 2.3 MB

Release files / crossby-0.76.1.tar.gz

Download URL crossby-0.76.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
13173c6aea30c58c3e9fb2828456801fc4158370b00b2a54896cce5de787e84b
BLAKE2b-256 checksum
How to use checksums
03ac2697620677981d0c18849332c9af70a1ef441b2a5d192678daac7c1ee881
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 Dec 1, 2026.

Transparency log

Release files / crossby-0.76.1-py3-none-any.whl

Download URL crossby-0.76.1-py3-none-any.whl
Size 828.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f042fbaa9f26890f30cee524811c36642850775c36d8d3daf2bf374cc945a9de
BLAKE2b-256 checksum
How to use checksums
bb65fc866dfefc385b13a27c813cb1af7697f791ead937143f9e7eb7e6190a62
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 Dec 1, 2026.

Transparency log

Security for crossby 0.76.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.

Select from 2 files

Attestation for crossby-0.76.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 Dec 1, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.76.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page