src/prelude.rs

AutoAgents · crates/autoagents/src/prelude.rs · rust · Apache-2.0
ai

! AutoAgents prelude: common traits, types, and macros for quick start. Macros and derives

// Source: https://github.com/liquidos-ai/AutoAgents | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
//! AutoAgents prelude: common traits, types, and macros for quick start.

// Macros and derives
pub use autoagents_derive::{AgentHooks, AgentOutput, ToolInput, agent, tool};

// Core agent types
pub use crate::core::agent::memory::SlidingWindowMemory;
pub use crate::core::agent::prebuilt::executor::{
    BasicAgent, BasicAgentOutput, ReActAgent, ReActAgentOutput,
};
#[cfg(feature = "codeact")]
pub use crate::core::agent::prebuilt::executor::{
    CodeActAgent, CodeActAgentOutput, CodeActExecutionRecord, CodeActSandboxLimits,
};
pub use crate::core::agent::task::Task;
pub use crate::core::agent::{ActorAgent, AgentBuilder, DirectAgent};
pub use crate::c

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key