-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_demos.sh
More file actions
69 lines (57 loc) · 2.29 KB
/
run_demos.sh
File metadata and controls
69 lines (57 loc) · 2.29 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
# =============================================================================
# AI Agent Framework - Demo Runner
# Team Falcons | Intel® Unnati Industrial Training Program 2025
# =============================================================================
set -e # Exit on error
echo "============================================================"
echo " AI Agent Framework - Running All Demos"
echo " Team Falcons | Intel® Unnati Program 2025"
echo "============================================================"
echo ""
# Set PYTHONPATH to project root
export PYTHONPATH="$(cd "$(dirname "$0")" && pwd)"
echo "PYTHONPATH set to: $PYTHONPATH"
echo ""
# Check Python
if ! command -v python &> /dev/null; then
echo "❌ Python not found. Please install Python 3.8+"
exit 1
fi
echo "Python version: $(python --version)"
echo ""
# Install dependencies if needed
if [ "$1" == "--install" ]; then
echo "📦 Installing dependencies..."
pip install -r requirements.txt
echo ""
fi
# Run demos
echo "============================================================"
echo " 1. Reference Agents Demo (Research + Data Processing)"
echo "============================================================"
python examples/agents_demo.py
echo ""
echo "============================================================"
echo " 2. Tool System Demo (Schema Validation)"
echo "============================================================"
python examples/tools_demo.py
echo ""
echo "============================================================"
echo " 3. YAML Orchestrator Demo (State Persistence)"
echo "============================================================"
python examples/orchestrator_demo.py
echo ""
echo "============================================================"
echo " 4. Structured Logging Demo"
echo "============================================================"
python examples/logging_demo.py
echo ""
echo "============================================================"
echo " 5. OpenVINO Benchmark Demo"
echo "============================================================"
python examples/openvino_benchmark.py
echo ""
echo "============================================================"
echo " ✅ All Demos Completed Successfully!"
echo "============================================================"