Claude · Gemini · Codex · OpenCode

Switch AI coding agents mid-chat without losing context.

Hit a Claude rate limit mid-refactor or want a second model's audit on the exact same bug? Because sikemux-core owns the canonical folded transcript, you can switch harnesses in the composer and keep working in one continuous thread, or snapshot the entire checkout into a resumable Baton.

brew install --cask nodelike/tap/sikemux
0

LLM summary tokens

Deterministic context selection built directly from the canonical thread log.

16K-64K

Window-relative budget

Automatically scales to 8% of the target model's effective context window.

1-click

Resumable Batons

Move staged, unstaged, and untracked edits plus task context to another account or host.

One continuous thread across Claude, Gemini, Codex, and OpenCode

Pick another harness in the model picker whenever a chat is idle. Sikemux starts a fresh vendor session behind the scenes, previews the exact handoff payload and token count above your composer, and keeps both models inside one unbroken conversation.

Cross-harness handoff docs

Live quota bars and one-click failover before you hit a wall

Track 5-hour session and 7-day usage bars across every Personal, Work, and Team account for Claude Code, Codex, and Antigravity. When an account hits its cap, the limit banner right under the chat offers Hand off baton so you can pick up immediately on another account or harness.

Accounts and live limits docs

Shared Playbook rules and decisions follow every handoff

Project rules, recent architectural decisions, and plain Markdown knowledge under .sikemux/space/memory/ belong to the project, not to a single CLI. Whether Claude starts the feature and Gemini writes the property tests, every agent reads the same ground truth.

Shared memory docs

Exactly what crosses over in a deterministic handoff

Instead of burning tokens on lossy LLM summaries, sikemux-core selects structured slices of the folded transcript inside an 8% target-window budget (clamped 16,000 to 64,000 tokens). Reasoning traces, raw tool blobs, and binary attachments stay out, while the new agent can read full prior history through Sikemux tools anytime.

Handoff sliceSelection ruleBudget cap
First user requestAlways preserved verbatim so the original goal never driftsUp to 12% of budget (8K to 24K chars)
Latest exchangesWord-for-word recent user and assistant turns until budget fillsSingle turn capped at 9% (6K to 18K chars)
Recent commandsUp to 20 shell commands with exit outcomes200 chars each (6% of budget)
Touched filesUp to 40 modified file paths from the thread3% of budget
Decisions and rulesUp to 40 project decisions (last 14 days) plus active rules10% decisions + 6% rules

Resumable Batons: snapshot code, edits, and proof in one click

Sometimes you need to move more than a chat transcript. A Sikemux Baton captures a complete snapshot of an agent's workspace: its checkout including staged, unstaged, and untracked edits, plus the task, its deterministic handoff payload, and verification proof, with secrets automatically stripped out. Creating a Baton leaves your Git branches untouched.

Saved Batons collect under Batons in the agents rail showing who created them, how long ago, and how many files they hold. Pick up any Baton in a fresh git worktree locally, on another Claude or Codex account, on a different model, or on a linked Linux or Mac host.

  • Switch back cleanly: Sikemux keeps the previous harness's vendor resume_id (RanOn), so returning to the original agent resumes its native session without re-sending a handoff.
  • Branch any conversation with /fork to test two models or approaches side by side from the exact same context.
  • Idle prompt-cache-boundary compaction tracks provider cache expiry windows so returning to a long chat avoids unnecessary cold misses.

Frequently asked questions

Does cross-agent handoff use an LLM to summarize my chat?

No. sikemux-core builds the handoff deterministically from its folded transcript with zero LLM summarization calls, and previews the exact token estimate above your composer before you send.

Which agents can hand off to each other?

Any chat-capable harness in Sikemux: Claude Code, Codex, Antigravity (Gemini), OpenCode, Hermes, Pi, OMP, Grok, Muse, and custom ACP agents.

What happens if I switch from Claude to Gemini and then back to Claude?

Sikemux retains the original harness's resume_id (RanOn). If you switch back before the new harness runs, or resume the prior vendor session, you keep continuity without redundant handoff prompts.

How is a Baton different from a git stash or branch push?

A Baton bundles staged, unstaged, and untracked file changes together with the task, deterministic handoff context, and proof (minus secrets), without mutating your Git branches. You can resume it in one click on another account, model, fresh worktree, or linked host.

Never lose momentum to a rate limit again.

Hand off live threads across Claude Code, Gemini, Codex, and OpenCode inside one MIT-licensed Rust workspace.