Memory Forge RS
Stop resetting satisfying AI chats. Edit the memory instead.
别重开了,直接改记忆。
English · 中文
The Problem
You've spent 40 minutes guiding Claude Code through a complex refactor. It's going great — until the AI hallucinates a wrong assumption and spirals. Now every response builds on that mistake.
Your options before Memory Forge:
- Restart the session and lose all context
- Manually re-explain everything
- Give up and work around the error
With Memory Forge:
- Open the conversation, find the wrong message, edit it directly
- The AI picks up from the corrected history as if it never happened
- Continue the conversation seamlessly
What is Memory Forge?
A local desktop app that lets you browse, edit, and manage AI coding assistant sessions.
Works with Claude Code, Codex CLI, OpenCode, Cursor, Kiro CLI, Kiro IDE, Gemini CLI, ZCode, WorkBuddy, Cindy (CN & Global), Zed, DeepSeek Harness, Qoder CN, Qwen Code, Cline, Grok Build, Pi, CodeBuddy, Devin (CLI & Desktop), and Antigravity — all in one unified interface.
Built with Tauri v2 + Rust. No Python, no server, no cloud. 100% local.
Use Cases
| Scenario |
What you do |
| AI made a wrong assumption 3 messages ago |
Edit that message, fix the assumption |
| AI forgot important context mid-conversation |
Inject context into an earlier message |
| The conversation has too much noise |
Erase irrelevant messages |
| Need to review what you discussed with AI |
Browse & search sessions visually |
| Want to share a conversation |
Export to Markdown with one click |
| Reuse the same prompt pattern |
Save it to the Prompt Library |
Quick Start
1. Download → Grab the latest release for your platform
2. Open → Launch the app (no config needed, reads from local AI data)
3. Edit → Browse sessions, click any message, edit and save
That's it. Your AI picks up the corrected memory on the next --resume.
Screenshots
| Session Browsing |
Message Editing |
 |
 |
| Edit Audit Log |
Multi-Platform (Codex) |
 |
 |
| Settings & Themes |
Prompt Library |
 |
 |
Features
Core
- Memory Manipulation — Edit any message in AI conversation history, then seamlessly continue
- Erase & Inject — Remove noise or inject missing context into past messages
- Edit Audit Log — Every edit is tracked with before/after diff, fully traceable
- Safe Write-back — An edit rewrites only the message you changed; every other line of the session file is left byte for byte, and a backup is kept before each edit
Session Management
- Multi-platform — Claude Code / Codex CLI / OpenCode / Cursor / Kiro CLI / Kiro IDE / Gemini CLI / ZCode / WorkBuddy / Cindy (CN & Global) / Zed / DeepSeek Harness / Qoder CN / Qwen Code / Cline / Grok Build / Pi / CodeBuddy / Devin (CLI & Desktop) / Antigravity (read-only) in one unified view
- Dashboard — Session stats across all platforms
- Favorites & Archive — Star important sessions, soft-archive the rest
- Session Aliases — Give sessions memorable names for quick lookup
- Quick Commands — One-click copy for
--resume and --fork commands
- Markdown Export — Export full conversations as
.md files
App Experience
- 5 Themes — Graphite (dark) · Linen (light) · Ocean (dark) · Ember (dark) · Twilight (dark)
- Bilingual — 简体中文 / English
- Prompt Library — Save, tag, search & copy frequently used prompts
- System Tray — Close to tray, launch on startup
- 100% Local — Zero network calls, your data stays on your machine
Supported Platforms
| Platform |
Resume Command |
Fork Command |
Data Path |
| Claude Code |
claude --resume <id> |
claude --resume <id> --fork-session |
~/.claude |
| Codex CLI |
codex resume <id> |
— |
~/.codex |
| OpenCode |
opencode -s <id> |
opencode -s <id> --fork |
~/.local/share/opencode/opencode.db |
| Kiro CLI |
kiro-cli chat --resume-id <id> |
— |
~/.kiro |
| Kiro IDE |
— |
— |
~/.kiro/sessions |
| Cursor |
— |
— |
%APPDATA%\Cursor\User |
| Gemini CLI |
gemini --resume '<id>' |
— |
~/.gemini |
| ZCode |
— |
— |
~/.zcode |
| WorkBuddy |
— |
— |
~/.workbuddy |
| Cindy |
— |
— |
%APPDATA%\Cindy |
| Cindy Global |
— |
— |
%APPDATA%\CindyGlobal |
| Zed |
— |
— |
%LOCALAPPDATA%\Zed (threads/threads.db) |
| DeepSeek Harness |
— |
— |
~/.dsh |
| Qoder CN |
— |
— |
~/.qoder-cn (projects/**/*.jsonl) |
| Qwen Code |
— |
— |
~/.qwen (projects/**/chats/*.jsonl) |
| Cline |
— |
— |
~/.cline (data/sessions/*/*.messages.json) |
| Grok Build |
grok --resume <id> |
grok --resume <id> --fork-session |
~/.grok |
| Pi |
pi --session <id> |
— |
~/.pi/agent |
| CodeBuddy |
codebuddy --resume <id> |
— |
~/.codebuddy |
| Devin |
devin -r <id> |
— |
%APPDATA%\devin\cli |
| Antigravity |
— |
— |
~/.gemini/antigravity (read-only) |
Installation
Desktop App (Recommended)
| Platform |
Format |
| Windows |
.exe installer / .zip portable |
| macOS |
.dmg |
| Linux |
.AppImage / .deb |
Download Latest Release →
Build from Source
# Prerequisites: Node.js 18+, Rust, Tauri CLI
# See https://tauri.app/start/prerequisites/
git clone https://github.com/voidcraft-dev/memory-forge-rs
cd memory-forge-rs
npm install
npm run tauri build
Development:
npm run tauri dev
Tech Stack
| Layer |
Technologies |
| Frontend |
React 19 · TypeScript · Vite · Tailwind CSS v4 · shadcn/ui · React Router v7 |
| Backend |
Rust · rusqlite · serde |
| Desktop |
Tauri v2 |
| Tooling |
Biome · Husky · lint-staged |
Project Structure
memory-forge-rs/
├── src/ # React frontend
│ ├── app/routes/ # Page components
│ ├── features/
│ │ ├── desktop/ # Tauri API bridge, state, i18n
│ │ ├── session/ # Session list & detail views
│ │ └── prompts/ # Prompt library UI
│ └── components/ # Shared UI (shadcn/ui)
├── src-tauri/ # Rust backend
│ └── src/
│ ├── main.rs # Tauri commands & app setup
│ ├── session_service.rs # Listing, search, edit + audit log
│ ├── session_transfer.rs # Raw JSONL import / export
│ ├── platforms/ # One adapter per AI tool
│ │ ├── mod.rs # PlatformAdapter trait & registry
│ │ └── safe_write.rs # Shared write-back path (backups, in-place edits)
│ ├── database.rs # SQLite (aliases, edit log, search index, prompts)
│ ├── settings.rs # Settings persistence
│ ├── terminal.rs # External terminal launcher
│ ├── embedded_terminal.rs# Built-in terminal (PTY)
│ └── shell.rs # Tray, window management
└── package.json
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes
- Push and open a Pull Request
License
MIT
Community
Tech discussions & AI experience sharing at LINUX DO
QQ Group
Author
VoidCraft — GitHub
记忆锻造 RS
别重开了,直接改记忆。
痛点
你花了 40 分钟让 Claude Code 做一个复杂的重构,进展顺利 — 直到 AI 在某条消息里产生了一个错误假设,之后每条回复都在错误的基础上越跑越偏。
没有记忆锻造:
- 重开会话,丢失所有上下文
- 手动把之前讲过的东西重新解释一遍
- 将就着用,绕过错误
有了记忆锻造:
- 打开会话,找到那条错误消息,直接改掉
- AI 从修正后的历史继续,就像那个错误从未发生
- 无缝继续对话
什么是记忆锻造?
一个本地桌面应用,让你浏览、编辑、管理 AI 编程助手的会话记录。
支持 Claude Code、Codex CLI、OpenCode、Cursor、Kiro CLI、Kiro IDE、Gemini CLI、ZCode、WorkBuddy、Cindy(国内版 / 国际版)、Zed、DeepSeek Harness、Qoder CN、Qwen Code、Cline、Grok Build、Pi、CodeBuddy、Devin(CLI 与桌面端)和 Antigravity(只读)— 统一界面管理。
Tauri v2 + Rust 构建。没有 Python,没有服务器,没有云端。100% 本地运行。
使用场景
| 场景 |
你可以做什么 |
| AI 在 3 条消息前做了错误假设 |
直接编辑那条消息,修正假设 |
| AI 对话到一半忘了重要上下文 |
往早期消息中注入上下文 |
| 对话里有太多废话噪音 |
擦除无关消息 |
| 想回顾跟 AI 讨论了什么 |
可视化浏览和搜索会话 |
| 想分享一段对话 |
一键导出为 Markdown |
| 经常用同样的 prompt 模式 |
保存到提示词库 |
快速开始
1. 下载 → 从 Releases 下载对应平台安装包
2. 打开 → 启动应用(无需配置,自动读取本地 AI 数据)
3. 编辑 → 浏览会话,点击任意消息,编辑保存
就这样。AI 在下次 --resume 时会基于修正后的记忆继续。
应用截图