-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshow_agent_systems.py
More file actions
167 lines (142 loc) Β· 5 KB
/
Copy pathshow_agent_systems.py
File metadata and controls
167 lines (142 loc) Β· 5 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
#!/usr/bin/env python3
"""
Show Agent Systems
Display what agent systems are available
"""
import os
from pathlib import Path
def print_header(title):
"""Print a formatted header"""
print("\n" + "="*60)
print(f"π {title}")
print("="*60)
def print_section(title):
"""Print a formatted section"""
print(f"\nπ {title}")
print("-" * 40)
def show_file_structure():
"""Show the current file structure"""
print_header("Current Agent Systems")
# Check if src/agents directory exists
agents_dir = Path("src/agents")
if not agents_dir.exists():
print("β src/agents directory not found")
return
print_section("Available Agent Files")
# List all files in src/agents
agent_files = list(agents_dir.glob("*.py"))
traditional_agents = []
vertex_ai_agents = []
for file in agent_files:
if file.name.startswith("vertex_ai"):
vertex_ai_agents.append(file.name)
else:
traditional_agents.append(file.name)
print("π§ Traditional Python Script Agents:")
for file in traditional_agents:
print(f" β
{file}")
print("\nπ Vertex AI Agent Builder Agents:")
for file in vertex_ai_agents:
print(f" β
{file}")
print_section("System Status")
# Check if key files exist
key_files = {
"Traditional System": [
"src/agents/base_agent.py",
"src/agents/data_collection_agent.py",
"src/agents/business_analysis_agent.py",
"src/agents/risk_assessment_agent.py",
"src/agents/investment_insights_agent.py",
"src/agents/report_generation_agent.py",
"src/agents/orchestrator.py"
],
"Vertex AI System": [
"src/agents/vertex_ai_agents.py",
"src/agents/vertex_ai_orchestrator.py"
],
"Backend Systems": [
"backend/main.py",
"backend/enhanced_main.py"
],
"Test Scripts": [
"test_google_services.py",
"test_vertex_ai_agents.py",
"demo_both_systems.py"
],
"Setup Scripts": [
"setup_vertex_ai_agents.sh",
"start_vertex_ai_agents.py"
]
}
for system, files in key_files.items():
print(f"\nπ§ {system}:")
for file in files:
if Path(file).exists():
print(f" β
{file}")
else:
print(f" β {file} (missing)")
def show_usage_examples():
"""Show usage examples for both systems"""
print_header("Usage Examples")
print_section("Traditional Agents")
print("```bash")
print("# Run traditional system")
print("python3 backend/main.py")
print("")
print("# Test traditional agents")
print("python3 test_google_services.py")
print("```")
print_section("Vertex AI Agent Builder")
print("```bash")
print("# Run advanced system")
print("python3 start_vertex_ai_agents.py")
print("")
print("# Test advanced agents")
print("python3 test_vertex_ai_agents.py")
print("```")
print_section("Demo Both Systems")
print("```bash")
print("# Demo both systems")
print("python3 demo_both_systems.py")
print("```")
def show_migration_info():
"""Show migration information"""
print_header("Migration Information")
print_section("What Happened to Traditional Agents?")
print("β
Traditional agents are STILL THERE and working!")
print("β
They were NOT replaced - they were enhanced!")
print("β
You now have TWO complete systems:")
print(" π§ Traditional system (simple, quick)")
print(" π Vertex AI system (advanced, professional)")
print_section("When to Use Which System?")
print("π§ Traditional Agents:")
print(" β’ Quick prototyping and testing")
print(" β’ Learning how agents work")
print(" β’ Simple demos")
print(" β’ Limited time for setup")
print("")
print("π Vertex AI Agent Builder:")
print(" β’ Hackathon competition")
print(" β’ Production deployment")
print(" β’ Professional demos")
print(" β’ Scalable systems")
print_section("Hackathon Strategy")
print("1. Start with traditional agents (quick demo)")
print("2. Upgrade to Vertex AI (show advanced features)")
print("3. Compare both systems (demonstrate learning)")
print("4. Highlight benefits (show why advanced is better)")
def main():
"""Main function"""
print_header("Agent Systems Overview")
print("π― Showing what agent systems are available")
show_file_structure()
show_usage_examples()
show_migration_info()
print_header("Summary")
print("π You have BOTH systems working!")
print("π§ Traditional agents for quick demos")
print("π Vertex AI agents for hackathon competition")
print("π Easy migration path between systems")
print("π Best of both worlds!")
if __name__ == "__main__":
main()