Expand description
The Direct Corpus Interaction agent: a rig Agent pre-wired with the four
corpus tools and a preamble that teaches the search → narrow → read → cite
investigation loop.
The agent is generic over any CompletionModel, so callers bring their
own model/provider. Nothing here is tied to a specific vendor.
Structs§
- DciAgent
- A ready-to-run Direct Corpus Interaction agent.
- DciAgent
Builder - Builder for a
DciAgent.
Constants§
- DEFAULT_
MAX_ TURNS - Default number of tool-calling turns allowed per investigation.
- DEFAULT_
PREAMBLE - The default system preamble. It frames the corpus as something to be interrogated directly with commands rather than retrieved from an index.