DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to index an existing repo so agents check impact before editing with Tencent DB Agent Memory

Import a codebase into CodeGraph so agents can see callers, callees, and impact paths.

Who it is forA developer joining or maintaining a large codebase who wants agents to understand what a change might break.

The problemAgents tend to edit code based on the local file they see and miss callers and dependent modules elsewhere.

The outcomeThe repo's symbols, files, call relationships, and impact paths are indexed, and agents can run impact analysis before modifying code.

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

  1. Start the stack with ./start-all.sh from deploy/global-images after filling in .env
  2. Open http://localhost:8125 and create a team in Memory Hub
  3. In the Knowledge Workshop, import the existing repository so CodeGraph indexes it
  4. Check the processing status and asset metadata until indexing completes
  5. Point your agent at the team's CodeGraph before it edits code and ask for callers and impact scope first

Prompt for your agent

Using TencentDB-Agent-Memory, import the repository at <repo path> into CodeGraph through the panel at http://localhost:8125. Before changing <symbol or file>, query CodeGraph for its callers, callees, and impact path, and report the list. Verify that the impact list matches a manual grep of the repo for <symbol>.

Caveat. The README describes CodeGraph import through the panel but does not document the exact import steps, so check the panel and INSTALL.md for the current flow.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for TencentCloud/TencentDB-Agent-Memory and "Index an existing repo so agents check impact before editing"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer