git404hub

what is openmemory fr?

mem0ai/openmemory — explained in plain English

Analysis updated 2026-05-18

23TypeScriptAudience · developerComplexity · 2/5Setup · easy

tl;dr

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.

vibe map

mindmap
  root((OpenMemory))
    What it does
      Ports coding sessions
      Works across coding tools
      Shows session previews
    Tech stack
      TypeScript
      CLI
      TUI wizard
    Supported tools
      Claude Code
      Codex
      OpenCode
    Use cases
      Switch coding assistants
      Preserve session context
      Export to JSON
    Audience
      Developers
      AI coding tool users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Move your conversation history from Claude Code into Codex or OpenCode.

VIBE 2

Preview available sessions on your machine before choosing which to import.

VIBE 3

Export sessions to machine readable JSON for other tooling.

VIBE 4

Try a new coding assistant without losing the context from your current one.

what's the stack?

TypeScriptCLITUI

how it stacks up fr

mem0ai/openmemoryad3lre/echoaffaan-m/x-algorithm-score
Stars232323
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardmoderate
Complexity2/54/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Installs with a single curl script that pipes into bash.

in plain english

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.

prompts (copy fr)

prompt 1
Show me how to install openmemory and run the interactive TUI wizard.
prompt 2
Write the openmemory CLI command to port all sessions from Claude Code to Codex.
prompt 3
How do I import only specific sessions by ID using openmemory's port command?
prompt 4
Explain the difference between openmemory's --force and --json flags.

Frequently asked questions

what is openmemory fr?

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.

What language is openmemory written in?

Mainly TypeScript. The stack also includes TypeScript, CLI, TUI.

How hard is openmemory to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is openmemory for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.