Skip to main content

runifold_agent/
lib.rs

1//! Structured model-tool agent runtime for Runifold.
2
3mod agent;
4mod builder;
5mod checkpoint;
6mod conversation;
7mod descriptor;
8mod error;
9mod gateway;
10mod middleware;
11mod outcome;
12mod stream;
13mod structured;
14
15pub use agent::{Agent, AgentConfig, AgentFuture, ToolErrorPolicy};
16pub use builder::{AgentBuildError, AgentBuilder, AgentPromptError};
17pub use checkpoint::{AgentCheckpoint, AgentCheckpointPhase, AgentCheckpointState, ResumePolicy};
18pub use conversation::{
19    AgentConversationError, AgentConversationOutcome, AutomaticConversationSummary,
20    ConversationAppend, ConversationContextPolicy, ConversationCreateOutcome, ConversationId,
21    ConversationSequence, ConversationStore, ConversationStoreError, ConversationStoreErrorKind,
22    ConversationStoreFuture, ConversationSummarizer, ConversationSummarizerError,
23    ConversationSummarizerFuture, ConversationSummary, ConversationSummaryBatch,
24    ConversationSummaryCommit, ConversationSummaryPassLimit, ConversationSummaryRequest,
25    ConversationTranscriptEntry, ConversationVersion, ConversationView, ConversationWindow,
26    InMemoryConversationStore, MemoryNamespace, SemanticMemory, SemanticMemoryId,
27    SemanticMemoryQuery, SemanticMemorySearchOutcome, SemanticMemorySource, SemanticMemoryUpsert,
28    SemanticMemoryUpsertOutcome,
29};
30pub use descriptor::AgentDescriptor;
31pub use error::AgentError;
32pub use gateway::{
33    AgentGateway, AgentRegistrationError, AgentRoute, GatewayError, GatewayErrorKind,
34};
35pub use middleware::{
36    DelegationRequest, GatewayDecision, GatewayFuture, GatewayMiddleware, GatewayNext,
37    GatewayPolicy, PolicyMiddleware,
38};
39pub use outcome::{AgentOutcome, StructuredAgentOutcome};
40pub use stream::{AgentEventStream, AgentStreamEvent, CallableKind};
41pub use structured::{StructuredAgent, StructuredAgentError};