DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to find the symbols behind a bug question before editing with BGTS Context Engine

Ask a plain bug question and get the ranked code symbols that answer it.

Short answer: docker compose -f deploy/docker-compose.yml up -d; then pip install bgts-context-engine; cp .env.example .env. All steps.

Who it is forA developer or coding agent starting work on an unfamiliar repository, with a bug report that describes behaviour rather than file names.

The problemEmbedding search returns files that mention the words in the question, not the functions that set the behaviour and the callers that depend on it.

The outcomeA ranked, budgeted list of the symbols that participate in the behaviour, with a coverage report showing how much of the answer to trust.

What you need first

  • Docker with Docker Compose, to run PostgreSQL 16 with Apache AGE and pgvector
  • Python with pip
  • A local repository to index
  • A coding agent that can call MCP tools, or the bce command line

Steps

  1. docker compose -f deploy/docker-compose.yml up -d
  2. pip install bgts-context-engine
  3. cp .env.example .env
  4. bce migrate
  5. bce index --repo /path/to/your/repo --name my-service
  6. bce context --task "fix the login timeout in the meeting webhook"

Prompt for your agent

Using the bgts-context-engine repository, index the repository at <target repo path> with bce index, then run bce context with the bug description <bug description> as the task. Expected output: a ranked list of symbols with a coverage report. Verify that the top results include the function that sets the behaviour named in the bug.

Caveat. The benchmark figures in the README come from BGTS's own harness, which is not yet in this repository, so check the ranking on your own code before relying on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for bgts-ai-org/bgts-context-engine and "Find the symbols behind a bug question 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