potato-agent 0.26.0

Potato brands
Documentation
pub mod agents;

pub use agents::{
    agent::{Agent, PyAgent},
    builder::AgentBuilder,
    callbacks::{AgentCallback, CallbackAction, LoggingCallback},
    criteria::{
        CompletionCriteria, KeywordCriteria, MaxIterationsCriteria, StructuredOutputCriteria,
    },
    error::AgentError,
    memory::{InMemoryMemory, Memory, MemoryTurn, WindowedMemory},
    orchestration::{
        MergeStrategy, ParallelAgent, ParallelAgentBuilder, SequentialAgent, SequentialAgentBuilder,
    },
    run_context::{AgentRunConfig, AgentRunContext, ResumeContext},
    runner::{AgentRunOutcome, AgentRunResult, AgentRunner},
    session::{SessionSnapshot, SessionState},
    store::{
        validate_db_path, AppStateStore, MemoryStore, PersistentMemory, SessionStore, StoreError,
        StoredMemoryTurn, UserStateStore,
    },
    task::{Task, TaskStatus},
    tool_ext::{AgentTool, AgentToolPolicy},
    types::{AgentResponse, PyAgentResponse},
};

#[cfg(feature = "sqlite")]
pub use agents::store::{
    SqliteAppStateStore, SqliteMemoryStore, SqliteSessionStore, SqliteUserStateStore,
};