Corpus-backed research source using local file search, read, and grep
Provides grounding tools (search, read_file, grep) over a set of
loaded Resource / Chunk pairs. On bind, tokenizes
chunks via the reranker and prepends a reranker-backed search tool to
the tool list. The search tool is ordered first so the model prefers
semantic search before falling back to read_file or grep.
The research tool is a self-referential ResearchTool that spawns
sub-agents with corpus-specific prompts and the full grounding toolkit.
Tokenizes all chunks through the reranker, prepends a SearchTool
to the tool list, then constructs the self-referential
ResearchTool with corpus-specific prompts. Idempotent — skips
if already bound.
Corpus-backed research source using local file search, read, and grep
Provides grounding tools (
search,read_file,grep) over a set of loaded Resource / Chunk pairs. On bind, tokenizes chunks via the reranker and prepends a reranker-backedsearchtool to the tool list. Thesearchtool is ordered first so the model prefers semantic search before falling back toread_fileorgrep.The research tool is a self-referential ResearchTool that spawns sub-agents with corpus-specific prompts and the full grounding toolkit.