Move your conversation history from Claude Code into Codex or OpenCode.
Preview available sessions on your machine before choosing which to import.
Export sessions to machine readable JSON for other tooling.
Try a new coding assistant without losing the context from your current one.
| mem0ai/openmemory | ad3lre/echo | affaan-m/x-algorithm-score | |
|---|---|---|---|
| Stars | 23 | 23 | 23 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | hard | moderate |
| Complexity | 2/5 | 4/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Installs with a single curl script that pipes into bash.
OpenMemory is a command line tool that lets you move your AI coding sessions between different coding assistants, such as Claude Code, Codex, and OpenCode. If you have been working with one assistant and want to switch to another, this tool copies your conversation history and context so you can pick up where you left off instead of starting over. The project explains that developers often feel locked into whichever coding assistant they started with, since switching means losing all the context built up in earlier sessions. Some tools already offer a limited version of this: Codex can import from Claude Code, but only in one direction and only as a single bulk import of every conversation at once. OpenCode requires you to manually point it at a JSON file you have already put together yourself, with no way to preview or choose which conversations to bring over. OpenMemory works in any direction between supported tools, shows a preview of the sessions available on your machine, and lets you pick exactly which ones to import. You can use OpenMemory either through an interactive wizard, launched with a single command, or through a command line interface where you specify the source and destination tools and either import everything or pick specific sessions by their ID. There are flags to force a re-export of sessions already copied and to get machine readable JSON output instead of the normal display. The README lists planned future work, including support for moving Skills, MCPs, Plugins, and configuration files like CLAUDE.md between tools, a realtime autosync feature to keep multiple tools in sync automatically, and support for additional coding tools beyond the three currently available. The project welcomes outside contributions and links to a contributing guide and its issue tracker for bug reports.
A CLI and interactive wizard that copies your AI coding session history between tools like Claude Code, Codex, and OpenCode so you can switch without losing context.
Mainly TypeScript. The stack also includes TypeScript, CLI, TUI.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.