Skip to main content

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)

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

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.70.0
File Size Uploaded Provenance Actions
crossby-0.70.0.tar.gz 1.6 MB With provenance Details for crossby-0.70.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.5 MB

Release files / crossby-0.70.0.tar.gz

Download URL crossby-0.70.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
dc3686353e2600444714b5c60c1f5af438e57a1c44c668d81b63837fe84f3c39
BLAKE2b-256 checksum
How to use checksums
e0be192d2c74b82b7a8cd3d142f521f6624641bc7590a90fe1982ee69e00d796
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 30, 2026.

Transparency log

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

Download URL crossby-0.70.0-py3-none-any.whl
Size 873.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc0a401aae3449b6670662532d9b3d2bac9f46efbd66db2c430e4b5822bc0289
BLAKE2b-256 checksum
How to use checksums
eb91255e5fcccee6eeccaac88b8a4e9d383487ec49717bb9f3f9729393fbdf15
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 30, 2026.

Transparency log

Security for crossby 0.70.0

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.70.0.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 30, 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.70.0 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