Structs§
- Agent
Config - Approval
Request - Atomic
U64Session IdGenerator - Checkpoint
Data - Message
- Plan
Item - A single step in a lightweight plan checklist.
- Retry
Config - Safety
Config - Safety configuration for agent runtime guardrails.
- Session
Config - Session
Id - Tool
Call Message - Tool
Config - Tool
Result Data - Turn
Context - Pure-data snapshot of a completed turn iteration, passed to turn-end hooks.
- Update
Plan Args - Arguments for the
update_plantool. - Uuid
Session IdGenerator
Enums§
- Agent
Error - Approval
Decision - Chat
Message - Checkpoint
Step - Error
Kind - Classifies an
AgentErrorinto a broad category for recovery decisions. - Finish
Reason - Semantic finish reason, replacing scattered
Option<String>matching. - Image
Attachment - Image
Detail - Language
- Message
Role - Plan
Step Status - Lightweight plan step status — display-only, no execution semantics.
- Response
Format - Risk
Level - RunOutcome
- The outcome of an Agent turn or run.
- Runtime
Event - Unified runtime event — the single event type for both internal and external consumers (frontends, CLIs, tests).
- User
Event - User-space events produced by tools during execution.
Constants§
- DEFAULT_
TOOL_ TIMEOUT_ MS - Default tool timeout: 10 minutes.
This is a safety net against hung tools; tools should override
timeout_ms()with a value appropriate for their workload.
Traits§
Functions§
- default_
convert_ to_ llm - Default conversion that strips
ChatMessage::Custommessages.
Type Aliases§
- Agent
Result - Convert
ToLlm Fn - Callback that transforms the message list before it is sent to the LLM.