Module agents

Module agents 

Source
Expand description

Agent builders, the L1 Agent trait, and the operator/pattern combinators.

Re-exports§

pub use crate::builder::*;
pub use crate::operators::*;
pub use crate::patterns::*;

Modules§

orchestration
Agent orchestration — invoke an agent in a AgentMode.

Structs§

AgentSession
Intercepting wrapper around a SessionWriter.
NoOpSessionWriter
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 State and whose result lands back in State under {name}:result (or {name}:error).

Enums§

AgentMode
How an agent is invoked.
InputEvent
Input events broadcast to input-streaming tools. Distinct from SessionCommand — this is observation-only.

Traits§

Agent
The fundamental agent trait. Everything that can process a live session implements this — LLM agents, function agents, pipelines, routers.

Functions§

call_agent
Invoke agent synchronously: 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 under state_meta:{key}.