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.
Fields
| Name | Type | Description |
|---|---|---|
name | Option<String> | – |
model | Option<String> | – |
instructions | Option<String> | – |
config | DeepResearchConfig | – |
verbose | bool | – |
Methods
name
fn name(mut self, name: impl Into<String>) -> SelfSet the agent name
Parameters:
| Name | Type |
|---|---|
name | impl Into<String> |
model
fn model(mut self, model: impl Into<String>) -> SelfSet the model
Parameters:
| Name | Type |
|---|---|
model | impl Into<String> |
instructions
fn instructions(mut self, instructions: impl Into<String>) -> SelfSet instructions
Parameters:
| Name | Type |
|---|---|
instructions | impl Into<String> |
config
fn config(mut self, config: DeepResearchConfig) -> SelfSet config
Parameters:
| Name | Type |
|---|---|
config | DeepResearchConfig |
build
fn build(self) -> Result<DeepResearchAgent>Build the agent
Source
View on GitHubpraisonai/src/agents/mod.rs at line 1174