MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / run

Function run

run_ui.py:9–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def run():
10 configure_process_environment()
11 PrintStyle().print("Initializing Python framework...")
12 PrintStyle().print("Checking for data migration...")
13 run_migration_checks()
14
15 PrintStyle().print("Preparing web server runtime...")
16 server_runtime, host, port = prepare_web_runtime()
17
18 PrintStyle().print("Initializing Agent Zero components...")
19 init_a0()
20
21 PrintStyle().print("Starting UI/API server...")
22 start_web_server(server_runtime, host, port)
23
24
25def run_migration_checks() -> None:

Callers 1

run_ui.pyFile · 0.70

Calls 7

PrintStyleClass · 0.90
run_migration_checksFunction · 0.85
prepare_web_runtimeFunction · 0.85
init_a0Function · 0.85
start_web_serverFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected