Expand description
Structured model-tool agent runtime for Runifold.
Structs§
- Agent
- One configured model-tool agent.
- Agent
Builder - Fluent assembly of one canonical
Agent. - Agent
Checkpoint - Stable handle binding one checkpoint identity to a store.
- Agent
Checkpoint State - Versioned Agent state stored in a domain-neutral checkpoint envelope.
- Agent
Config - Local bounds and recovery behavior for an agent.
- Agent
Descriptor - Versioned contract for invoking an agent through a gateway.
- Agent
Event Stream - A borrow-scoped stream that drives the canonical Agent loop when polled.
- Agent
Gateway - Capability-gated router for parent-to-child agent delegation.
- Agent
Outcome - Successful terminal state of an agent run.
- Agent
Route - One explicitly configured route from a caller to a child agent.
- Delegation
Request - Immutable-authority request flowing through gateway middleware.
- Gateway
Error - Structured failure from the agent delegation boundary.
- Gateway
Next - The remaining immutable gateway chain.
- Policy
Middleware - Middleware adapter for a reusable authorization or approval policy.
- Structured
Agent - An Agent whose provider schema and local decoder are bound to the same type.
- Structured
Agent Outcome - A locally validated typed value and its complete Agent execution outcome.
Enums§
- Agent
Build Error - Failure while assembling an
Agent. - Agent
Checkpoint Phase - Persisted Agent execution phase.
- Agent
Error - Failure of an agent run.
- Agent
Registration Error - Failure to add an agent route to a gateway.
- Agent
Stream Event - One real-time event from the canonical Agent execution loop.
- Callable
Kind - The callable boundary represented by an Agent stream event.
- Gateway
Decision - Decision returned by a gateway policy.
- Gateway
Error Kind - Normalized gateway failure category.
- Resume
Policy - Recovery behavior for a checkpoint captured during an external turn.
- Structured
Agent Error - Failure while executing or locally decoding a typed Agent run.
- Tool
Error Policy - How the agent handles tool failures that are safe for model recovery.
Traits§
- Gateway
Middleware - Object-safe around-middleware for agent delegation.
- Gateway
Policy - Object-safe asynchronous policy boundary.
Type Aliases§
- Agent
Future - A boxed, sendable future returned by an agent.
- Gateway
Future - A boxed, sendable future returned by gateway extensions.