Skip to main content

Crate talos_runtime

Crate talos_runtime 

Source
Expand description

Embeddable Talos agent runtime facade.

This crate is the SDK-style entrypoint for Rust projects that want to reuse Talos’s agent turn loop without depending on the Talos CLI or TUI crates.

Structs§

MessageToolResult
Result of a tool execution (message-layer).
RuntimeBuilder
Builder for an embeddable Talos runtime.
RuntimeHandle
Handle for interacting with a running embedded Talos runtime.
RuntimeHookRegistry
Per-agent hook registry.
RuntimeSkillIndex
Lightweight skill index entry for Level 0 progressive disclosure.
SandboxFallbackContext
A redacted, typed request for a sandbox fallback decision.
ToolCall
A tool call requested by the assistant.
ToolDefinition
Usage
Token usage statistics for a turn.

Enums§

AgentEvent
Events emitted during a turn for streaming.
ProviderError
RuntimeError
Errors returned by the embeddable runtime facade.
RuntimePreset
Explicit built-in capability preset for embedded runtimes.
RuntimeTurnCompletionStatus
SandboxFallbackDecision
A dedicated sandbox fallback decision. It intentionally has no permanent or reusable approval variant.
SandboxFallbackPolicy
Controls what happens when a configured sandbox is unavailable.
StopReason
Reason the assistant stopped generating.
ToolNature
Categorizes a tool by its operational nature for permission decisions.
ToolProvenance
Provenance of a registered tool.

Traits§

ApprovalHandler
Handles approval requests for permission-gated runtime tool calls.

Functions§

collect_until_turn_completed
Collects events until the current turn completes.

Type Aliases§

RuntimeResult
Result alias for runtime facade operations.