Search codebase and documentation for context
The agent retrieves relevant code definitions, related files, and documentation snippets to understand the codebase structure and existing implementations before writing new code.
How it works
The agent starts by calling get_project_soul to load project conventions. It then uses search_codebase to find relevant code symbols and files based on a query. If the query is complex, it may use deep_search for multi-hop retrieval. It can also use search_docs to find indexed documentation. The agent reviews the returned related files and definitions to build context before proceeding with any coding tasks.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Find all usages of the 'UserSession' class and any related documentation. Summarize how it is currently implemented and where it is defined.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
search_codebase pro hosted: vector + full-text + trigram retrieval fused in postgres, then an llm reranks the top candidates; returns related files and definitions.Docs — connect an agent to Axis