pub struct LlmAgent { /* private fields */ }Expand description
An LLM-powered agent that orchestrates tool calls and sub-agent delegation.
LlmAgent is the primary agent type in ADK. It sends requests to an LLM,
executes tool calls from the response, and iterates until the model produces
a final text response or the iteration limit is reached.
Use LlmAgentBuilder (via LlmAgent::builder()) to construct instances.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LlmAgent
impl !RefUnwindSafe for LlmAgent
impl Send for LlmAgent
impl Sync for LlmAgent
impl Unpin for LlmAgent
impl UnsafeUnpin for LlmAgent
impl !UnwindSafe for LlmAgent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more