Skip to main content

Crate runifold_agent

Crate runifold_agent 

Source
Expand description

Structured model-tool agent runtime for Runifold.

Structs§

Agent
One configured model-tool agent.
AgentBuilder
Fluent assembly of one canonical Agent.
AgentCheckpoint
Stable handle binding one checkpoint identity to a store.
AgentCheckpointState
Versioned Agent state stored in a domain-neutral checkpoint envelope.
AgentConfig
Local bounds and recovery behavior for an agent.
AgentDescriptor
Versioned contract for invoking an agent through a gateway.
AgentEventStream
A borrow-scoped stream that drives the canonical Agent loop when polled.
AgentGateway
Capability-gated router for parent-to-child agent delegation.
AgentOutcome
Successful terminal state of an agent run.
AgentRoute
One explicitly configured route from a caller to a child agent.
DelegationRequest
Immutable-authority request flowing through gateway middleware.
GatewayError
Structured failure from the agent delegation boundary.
GatewayNext
The remaining immutable gateway chain.
PolicyMiddleware
Middleware adapter for a reusable authorization or approval policy.
StructuredAgent
An Agent whose provider schema and local decoder are bound to the same type.
StructuredAgentOutcome
A locally validated typed value and its complete Agent execution outcome.

Enums§

AgentBuildError
Failure while assembling an Agent.
AgentCheckpointPhase
Persisted Agent execution phase.
AgentError
Failure of an agent run.
AgentRegistrationError
Failure to add an agent route to a gateway.
AgentStreamEvent
One real-time event from the canonical Agent execution loop.
CallableKind
The callable boundary represented by an Agent stream event.
GatewayDecision
Decision returned by a gateway policy.
GatewayErrorKind
Normalized gateway failure category.
ResumePolicy
Recovery behavior for a checkpoint captured during an external turn.
StructuredAgentError
Failure while executing or locally decoding a typed Agent run.
ToolErrorPolicy
How the agent handles tool failures that are safe for model recovery.

Traits§

GatewayMiddleware
Object-safe around-middleware for agent delegation.
GatewayPolicy
Object-safe asynchronous policy boundary.

Type Aliases§

AgentFuture
A boxed, sendable future returned by an agent.
GatewayFuture
A boxed, sendable future returned by gateway extensions.