Switch agents. Keep the thread.

Claude Code, Codex, Cursor, and the rest each keep their own history. omni finds every session on your machine and continues the one you pick in whichever agent you want next.

curl -fsSL https://raw.githubusercontent.com/bvolpato/omnisession/main/install.sh | sh

MIT licensed, local, no telemetry. Windows preview, latest release.

  1. Claude Code writes the rate limiter
  2. Grok finds two bypasses
  3. Codex moves buckets to Redis
  4. OpenCode load-tests it
omni · ~/src/payments-apiLive demo

OmniSession SESSION BROWSER · 10 sessions

Scope Source Target choose after source

Search › type to filter titles, folders, branches, IDs, and conversation text

+NEW SESSIONpayments-api
claudeAdd per-merchant rate limiting to POST /chargespayments-api4h
grokReview the new rate limiter for bypass casespayments-api2h
codexShare rate-limit buckets across pods with Redispayments-api38m
opencodeLoad-test per-merchant limits with k6payments-api9m
antigravityRefactor refunds into an explicit state machinepayments-api6h
claudeEmit refund.updated webhooks to merchantspayments-api15h
piFix duplicate charges on webhook retriespayments-api1d
cursor-cliAdd idempotency-key migration and testspayments-api22h
hermesInvestigate p99 latency spike on POST /chargespayments-api3d
ompBump sqlx to 0.8 and fix compile errorspayments-api6d

SELECTED SESSION

Share rate-limit buckets across pods with Redis

codex · 23 messages · 38m

SESSION TREE · 4 sessions

claude4h

grok2h

codex38m

opencode9m

WORKSPACE

Directory
~/src/payments-api
Branch
feat/rate-limiter
Tokens
96,210 total
Session
codex:4f7fac05…

Click it and type. This is the real flow with invented sessions: search, Enter, choose an agent, Enter.

Change here for any agent.

omni reads sessions from 12 agents and writes native ones into 10. A conformance run checks all 90 cross-agent paths between them. Pick two ends and take the route.

From
To

Codex to Claude Code

Route
Native session
Needs
Claude Code 2.1.220 or newer
Runs on
Linux + macOS
  • Messages, in order
  • Tool calls and results, as history
  • Hidden reasoning
  • Approvals and permission state
omni resume codex:<session-id> --in claude

The original session is not changed. If the import cannot run, omni asks what to do.

What happens when you press Enter.

A transfer is a real session in the target agent, checked before you see it. Staying in the same agent uses that agent's own resume or fork.

  1. Read

    The source store is opened read-only. Visible messages and tool records become one ordered history. Hidden reasoning, approvals, and permission state stay out.

  2. Write

    omni creates a new session in the target agent's own format, through its import interface or a writer gated on that agent's version.

  3. Read back

    An independent reader loads the new session and compares it with what was sent. If anything differs, omni removes only what it created.

  4. Launch

    The agent opens with the conversation in place. Tool calls and shell commands arrive as history and never run again.

When an import can't run, you choose.

omni never quietly swaps the import you asked for. It says why, then offers the routes that are open. Scripts and pipes fall back to a handoff when that is safe.

Claude native import could not run: Claude 2.1.100 is too old for native trajectory import; supported versions: >= 2.1.220
  [r] retry   [f] fork in Codex instead   [h] continue with a handoff file   [q] cancel
> 

Your originals stay original.

Transcripts can hold code, tokens, and personal data, so the defaults assume they do. Read the security model.

  • Read-only sources

    Discovery, search, and transfers open source stores read-only. The one change omni can make to a source is a deletion you select and confirm.

  • Local

    No daemon, telemetry, or hosted service. Background update checks contact GitHub, and OMNI_NO_UPDATE_CHECK=1 turns them off.

  • Exact rollback

    If an import fails before launch, or you press Ctrl+C, omni rolls back only the records it created and exits without launching.

  • History, not instructions

    Imported tool calls and shell commands are historical text. They are never replayed.

  • Redaction, with limits

    Known authentication files are never read, and recognized credentials are redacted. That can't prove every secret is gone, so review sensitive sessions before you transfer them.

  • Guarded deletion

    Delete asks first and targets only the selected session. Private-store deletes validate exact paths and refuse while that agent runs.

12 agents, platform by platform.

Generated from the manifest the CLI uses. The version is the oldest release omni imports into. OFFICIAL is an import through the agent's own API. Antigravity Desktop and Antigravity IDE are read-only: continue their sessions in another agent.

AgentVersion / accessRead & indexClean startSame-agent resumeCross-agent import
Codex>= 0.146.0Linux + macOS + WindowsLinux + macOS + WindowsLinux + macOS + WindowsResume + forkLinux + macOS + WindowsApp-server import
Claude Code>= 2.1.220Linux + macOSLinux + macOSLinux + macOSResume + forkLinux + macOSNative session
OpenCodeOFFICIALLinux + macOSLinux + macOSLinux + macOSResume + forkLinux + macOSOfficial import
Pi>= 0.79.3Linux + macOSLinux + macOSLinux + macOSResume + forkLinux + macOSv3 JSONL
Oh My Pi>= 18.2.10Linux + macOSLinux + macOSLinux + macOSResume + forkLinux + macOSv3 JSONL
Grok>= 0.2.114Linux + macOS + WindowsLinux + macOS + WindowsLinux + macOS + WindowsResume + forkLinux + macOS + WindowsACP import
Cursor IDE>= 3.12.17Linux + macOSNot guaranteedLinux + macOSRestore chatLinux + macOSDesktop state
Cursor Agent>= 2026.07.23-e383d2bLinux + macOSLinux + macOSLinux + macOSResumeLinux + macOSNative session
Antigravity CLI>= 1.1.8Linux + macOSLinux + macOSLinux + macOSResumeLinux + macOSLinux + macOS state import
Hermes>= 0.19.1Linux + macOSLinux + macOSLinux + macOSResume + forkLinux + macOSOfficial import
Antigravity DesktopREAD-ONLYLinux + macOSNot guaranteedNot guaranteedRead-onlyNot guaranteedSource only
Antigravity IDEREAD-ONLYLinux + macOSNot guaranteedNot guaranteedRead-onlyNot guaranteedSource only

Run omni adapters --check-imports to see what is ready on your machine. Compatibility notes

One binary. One line.

Prebuilt for Linux and macOS on x86-64 and ARM64. Native Windows x86-64 is a preview.

curl -fsSL https://raw.githubusercontent.com/bvolpato/omnisession/main/install.sh | sh

Verifies the release checksum, then installs omni into ~/.local/bin. Fresh installs leave shell profiles unchanged and keep provider commands native, so add that directory to PATH if needed. Use this installer inside WSL too.

$ omni
  browse every agent's sessions
$ omni search "rate limiter"
  search without the picker
$ omni resume <session> --in codex
  continue in another agent
$ omni fork <session>
  branch, and choose where
$ omni doctor
  check this machine

Questions.

How is this different from each agent's own resume?

An agent's own resume only sees its own history. omni lists every supported agent together, keeps related sessions grouped across agents, and still uses the agent's own resume or fork when you stay in the same agent.

Does OmniSession change my existing sessions?

No. A cross-agent transfer reads the source and continues in a separate new session. If you resume a session in place in its own agent, that agent keeps appending to it as usual.

What carries over when I switch agents?

A native import keeps ordered user and assistant messages plus bounded tool activity. A handoff starts a fresh session from a private file instead. Approvals, hidden reasoning, and permission state are left out. omni inspect reports the details for a specific source and target.

What if my agent's version isn't supported?

The native import can't run. On a terminal, omni says why and asks whether to retry, fork in the source agent, continue with a handoff, or cancel. Scripts fall back to the handoff when that is safe. omni adapters --check-imports shows what is ready before you try.

Does anything leave my machine?

OmniSession has no telemetry or hosted service. Update checks contact GitHub. The agent that continues a session receives the transferred history and keeps its own network behavior.

Can I use it on Windows?

Yes, as a preview. The native Windows x86-64 build and its checksum-verifying PowerShell installer are tested in Windows CI. Codex and Grok are supported there today; other agents are not yet. Inside WSL, use the Linux installer.

Do claude, codex, and the other commands still work as before?

Yes. OmniSession installs only omni. Commands such as claude --continue and omp update go straight to their providers.