pub struct Launcher { /* private fields */ }Expand description
Lightweight console launcher for interactive agent sessions.
Reads from stdin, runs the agent, prints streaming responses to stdout.
No external dependencies beyond what adk-runner already has.
For the full-featured launcher with --serve mode, readline history,
and thinking block rendering, use adk_cli::Launcher with the standard
feature tier.
Implementations§
Source§impl Launcher
impl Launcher
Sourcepub fn app_name(self, name: impl Into<String>) -> Self
pub fn app_name(self, name: impl Into<String>) -> Self
Set a custom application name (defaults to agent name).
Sourcepub fn with_session_service(self, service: Arc<dyn SessionService>) -> Self
pub fn with_session_service(self, service: Arc<dyn SessionService>) -> Self
Set a custom session service (defaults to in-memory).
Sourcepub fn with_memory_service(self, service: Arc<dyn Memory>) -> Self
pub fn with_memory_service(self, service: Arc<dyn Memory>) -> Self
Set a custom memory service.
Auto Trait Implementations§
impl Freeze for Launcher
impl !RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnsafeUnpin for Launcher
impl !UnwindSafe for Launcher
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