car-ir 0.53.0

Agent IR types for Common Agent Runtime
Documentation
//! Agent IR types for Common Agent Runtime.
//!
//! The intermediate representation sits between model intent and runtime execution.
//! It encodes richer semantics than raw function-call JSON: preconditions, expected
//! effects, idempotency, failure behavior, and state dependencies.

mod actions;
pub mod builtins;
mod dag;
pub mod json_extract;
pub mod linalg;
pub mod outcome;
pub mod precondition;
pub mod reversibility;
pub mod rubric;
pub mod tool_stream;

pub use actions::*;
pub use dag::{build_dag, dependency_edges};
pub use outcome::{AgentOutcome, Evidence, EvidenceKind, OutcomeMetrics, OutcomeStatus};
pub use reversibility::{Compensation, Reversibility};
pub use tool_stream::{
    ToolControl, ToolHandle, ToolInvocationMode, ToolStatus, ToolStreamChunk, ToolStreamEvent,
};