Expand description
Walrus agent library.
Agent: Stateful execution unit with step/run/run_stream.AgentBuilder: Fluent construction with a model provider.AgentConfig: Serializable agent parameters.Dispatcher: Generic async trait for tool dispatch.model: Unified LLM interface types and traits.- Agent event types:
AgentEvent,AgentStep,AgentResponse,AgentStopReason.
Modules§
- model
- Unified LLM interface types and traits.
Structs§
- Agent
- A stateful agent execution unit.
- Agent
Builder - Fluent builder for
Agent<M>. - Agent
Config - Serializable agent configuration.
- Agent
Response - Final response from a complete agent run.
- Agent
Step - Data record of one LLM round (one model call + tool dispatch).
Enums§
- Agent
Event - A fine-grained event emitted during agent execution.
- Agent
Stop Reason - Why the agent stopped executing.
Traits§
- Dispatcher
- Generic tool dispatcher.