Skip to main content

Module core

Module core 

Source

Re-exports§

pub use crate::types::result::RunResult;
pub use crate::types::result::TokenUsage;
pub use agent::Agent;
pub use memory::AgentMemory;
pub use steps::AgentStep;
pub use tool_call::ToolCall;
pub use tool_call::ToolExecution;
pub use tool_call::ToolOutput;

Modules§

agent
memory
steps
tool_call

Functions§

generate_planning_prompt
Generate a planning prompt for the agent before tool execution
generate_tool_planning_prompt
Generate a simplified planning prompt that encourages direct tool use
get_tool_names
Extract tool names from FunctionFactory for planning context
is_planning_response
Check if a response indicates the agent is planning vs. executing