reagent-rs 0.2.7

A Rust library for building AI agents with MCP & custom tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{flow, prebuilds::StatelessPrebuild, reply_without_tools_flow, AgentBuilder};

impl StatelessPrebuild {
    pub fn reply_without_tools() -> AgentBuilder {
        AgentBuilder::default()
            .set_flow(flow!(reply_without_tools_flow))
            .set_clear_history_on_invocation(true)
            .remove_tools()
            .set_name("Stateless-reply_without_tools")
    }
}