MiMo-Code
- ID:
mimo - Store:
${MIMOCODE_HOME:-${XDG_DATA_HOME:-~/.local/share}/mimocode}/mimocode.db(MIMOCODE_DBnames the database file or path) - Read override:
DEJA_MIMO_DBreplaces the store path - Format: SQLite (OpenCode message schema)
- Needs:
sqlite3
MiMo-Code (XiaomiMiMo/MiMo-Code, CLI mimo) is an OpenCode fork that keeps its
local conversation store in mimocode.db under ~/.local/share/mimocode (or
$XDG_DATA_HOME/mimocode when set, overridden by MIMOCODE_HOME or
MIMOCODE_DB). Its tables — session, message, and part, or session_v2
and session_message — use OpenCode's message schema unchanged, so deja reads
and writes back sessions through the same SQLite reader (parseOpencodeSchemaDB
with harness "mimo"). See OpenCode for the field-by-field
schema description.
- Wiring:
deja install mimo(aliasmimocode) writes themcp.dejablock
into ~/.config/mimocode/mimocode.jsonc (or mimocode.json when that file is
already present; MIMOCODE_CONFIG_DIR and DEJA_MIMO_CONFIG_DIR relocate the
config directory), installs the skill at
~/.config/mimocode/skills/deja-history/SKILL.md, and writes the /deja
command to ~/.config/mimocode/commands/deja.md.
- Auto-recall:
deja install mimo-auto(aliasmimocode-auto) adds
~/.config/mimocode/plugins/deja.js and the TUI status plugin
~/.config/mimocode/plugins/deja-status.tsx registered in tui.json.
- Resume:
mimo -s <id>in the session's recorded directory.
Last verified: 2026-11-12
deja reads this format and forty-six others, and turns what it finds into memory your agents can search. See the harness matrix for what is wired where, or install it and search your own history.
Found this useful? Star deja-vu on GitHub.