Skip to main content

RunnableAgentProtocol

Defined in the protocols module.
Rust AI Agent SDK Extended Protocol for agents that support run/start methods.

Methods

run

fn run(&self, prompt: &str) -> Result<String>
Run the agent with a prompt (alias for chat in most cases) Parameters:
NameType
prompt&str

Source

View on GitHub

praisonai/src/protocols/mod.rs at line 0