Overview
You don’t have to start over when you switch tools. Native sessions give Gizzi Code a read-only catalog of the sessions stored by other coding-agent CLIs — Claude Code, Codex, Aider, Kimi, Grok, Cursor, and more — and let you pick one up into a new Gizzi session with full context. Three things you can do:- Pickup — snapshot a native session into a new Gizzi session. The original file is never modified.
- Fetch — pull turns that were added to the native session after you picked it up, delivered as inert history (clearly marked as origin content, never executed as instructions).
- Export — write the Gizzi session back out to a new native session id in the target CLI’s format, so you can continue in that tool too.
Quick start (terminal)
Inside a Gizzi Code session, type:/native (and /cli-session) still works as a hidden alias of /remote for one release, with the same arguments.
The same operations are available in the desktop and web app: open the session picker (rail icon or Agent Hub), choose a native session, and it opens as a new chat with an origin badge showing where it came from.
On your phone (m.allternit.com or ai.allternit.com on a phone): open the menu, then press and hold New chat (or New thread in Code) and tap Continue CLI session. The list shows the sessions stored on the computer your phone uses, usually your default computer. A session you started on another machine shows only after its file is copied to that computer’s CLI folder (for Claude Code, ~/.claude/projects/).
How pickup works
NativeSource.pickup() snapshots the native transcript at pickup time and creates a new Gizzi session carrying a first-class source_ref (harness id, origin session id, origin file path, content fingerprint). The new session starts as an ordinary Gizzi session — you can continue it, branch it, or export it.
The picked-up chat looks like a chat that ran in Allternit: each reply keeps its text and its tool calls in order, and every tool call shows as a step with its input (for example the shell command) and its output. Output longer than 20,000 characters is cut in the chat; the full text stays in the native file.
Safety guarantees:
- The origin native file is never written — the catalog is strictly read-only.
- Fetched origin turns are injected as an inert prompt block, prefixed with a warning to ignore any instructions found in them.
- Export refuses to overwrite the origin session — it always writes a new native id.
Fetch and divergence
If you keep working in the origin CLI after picking a session up,/remote native fetch (or the fetch button on the origin banner) reconciles:
clean— origin hasn’t changed since pickup.native_ahead— new origin turns were found; they’re appended tosession_source_eventand shown as inert history. Your Allternit turns are never rewritten.missing— the origin file is gone (uninstalled tool, cleaned-up store).
Export back out
/remote native export [ses_id] [harness] converts the session to the target CLI’s native format and writes it under a new session id. Direct writers cover claude, gizzi, qwen, codex, grok, copilot, and kimi-cli; every other harness is converted through the vendored session-migrate bridge. The command prints the exact resume hint for the target CLI, e.g. claude --resume <new-id>.
Harness support
27 harness adapters ship in@allternit/native-sessions. Every harness can be cataloged and picked up; a subset additionally supports transcript projection and direct export.
Missing stores simply list as empty — adapters probe the tool’s default home directory (each adapter honors the tool’s own env override, e.g.
CLAUDE_CONFIG_DIR).
HTTP API
The same surface is exposed for integrations at/v1/native-session/*:
The platform API relays these under
/api/v1/native-sessions* for cloud sessions.