CodeGraph
Index code repositories as a searchable knowledge graph.
Last updated
Index code repositories as a searchable knowledge graph.
CodeGraph indexes your code repositories so agents can search and understand your codebase semantically.
Parses source code into a graph of symbols (classes, functions, variables)
Indexes relationships between symbols (calls, imports, inheritance)
Enables agents to answer questions like:
"Where is the User class defined?"
"What calls the authentication middleware?"
"Show me all API endpoints"
Go to Knowledge Bases → CodeGraph
Click + Add Repository
Enter the repository URL (or select from connected GitHub repos)
Choose branches to index
Click Index
Once indexed, you can:
Browse files and symbols
See call graphs and dependency trees
Search by symbol name or description
View code snippets with syntax highlighting
When you ask a code question in Chat, the agent:
Searches CodeGraph for relevant symbols and files
Retrieves the source code context
Uses it alongside the LLM to generate an accurate answer
This is especially powerful for large codebases where agents need to understand relationships between components.
CodeGraph re-indexes automatically when new commits are pushed to connected repositories (if GitHub integration is active).
Last updated

