Expand description
Agent builders, the agent trait, and the operator/pattern combinators.
Note: the L1 gemini_adk_rs::agent::Agent trait is re-exported here as
AgentTrait to avoid colliding with the L2 Agent (the AgentBuilder)
builder alias.
Re-exports§
Modules§
- orchestration
- Agent orchestration — invoke an agent in a
Mode.
Structs§
- Agent
Session - Intercepting wrapper around a SessionWriter.
- NoOp
Session Writer - A SessionWriter that discards all writes. Used for isolated agent execution (AgentTool) where no real WebSocket exists.
- Resolver
- A named async value source whose inputs come from
Stateand whose result lands back inStateunder{name}:result(or{name}:error).
Enums§
- Agent
Mode - How an agent is invoked.
- Input
Event - Input events broadcast to input-streaming tools. Distinct from SessionCommand — this is observation-only.
Traits§
- Agent
Trait - The fundamental agent trait. Everything that can process a live session implements this — LLM agents, function agents, pipelines, routers.
Functions§
- call_
agent - Invoke
agentsynchronously: run it to completion, write its result to{name}:result(or its error to{name}:error), and return the result. - provenance
- The provenance source of a value at
key(e.g."agent","fetch","llm", or"extraction"), if one was recorded understate_meta:{key}.