Skip to main content

example_agent_workflow

Function example_agent_workflow 

Source
pub fn example_agent_workflow() -> Result<Workflow, WorkflowError>
Expand description

Creates an agent workflow with AI-driven operations.

Demonstrates integrating the AgentLoop into workflows for autonomous code analysis and modification.

§Example

use forge_agent::workflow::examples::example_agent_workflow;

let workflow = example_agent_workflow();
assert_eq!(workflow.task_count(), 3);