Runnable Agent Protocol • Rust AI Agent SDK
RunnableAgentProtocol: Extended Protocol for agents that support run/start methods.
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:
| Name | Type |
|---|---|
prompt | &str |
Source
View on GitHubpraisonai/src/protocols/mod.rs at line 0