Who it is forA user already running an older TencentDB Agent Memory release who wants to keep their stored memory after upgrading.
The problemExisting chat memory and assets from older versions would be lost or unused in a fresh v3 install.
The outcomeOlder data is migrated into the v2.0.0 or later storage format, using the flags described in the migration README.
What you need first
- Git and a bash-compatible shell
- Two sets of LLM API parameters for the memory group and the proxy group, filled into .env
- A local machine that can run the three services (memory-core, memory-hub, proxy)
- An agent client that accepts a custom base URL, such as Claude Code or Codex
Steps
- Read the full usage and flags in MemoryCore/scripts/migrate-v2-to-v3/README.md
- Change into the MemoryCore/scripts/migrate-v2-to-v3 directory from the repo root (inferred, check the README)
- Run the migration script with the flags listed in that README against your existing data (inferred, check the README)
- Start the stack with
./start-all.shfrom deploy/global-images and open http://localhost:8125 - Check in the panel that migrated Chat Memory and assets appear
Prompt for your agent
Using the repo TencentDB-Agent-Memory, read MemoryCore/scripts/migrate-v2-to-v3/README.md and run the migration for my existing <old data location> with the flags it lists. Expected output: a migration summary from the script. Verify that the migrated items appear in the panel at http://localhost:8125.
Caveat. The README says new installations can skip migration, and the exact script command and flags are only in the migration README, so take a backup before running it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for TencentCloud/TencentDB-Agent-Memory and "Move existing v1 or v2 memory data into a v3 install"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer