Skip to main content

Crate ag_runtime

Crate ag_runtime 

Source
Expand description

Runtime composition and dispatch for worker-owned agent execution.

Only ag-worker consumes this implementation. Shared execution contracts live in ag-contracts; concrete provider adapters live in ag-agent.

Structs§

RealAgentAvailabilityProbe
Machine-scoped provider discovery through the concrete adapter registry.
RuntimeFactory
Provider composition configuration. Constructing it starts no processes.
SessionRuntime
Session runtime whose concrete adapter never escapes to application code.
UtilityRuntime
Runtime-owned isolated execution and provider cleanup.

Functions§

cleanup_session_worktree_artifacts
Reclaims adapter-owned resources during workspace deletion.
setup_backend
Initializes provider resources in a session workspace.
supports_turn_steering
Whether the selected provider’s session turns accept user prompts while running.
uses_persistent_session
Whether the selected provider retains a process between turns.