Realtime Agent • Rust AI Agent SDK

RealtimeAgent: Agent for real-time voice conversations.

RealtimeAgent

Defined in the agents module.

Rust AI Agent SDK

Agent for real-time voice conversations.

Diagram

Input Data

Agent: RealtimeAgent

Output Result

Fields

NameTypeDescription
nameString–
modelStringModel to use
configRealtimeConfigConfiguration
verbosebool–

Methods

new

rust
fn new() -> RealtimeAgentBuilder

Create a new builder

name

rust
fn name(&self) -> &str

Get agent name

send_text

rust
fn send_text(&self, text: &str) -> Result<String>

Send text message (placeholder)

Parameters:

NameType
text&str

Source

View on GitHub

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


Related Documentation