Query Codebase Knowledge Graph
The agent returns structurally-aware answers about the codebase by querying the Knowledge Graph, providing deeper insights than simple text search.
How it works
Read-onlySoftware development
The agent formulates a question about the codebase structure or relationships. It uses the query_context tool on the aictrl MCP server to search the Knowledge Graph. The server returns answers based on the extracted entities and relationships. The user should check if the answer addresses the specific structural aspect of the code they are interested in.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Query Codebase Knowledge Graph
How is the authentication service structured and what are its dependencies?MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
The agent uses query_context to query the Knowledge Graph and returns structurally-aware answers, not just text search results.Getting Started — aictrl.dev Documentation