Deep Research Agent Builder • Rust AI Agent SDK

DeepResearchAgentBuilder: Builder for DeepResearchAgent.

DeepResearchAgentBuilder

Defined in the agents module.

Rust AI Agent SDK

Builder for DeepResearchAgent.

Diagram

Input Data

Agent: DeepResearchAgentBuilder

Output Result

Fields

NameTypeDescription
nameOption<String>–
modelOption<String>–
instructionsOption<String>–
configDeepResearchConfig–
verbosebool–

Methods

name

rust
fn name(mut self, name: impl Into<String>) -> Self

Set the agent name

Parameters:

NameType
nameimpl Into&lt;String&gt;

model

rust
fn model(mut self, model: impl Into<String>) -> Self

Set the model

Parameters:

NameType
modelimpl Into&lt;String&gt;

instructions

rust
fn instructions(mut self, instructions: impl Into<String>) -> Self

Set instructions

Parameters:

NameType
instructionsimpl Into&lt;String&gt;

config

rust
fn config(mut self, config: DeepResearchConfig) -> Self

Set config

Parameters:

NameType
configDeepResearchConfig

build

rust
fn build(self) -> Result<DeepResearchAgent>

Build the agent

Source

View on GitHub

praisonai/src/agents/mod.rs at line 1174


Related Documentation