{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "tencentcloud-tencentdb-agent-memory--shared-memory-for-claude-code-and-codex",
 "repo": "TencentCloud/TencentDB-Agent-Memory",
 "repo_url": "https://github.com/TencentCloud/TencentDB-Agent-Memory",
 "repo_slug": "tencentcloud-tencentdb-agent-memory",
 "title": "Give Claude Code and Codex one shared memory server",
 "page_title": "How to give Claude Code and Codex one shared memory server with Tencent DB Agent Memory",
 "summary": "Route two coding agents through one local proxy so they read and write the same memory.",
 "who": "A developer who uses Claude Code and Codex on the same project and repeats the same project context in each new session.",
 "problem": "Each agent session starts from zero, so project background has to be explained again and again.",
 "outcome": "Both agents send traffic through the proxy and draw on the same team memory, with the panel open at localhost:8125 to inspect it.",
 "steps": [
  "Run `git clone https://github.com/TencentCloud/TencentDB-Agent-Memory.git` and then `cd TencentDB-Agent-Memory/deploy/global-images`",
  "Run `cp .env.example .env`, then open `.env` and fill in the two sets of LLM parameters (memory group and proxy group)",
  "Run `./start-all.sh` and wait for it to finish; it prints a one-liner to paste into Claude",
  "Open http://localhost:8125 to confirm the panel loads",
  "Follow the Proxy setup for Claude Code or Codex in INSTALL.md by pointing the agent base URL to the Proxy"
 ],
 "agent_prompt": "Using the repo TencentDB-Agent-Memory, start all three services from deploy/global-images with ./start-all.sh after filling .env, then point the base URL of <agent name> to the Proxy as described in INSTALL.md. Expected output: the panel at http://localhost:8125 loads and one test request from <agent name> completes through the Proxy. Verify that the request appears in the panel or the service logs.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says no plugin, hook, or MCP server is needed, but each client needs its exact configuration from INSTALL.md, and the LLM keys in .env must be supplied by you.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tencentcloud-tencentdb-agent-memory/shared-memory-for-claude-code-and-codex/",
 "md": "https://dedupedai.com/use-cases/tencentcloud-tencentdb-agent-memory/shared-memory-for-claude-code-and-codex/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/tencentcloud-tencentdb-agent-memory--shared-memory-for-claude-code-and-codex.json",
 "api_version": "v1"
}
