Skip to main content

Crate cortex_runtime

Crate cortex_runtime 

Source
Expand description

Agent runtime glue — records events; does not reinterpret memory semantics.

Re-exports§

pub use claims::compile_runtime_claim;
pub use claims::development_ledger_use_decision;
pub use claims::require_runtime_claim;
pub use claims::require_runtime_claim_with_policy;
pub use claims::runtime_claim_preflight;
pub use claims::runtime_claim_preflight_with_policy;
pub use claims::CompiledRuntimeClaim;
pub use claims::DevelopmentLedgerUse;
pub use claims::DevelopmentLedgerUseDecision;
pub use claims::RuntimeClaimKind;
pub use claims::RuntimeClaimPreflight;

Modules§

claims
Runtime claim compiler for truth-ceiling enforcement.

Structs§

Run
Runtime request for a child-agent run.
RunObservability
Minimal structured observability surface for a runtime run.
RunReport
Non-panicking result of a runtime child-agent run.

Enums§

RunTraceStatus
Status for a structured runtime observability record.
RuntimeError
Runtime failures before downstream ledger/store ingestion.

Constants§

DEFAULT_RUNTIME_MODEL
Default model identifier used by runtime replay/fake adapters until CLI wiring supplies a concrete backend model.
DEFAULT_TIMEOUT_MS
Default timeout for one child-agent completion call.
RUNTIME_RUN_OPERATION
Stable operation name for child-agent runtime runs.
RUNTIME_TRACE_SCHEMA_VERSION
Schema version for runtime observability records.

Functions§

run
Run a task through an adapter using an already-built context pack.
run_configured
Run a fully configured runtime request through an adapter.
run_stub
Placeholder for cortex run (wire HTTP/SDK clients behind cortex-llm).