Retrieval
Every query starts with a prune step (namespace, folder, collection and as-of date), then runs one or more retrieval lanes over what is left, and returns path citations you can hand straight to a reader. From any hit, an agent can read outward into the surrounding document or the entities it mentions.
You choose which search lanes run, alone or together. Each fails independently: a soft failure in one lane empties that lane's results without blocking the others.
Prune first, then search or navigate, then cite.
Hybrid search
Section titled “Hybrid search”Hybrid search fuses three lanes over the same graph: full-text keyword search on the lexical overlay, vector similarity on the vector overlay, and a one-hop relationship expansion on the domain overlay. Full text and vector run together; relationship expansion then walks from those seed chunks. Reciprocal rank fusion turns the three lists into one. This is the entry point for direct questions and keyword-shaped queries, and it works as soon as a namespace’s files are indexed; search by meaning joins once they are embedded (Processing lanes).
Hybrid search returns only enabled chunks. Disabled namespaces, folders and files stay in KG Studio, greyed out, and do not appear in retrieval.
How your question is answered
Section titled “How your question is answered”You ask in chat. The assistant calls Knowledge Graph search and answers from the ranked passages, with citations.
You ask; the assistant searches with full text, embeddings and a graph hop, fuses the lists by rank, and co-annotation joins when the question names two entities.
Co-annotation is an extra search lane: it looks for chunks that mention two entities named in the question. It stays off unless the search asks for the co_annotation lane; the assistant sets it on the search call, and KG Studio search has no switch for it. The span linker runs only with that lane and attaches a phrase in the question to a nearby entity when the published ontology did not already name it. Grounding roles label those entities from how often they are mentioned: bridge, filter or ignore. They come back on the search response. See MCP for the response shape.
Outline navigation
Section titled “Outline navigation”The structural overlay is a navigable table of contents. kg_outline returns a file’s sections in document order, each with its section key, title, depth, parent and page range, paged for long files and limitable by depth.
Chunk 12Chunk 13Chunk 27namespace/path.md > 2. Section > 2.1 Subsection (pp. 4-5)Reading the outline costs titles, depths, and page ranges, not full chunk text. An agent picks a section key from it, opens that section's covering chunks, and hops to the parent, siblings, or children from there.
The outline of one document: sections cover chunks, and a citation names the section trail.
An agent opens a section’s chunks with kg_open on that section key, and moves around the tree with kg_hop: outline_parent, outline_siblings and outline_child. prev_chunk and next_chunk step through the document in reading order. Every chunk that comes back carries its own section context (ancestors, siblings and children) and a full path citation (namespace/path.md › Section › Subsection, pages 4-5), so an agent that lands mid-document through search can read outward without a new query. See MCP for the tool arguments and caps.
Entity navigation
Section titled “Entity navigation”Entity navigation starts from a named entity, found by name match, vector similarity or both, optionally filtered to published entity types. From there an agent hops along typed relationships one step at a time (mentions, rel, same_type), and every hit is a chunk package carrying the evidence quote behind the edge. An entity stays visible only while at least one enabled, readable chunk still mentions it. KG Studio’s graph view uses the same navigation for “show me what connects to ESMA”, and agents reach it as a direct tool call.
Path citations
Section titled “Path citations”Every retrieval call returns citations shaped as namespace/path › Section › Subsection, pages, not a bare chunk id. An agent’s answer, or a KG Studio result, always has a readable trail back to the exact document section a claim came from, and clicking a citation opens the file at that location.
Collection and as-of scoping
Section titled “Collection and as-of scoping”Retrieval accepts a collection filter and an as-of date. Versioned corpora stay apart unless you ask for both: a query scoped to mifid-3 never blends in mifid-2 chunks, and an as-of query sees only the files and relationships in force on that date. See Collections and temporal.
Soft failure per lane
Section titled “Soft failure per lane”Each search lane fails independently. If the vector lane has a transient problem, hybrid search still returns full-text and relationship-expansion results rather than an empty response, and the failure is logged for your platform’s observability.
Automatic context per agent
Section titled “Automatic context per agent”You set how much Knowledge Graph context an agent gets without asking for it, per agent, under AI → Agents.
You set these per agent under AI → Agents: the Knowledge Graph namespaces tile, the Knowledge capability, and the agent's auto-search setting, which is off until you turn it on.
Three starting points for a turn: no namespaces, tools only, or auto-search on.
- Namespaces and tools: assign corpora on the Knowledge Graph namespaces tile and enable the Knowledge capability so the agent can call retrieval tools at all. An agent with neither gets no Knowledge Graph context.
- Auto-search: when you turn on auto-search for the agent, hybrid search runs over the assigned namespaces on each new prompt and places the matching chunk packages in context before the turn starts. It is off until you turn it on, so a narrow task agent pays no latency or cost for context it will not use.
- Threshold: the agent’s KB injection score threshold decides which of those matches are placed in context, with per-thread overrides in chat. A chat control turns Knowledge Graph search off for a single conversation. See Agents.