Expand description
Core runtime engine for Common Agent Runtime.
The runtime loop:
- Receive a proposal (batch of actions from a model)
- Build a DAG from state_dependencies
- Execute each level (concurrent if no ABORT actions, sequential otherwise)
- Validate, execute with idempotency + timeout + retry, commit
- On abort: rollback state to pre-proposal snapshot
Re-exports§
pub use cache::ResultCache;pub use capabilities::CapabilitySet;pub use checkpoint::Checkpoint;pub use rate_limit::RateLimit;pub use rate_limit::RateLimiter;
Modules§
- cache
- Cross-proposal result cache for tool call results.
- capabilities
- Per-agent capability permissions for the Common Agent Runtime.
- checkpoint
- Checkpoint and resume support for the Common Agent Runtime.
- rate_
limit - Token bucket rate limiter for tool calls with backpressure support.
Structs§
- Cost
Budget - Budget constraints for proposal execution.
- Runtime
- Common Agent Runtime — deterministic execution layer.
Traits§
- Tool
Executor - Trait for tool execution. Implement this to provide tools to the runtime.
Functions§
- format_
tool_ result - Format a tool result for feeding back to a model.