Modules§
Structs§
- Agent
- AgentItem Tool 
- AgentParams 
- Parameters required to create a new agent.
- AgentRequest 
- AgentResponse 
- AgentStream Item Event 
- AgentTool Result 
- RunSession
- Manages the run session for an agent.
It initializes all necessary components for the agent to run
and handles the execution of the agent’s tasks.
Once finished, the session cleans up any resources used during the run.
The session can be reused in multiple runs. RunSessionbinds to a specific
- RunSessionRequest 
- RunSessionRequestcontains the input items used for a run.
- RunState
Enums§
- AgentError 
- AgentItem 
- An input for or output entry generated by the agent run
- AgentStream Event 
- Stream events emitted by the agent during runStream call.
- InstructionParam 
Traits§
- AgentTool 
- Agent tool that can be used by the agent to perform specific tasks. Any
type that implements the AgentTooltrait can be used as a tool.
- Toolkit
- Toolkit produces a per-session toolkit session that can provide dynamic prompt and tool data.
- ToolkitSession 
- ToolkitSessionexposes dynamically resolved tools and system prompt data for a run session.