forked from Michael-A-Kuykendall/rustchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent_reasoning.yaml
More file actions
40 lines (35 loc) · 1.11 KB
/
Copy pathagent_reasoning.yaml
File metadata and controls
40 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "Agent Reasoning Demo"
description: "Autonomous agent with ReAct pattern for problem solving"
version: "1.0"
steps:
- id: "setup_problem"
name: "Set Up Problem Context"
step_type: "create_file"
parameters:
path: "agent_problem.txt"
content: |
SCENARIO: Simple Data Analysis
Goal: Analyze sales data and identify the top-performing product.
Data format: CSV with columns (date, product, sales, region)
Constraints: Use only safe file operations
- id: "run_agent"
name: "Run Reasoning Agent"
step_type: "agent"
parameters:
name: "AnalysisAgent"
objective: "Read the problem context and create an analysis plan."
max_iterations: 3
context_file: "agent_problem.txt"
depends_on: ["setup_problem"]
timeout_seconds: 60
- id: "save_result"
name: "Save Agent Output"
step_type: "create_file"
parameters:
path: "agent_output.txt"
content: "Agent reasoning complete. Check context for results."
depends_on: ["run_agent"]
config:
max_parallel_steps: 1
timeout_seconds: 120
fail_fast: false