Expand description
Long-running iteration mode — agents that run on a fixed interval. Long-running iteration mode for ares agents.
Provides a data model for agents that execute on a fixed interval (cron-like) rather than responding to a single request. Each “beat” runs one unit of work; the agent continues until it hits a halt condition (max iterations, consecutive failures, external stop).
Phase 1 (this module): pure data types and configuration. The
runtime scheduler, tick dispatcher, and integration with
orchestrator land in follow-up phases.
Structs§
- Loop
Mode Config - Configuration for a long-running iteration-mode agent.
- Loop
Mode State - Runtime state of a long-running iteration-mode agent.
- Loop
Runner - Runtime scheduler that drives an iteration-mode agent.
Enums§
- Loop
Finish Reason - Reason a long-running iteration-mode agent stopped.
Type Aliases§
- TickFn
- Boxed async tick function: returns Ok(()) on success, Err on failure.