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.
AgentConversationOutcome
Successful Agent turn committed to one conversation.
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.
AutomaticConversationSummary
Automatic compaction strategy for one conversational Agent turn.
ConversationAppend
Idempotent transcript append with optimistic concurrency control.
ConversationContextPolicy
Bounded conversation and cross-session memory context policy.
ConversationId
Stable identity of one multi-turn conversation.
ConversationSequence
One-based stable position in an append-only transcript.
ConversationStoreError
Typed conversation and semantic-memory persistence failure.
ConversationSummary
Lossy compression of a prefix of the immutable transcript.
ConversationSummaryBatch
Maximum older transcript entries returned for one summary operation.
ConversationSummaryCommit
Request to replace the current summary with a strictly newer prefix.
ConversationSummaryPassLimit
Maximum automatic summary commits attempted before conversational execution.
ConversationSummaryRequest
Immutable input for rolling one conversation summary forward.
ConversationTranscriptEntry
Canonical model message stored in the append-only transcript.
ConversationVersion
Monotonic append version of one conversation transcript.
ConversationView
Bounded context view derived without mutating the transcript.
ConversationWindow
Maximum number of recent transcript entries exposed as the live window.
DelegationRequest
Immutable-authority request flowing through gateway middleware.
DurableConversationCheckpoint
Conversation commit preconditions carried through crash recovery.
DurableConversationCommit
Final state of one durable conversational Agent turn.
DurableConversationRequest
Stable identities and context policy for one new durable Agent turn.
GatewayError
Structured failure from the agent delegation boundary.
GatewayNext
The remaining immutable gateway chain.
InMemoryConversationStore
Deterministic in-memory reference store for tests and ephemeral applications.
MemoryNamespace
Isolation namespace shared by related conversations and semantic memories.
PolicyMiddleware
Middleware adapter for a reusable authorization or approval policy.
SemanticMemory
Cross-conversation semantic fact, preference, or durable user knowledge.
SemanticMemoryId
Stable identity of one explicitly curated semantic memory.
SemanticMemoryQuery
Validated semantic-memory lookup.
SemanticMemorySearchOutcome
Semantic-memory search results plus attributable embedding/storage usage.
SemanticMemorySource
Provenance link from semantic memory back to immutable conversation data.
SemanticMemoryUpsert
Create-or-CAS command for one semantic memory.
SemanticMemoryUpsertOutcome
Semantic-memory write plus attributable embedding/storage usage.
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.
AgentConversationError
Failure while loading, running, or committing one conversational Agent turn.
AgentError
Failure of an agent run.
AgentPromptError
Failure while building and immediately prompting an Agent.
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.
ConversationCreateOutcome
Result of creating an idempotent conversation identity.
ConversationStoreErrorKind
Stable conversation-store failure category.
ConversationSummarizerError
Failure produced before a summary can be committed.
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§

ConversationStore
Persistence boundary for conversation transcript, summaries, and semantic memory.
ConversationSummarizer
Produces a lossy summary without mutating transcript storage.
DurableConversationStore
Store capable of atomically committing conversation and recovery state.
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.
ConversationStoreFuture
A boxed asynchronous conversation-store operation.
ConversationSummarizerFuture
A boxed asynchronous conversation-summarization operation.
GatewayFuture
A boxed, sendable future returned by gateway extensions.