car-engine
Core runtime engine for the Common Agent Runtime.
What it does
The engine receives action proposals from a model, builds a dependency DAG, and executes actions
concurrently where possible. It handles validation, idempotency, timeouts, retries, and state
rollback on abort. Integrates with car-policy for rule enforcement and car-eventlog for
audit logging.
Usage
use ;
use ActionProposal;
// Register tools and execute proposals
let runtime = new;
let result = runtime.execute.await?;
Crate features
- DAG-based concurrent execution
- Result caching with
ResultCache - Rate limiting with
RateLimiter - Capability-based tool access control
- Checkpoint/restore for crash recovery
Part of CAR -- see the main repo for full documentation.