gemini_adk_rs/agents/mod.rs
1//! Agent composition primitives — Sequential, Parallel, Loop.
2//!
3//! These implement the Agent trait and compose sub-agents in different patterns.
4//! They work at the InvocationContext level, passing the context to sub-agents.
5
6pub mod loop_agent;
7pub mod parallel;
8pub mod sequential;
9
10// Auto-generated agent definitions from ADK-JS transpiler.
11// Run `cargo run -p gemini-adk-transpiler-rs -- transpile --source <path> --output crates/gemini-adk-rs/src/agents/generated.rs`
12// to regenerate.
13// Crate-private: these are transpiler shadow types, not public API.
14#[path = "generated.rs"]
15// Generated code is exempt from clippy (it mirrors ADK-JS naming verbatim).
16#[allow(clippy::all, missing_docs, rustdoc::bare_urls, unreachable_pub)]
17pub(crate) mod generated;
18
19pub use loop_agent::LoopAgent;
20pub use parallel::ParallelAgent;
21pub use sequential::SequentialAgent;