Skip to content

Feature Request: Add RepoGraph-like capabilities to AgentDB #76

@armelhbobdad

Description

@armelhbobdad

Summary

AgentDB + Code-Flow/Agenctic-Flow would benefit from native support for RepoGraph-like capabilities: structured code-graph ingestion, repo-aware memory, and hybrid (semantic + structural) retrieval.

Motivation

RepoGraph builds a rich code graph (functions, files, commits, def/ref edges) that significantly improves code understanding, debugging, and retrieval for agent workflows. Integrating similar capabilities into AgentDB would allow agents to combine fast vector search with structured repository knowledge and causal reasoning.

Use Cases

  1. Next.js Source-of-Truth Indexing
    When building a Next.js application, instead of relying on external documentation or Context7 for code snippets, RepoGraph indexes the entire Next.js codebase. Agentic-flow agents then query AgentDB as the single source of truth. The index automatically updates on every new Next.js release.

  2. Automated Bug Localization
    When a test or runtime error appears, agents can retrieve semantically similar error patterns from AgentDB, then follow RepoGraph’s structural edges (def/ref, callers, commit lineage) to pinpoint the exact functions or commits likely responsible. This drastically reduces time-to-fix and enables “learned” repair strategies.

  3. Security & Vulnerability Triage
    CVE patterns or known vulnerability signatures can be matched to graph nodes. Agents retrieve past remediation patches stored in AgentDB and propose targeted fixes or backports aligned with the repository's structure.

  4. Onboarding & Documentation Synthesis
    Agents can automatically generate concise, accurate onboarding material or examples by combining structured repo traversal (RepoGraph) with historical design notes, discussions, or usage patterns stored in AgentDB.

References

  1. RepoGraph Paper: https://openreview.net/forum?id=dw9VUsSHGB
  2. RepoGraph Code: https://github.com/ozyyshr/RepoGraph

Notes

This feature would enable AgentDB to serve as a unified memory + code-graph store for advanced agent-based development tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions