Skip to main content

Module agent

Module agent 

Source
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.
DciAgentBuilder
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.