pub struct Launcher { /* private fields */ }Available on crate feature
runner only.Expand description
Lightweight console launcher — always available with the runner feature.
When the cli feature is enabled, this is replaced by the full-featured
[adk_cli::Launcher] with --serve mode, readline history, and thinking
block rendering.
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>) -> Launcher
pub fn app_name(self, name: impl Into<String>) -> Launcher
Set a custom application name (defaults to agent name).
Sourcepub fn with_session_service(self, service: Arc<dyn SessionService>) -> Launcher
pub fn with_session_service(self, service: Arc<dyn SessionService>) -> Launcher
Set a custom session service (defaults to in-memory).
Sourcepub fn with_memory_service(self, service: Arc<dyn Memory>) -> Launcher
pub fn with_memory_service(self, service: Arc<dyn Memory>) -> Launcher
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