Custom retrievers
Virgo ships retrievers for context, causality, and learning. When your domain needs a traversal they do not cover, you can write your own.
A retriever is a traversal
A custom retriever is a new traversal over the graph. It starts from the entities a query names and follows the relationships that matter for your question. Once registered, it is callable from your endpoint for agents to use, the same way the built-in retrievers are.
Private preview
The retriever SDK is in private preview. Email sales@virgo.fyi for early access; code examples land here as the API is finalized.
When to write one
Write a custom retriever when a recurring question has a specific shape the built-ins do not capture, such as "every service this change touches" or "the reviewers who have seen this part of the code before."
Related
- Retrievers: the built-in traversals.
- Entities and Agents.