Modules§
Structs§
- Agent
- Agent
Item Tool - Agent
Params - Parameters required to create a new agent.
- Agent
Request - Agent
Response - Agent
Stream Item Event - Agent
Tool 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 - RunSession
Request RunSessionRequestcontains the input items used for a run.- RunState
Enums§
- Agent
Error - Agent
Item - An input for or output entry generated by the agent run
- Agent
Stream Event - Stream events emitted by the agent during runStream call.
- Instruction
Param
Traits§
- Agent
Tool - 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.
- Toolkit
Session ToolkitSessionexposes dynamically resolved tools and system prompt data for a run session.