Общий индекс · снимок 40cb7a4624ad · native export

chat-agent — Complete Call Flow & Architecture Documentation

Generated from graphify knowledge graph: 3373 nodes, 8410 edges, 1 communities. Commit: unknown

1. Architecture Overview

%%{init: {"theme": "dark", "themeVariables": {"fontSize": "15.0px", "fontFamily": "Segoe UI, system-ui, sans-serif", "primaryColor": "#1e293b", "primaryTextColor": "#e2e8f0", "primaryBorderColor": "#38bdf8", "secondaryColor": "#0f172a", "tertiaryColor": "#334155", "lineColor": "#64748b", "textColor": "#e2e8f0"}, "flowchart": {"htmlLabels": true, "curve": "basis", "nodeSpacing": 48, "rankSpacing": 64, "padding": 14, "diagramPadding": 10, "useMaxWidth": true}}}%% flowchart LR CLI_SKILLS_9964CBB8("CLI & Skill Installers
3373 nodes") class CLI_SKILLS_9964CBB8 module; classDef entry fill:#422006,stroke:#fbbf24,color:#fde68a,stroke-width:1px; classDef api fill:#450a0a,stroke:#f87171,color:#fee2e2,stroke-width:1px; classDef async fill:#2e1065,stroke:#a78bfa,color:#ede9fe,stroke-width:1px; classDef klass fill:#064e3b,stroke:#34d399,color:#d1fae5,stroke-width:1px; classDef ui fill:#831843,stroke:#f472b6,color:#fce7f3,stroke-width:1px; classDef module fill:#172554,stroke:#60a5fa,color:#dbeafe,stroke-width:1px; classDef test fill:#3f3f46,stroke:#a1a1aa,color:#f4f4f5,stroke-width:1px; classDef concept fill:#292524,stroke:#a8a29e,color:#fafaf9,stroke-dasharray:4 3; classDef function fill:#0f172a,stroke:#38bdf8,color:#e0f2fe,stroke-width:1px;

Architecture Layers

LayerNodesCommunities
CLI & Skill Installers3373unknown

Core Flow

CLI & Skill Installers

2. CLI & Skill Installers

CLI & Skill Installers groups implementation around langgraph, test, node, tests, mostly in tests/test_pydantic_agent.py, src/assistant/assistantApp.ts, tests/test_chat_nats_release.rb. This section covers 3373 nodes and 8410 internal edges; the diagram shows only representative relationships to stay readable.

%%{init: {"theme": "dark", "themeVariables": {"fontSize": "15.0px", "fontFamily": "Segoe UI, system-ui, sans-serif", "primaryColor": "#1e293b", "primaryTextColor": "#e2e8f0", "primaryBorderColor": "#38bdf8", "secondaryColor": "#0f172a", "tertiaryColor": "#334155", "lineColor": "#64748b", "textColor": "#e2e8f0"}, "flowchart": {"htmlLabels": true, "curve": "basis", "nodeSpacing": 48, "rankSpacing": 64, "padding": 14, "diagramPadding": 10, "useMaxWidth": true}}}%% flowchart LR %% Section: CLI & Skill Installers (3373 nodes, 8410 edges) subgraph cli_skills_docker_check_healthcheck_py_f92f2475["docker/check_healthcheck.py"] chat_agent_docker_check_healthcheck_read_probe_1ec5442d("read_probe()
docker/check_healthcheck.py") chat_agent_docker_check_healthcheck_handler_6aa30bef("Handler
docker/check_healthcheck.py") chat_agent_docker_check_healthcheck_handler_do_g_3efaab8b("do_GET()
docker/check_healthcheck.py") chat_agent_docker_check_healthcheck_handler_log_242fc3f0("log_message()
docker/check_healthcheck.py") chat_agent_docker_check_healthcheck_child_cpu_ms_b2754347("child_cpu_ms()
docker/check_healthcheck.py") chat_agent_docker_check_healthcheck_run_probe_22102728("run_probe()
docker/check_healthcheck.py") end subgraph cli_skills_collect_file_contents_sh_4e14896d["collect_file_contents.sh"] chat_agent_collect_file_contents_sh_entry_a97ecbba("collect_file_contents.sh script
collect_file_contents.sh") chat_agent_collect_file_contents_process_tree_56ec1495("process_tree()
collect_file_contents.sh") chat_agent_collect_file_contents_should_skip_pat_bdf1bb6a("should_skip_path()
collect_file_contents.sh") chat_agent_collect_file_contents_json_entry_0e095e41("json_entry()
collect_file_contents.sh") end subgraph cli_skills_External_generated_0c226fa1["External / generated"] chat_agent_re_43a49d34("re") chat_agent_resource_3c5d2392("resource") end subgraph cli_skills_src_assistant_assistantApp_ts_0bc39c91["src/assistant/assistantApp.ts"] chat_agent_src_front_src_assistant_assistantapp_26feb343("assistantApp.ts") chat_agent_src_front_src_assistant_assistantapp_5cec59d9("AssistantApp
src/assistant/assistantApp.ts") end chat_agent_src_agent_agent_63b26ee3("agent.py") chat_agent_src_agent_service_fdd65ef6("service.py") chat_agent_src_langgraph_rb_lib_src_langgraph_rb_ed0194fa("SrcLanggraphRb::DSL::GraphBuilder
src_langgraph_rb/dsl/graph_builder.rb") chat_agent_src_llm_service_e71a92b7("service.py") chat_agent_collect_file_contents_sh_entry_a97ecbba -->|calls| chat_agent_collect_file_contents_process_tree_56ec1495 chat_agent_collect_file_contents_sh_entry_a97ecbba -->|calls| chat_agent_collect_file_contents_should_skip_pat_bdf1bb6a chat_agent_collect_file_contents_sh_entry_a97ecbba -->|calls| chat_agent_collect_file_contents_json_entry_0e095e41 chat_agent_docker_check_healthcheck_read_probe_1ec5442d -->|calls| chat_agent_re_43a49d34 chat_agent_docker_check_healthcheck_handler_6aa30bef -->|method| chat_agent_docker_check_healthcheck_handler_do_g_3efaab8b chat_agent_docker_check_healthcheck_handler_6aa30bef -->|method| chat_agent_docker_check_healthcheck_handler_log_242fc3f0 chat_agent_docker_check_healthcheck_child_cpu_ms_b2754347 -->|calls| chat_agent_resource_3c5d2392 chat_agent_docker_check_healthcheck_run_probe_22102728 -->|calls| chat_agent_docker_check_healthcheck_child_cpu_ms_b2754347 chat_agent_src_agent_service_fdd65ef6 -->|imports| chat_agent_src_agent_agent_63b26ee3 %% Omitted for readability: 3355 nodes, 0 edges class chat_agent_docker_check_healthcheck_read_probe_1ec5442d function; class chat_agent_docker_check_healthcheck_handler_6aa30bef klass; class chat_agent_docker_check_healthcheck_handler_do_g_3efaab8b function; class chat_agent_docker_check_healthcheck_handler_log_242fc3f0 function; class chat_agent_docker_check_healthcheck_child_cpu_ms_b2754347 function; class chat_agent_docker_check_healthcheck_run_probe_22102728 function; class chat_agent_collect_file_contents_sh_entry_a97ecbba function; class chat_agent_collect_file_contents_process_tree_56ec1495 function; class chat_agent_collect_file_contents_should_skip_pat_bdf1bb6a function; class chat_agent_collect_file_contents_json_entry_0e095e41 function; class chat_agent_re_43a49d34 function; class chat_agent_resource_3c5d2392 function; class chat_agent_src_front_src_assistant_assistantapp_26feb343 module; class chat_agent_src_front_src_assistant_assistantapp_5cec59d9 klass; class chat_agent_src_agent_agent_63b26ee3 module; class chat_agent_src_agent_service_fdd65ef6 module; class chat_agent_src_langgraph_rb_lib_src_langgraph_rb_ed0194fa klass; class chat_agent_src_llm_service_e71a92b7 module; classDef entry fill:#422006,stroke:#fbbf24,color:#fde68a,stroke-width:1px; classDef api fill:#450a0a,stroke:#f87171,color:#fee2e2,stroke-width:1px; classDef async fill:#2e1065,stroke:#a78bfa,color:#ede9fe,stroke-width:1px; classDef klass fill:#064e3b,stroke:#34d399,color:#d1fae5,stroke-width:1px; classDef ui fill:#831843,stroke:#f472b6,color:#fce7f3,stroke-width:1px; classDef module fill:#172554,stroke:#60a5fa,color:#dbeafe,stroke-width:1px; classDef test fill:#3f3f46,stroke:#a1a1aa,color:#f4f4f5,stroke-width:1px; classDef concept fill:#292524,stroke:#a8a29e,color:#fafaf9,stroke-dasharray:4 3; classDef function fill:#0f172a,stroke:#38bdf8,color:#e0f2fe,stroke-width:1px;

Call Details

# Node Type Caller Callees Description
1 collect_file_contents.sh
collect_file_contents.sh
Function External entry / no inbound edge No direct outbound edge collect_file_contents.sh node in collect_file_contents.sh.
2 collect_file_contents.sh script
collect_file_contents.sh
Function External entry / no inbound edge json_entry()
collect_file_contents.sh
process_tree()
collect_file_contents.sh
should_skip_path()
collect_file_contents.sh
collect_file_contents.sh script node in collect_file_contents.sh.
3 process_tree()
collect_file_contents.sh
Function collect_file_contents.sh script
collect_file_contents.sh
No direct outbound edge process_tree() node in collect_file_contents.sh.
4 should_skip_path()
collect_file_contents.sh
Function collect_file_contents.sh script
collect_file_contents.sh
No direct outbound edge should_skip_path() node in collect_file_contents.sh.
5 json_entry()
collect_file_contents.sh
Function collect_file_contents.sh script
collect_file_contents.sh
No direct outbound edge json_entry() node in collect_file_contents.sh.
6 check_healthcheck.py
docker/check_healthcheck.py
Module External entry / no inbound edge argparse
http_server
json
+8 more
Module file in docker/check_healthcheck.py.
7 read_probe()
docker/check_healthcheck.py
Function check()
docker/check_healthcheck.py
re read_probe() node in docker/check_healthcheck.py.
8 Handler
docker/check_healthcheck.py
Class External entry / no inbound edge do_GET()
docker/check_healthcheck.py
log_message()
docker/check_healthcheck.py
Handler node in docker/check_healthcheck.py.
9 BaseHTTPRequestHandler
Class External entry / no inbound edge No direct outbound edge BaseHTTPRequestHandler node in project.
10 .do_GET()
docker/check_healthcheck.py
Function Handler
docker/check_healthcheck.py
No direct outbound edge .do_GET() node in docker/check_healthcheck.py.
11 .log_message()
docker/check_healthcheck.py
Function Handler
docker/check_healthcheck.py
No direct outbound edge .log_message() node in docker/check_healthcheck.py.
12 child_cpu_ms()
docker/check_healthcheck.py
Function run_probe()
docker/check_healthcheck.py
resource child_cpu_ms() node in docker/check_healthcheck.py.
13 run_probe()
docker/check_healthcheck.py
Function check()
docker/check_healthcheck.py
child_cpu_ms()
docker/check_healthcheck.py
subprocess
time
run_probe() node in docker/check_healthcheck.py.
14 check()
docker/check_healthcheck.py
Function External entry / no inbound edge json
read_probe()
docker/check_healthcheck.py
run_probe()
docker/check_healthcheck.py
+2 more
check() node in docker/check_healthcheck.py.
15 Exercise the Dockerfile's exact shell probe; export numbers, never HTTP bodies.
docker/check_healthcheck.py
Concept External entry / no inbound edge No direct outbound edge Design note for Exercise the Dockerfile's exact shell probe; export numbers, never HTTP bodies..
16 filter-build-phase.rb
docker/filter-build-phase.rb
Module External entry / no inbound edge No direct outbound edge filter-build-phase.rb node in docker/filter-build-phase.rb.
17 50-settings.sh
front/nginx/50-settings.sh
Function External entry / no inbound edge No direct outbound edge 50-settings.sh node in front/nginx/50-settings.sh.
18 50-settings.sh script
front/nginx/50-settings.sh
Function External entry / no inbound edge emit_setting()
front/nginx/50-settings.sh
50-settings.sh script node in front/nginx/50-settings.sh.
19 emit_setting()
front/nginx/50-settings.sh
Function 50-settings.sh script
front/nginx/50-settings.sh
No direct outbound edge emit_setting() node in front/nginx/50-settings.sh.
20 local_build.sh
docker/local_build.sh
Function External entry / no inbound edge No direct outbound edge local_build.sh node in docker/local_build.sh.
21 local_build.sh script
docker/local_build.sh
Function External entry / no inbound edge No direct outbound edge local_build.sh script node in docker/local_build.sh.
22 CI_PIPELINE_ID
docker/local_build.sh
Class External entry / no inbound edge No direct outbound edge CI_PIPELINE_ID node in docker/local_build.sh.
23 CI_PIPELINE_IID
docker/local_build.sh
Class External entry / no inbound edge No direct outbound edge CI_PIPELINE_IID node in docker/local_build.sh.
24 CI_REGISTRY_HOST
docker/local_build.sh
Class External entry / no inbound edge No direct outbound edge CI_REGISTRY_HOST node in docker/local_build.sh.
25 mirror-postgres.rb
docker/mirror-postgres.rb
Module External entry / no inbound edge No direct outbound edge mirror-postgres.rb node in docker/mirror-postgres.rb.
26 manifest()
docker/mirror-postgres.rb
Function External entry / no inbound edge No direct outbound edge manifest() node in docker/mirror-postgres.rb.
27 entrypoint-with-migrations.sh
docker/postgres/entrypoint-with-migrations.sh
Function External entry / no inbound edge No direct outbound edge entrypoint-with-migrations.sh node in docker/postgres/entrypoint-with-migrations.sh.
28 entrypoint-with-migrations.sh script
docker/postgres/entrypoint-with-migrations.sh
Function External entry / no inbound edge No direct outbound edge entrypoint-with-migrations.sh script node in docker/postgres/entrypoint-with-migrations.sh.
29 src_agent/__init__.py
src_agent/__init__.py
Module External entry / no inbound edge No direct outbound edge Module file in src_agent/__init__.py.
30 src_agent/agent.py
src_agent/agent.py
Module service.py
src_agent/service.py
test_agent_persistence.py
tests/test_agent_persistence.py
__init__.py
src_shared/contracts/__init__.py
AgentInboundRequest
src_shared/contracts/agent.py
AgentInboundResponse
src_shared/contracts/agent.py
+38 more
Module file in src_agent/agent.py.

Key Files

FileCoverage
tests/test_pydantic_agent.py73 nodes
src/assistant/assistantApp.ts57 nodes
tests/test_chat_nats_release.rb55 nodes
stack/chat_nats_release.rb46 nodes
src_langgraph_rb/dsl/graph_builder.rb42 nodes
src_langgraph_rb/runtime/compute_ops.rb41 nodes
tests/test_release.rb41 nodes
src_agent/service.py39 nodes

Design Notes

This section comes from graphify community clustering. Relationship summary: calls x2855, method x1497, contains x1148, imports x1116. The diagram prioritizes high-confidence calls or usage relationships; the table keeps the broader node inventory.


Project Statistics

Graph

Nodes3373
Edges8410
Hyperedges0
Communities1
Documented Sections1

Edge Confidence

EXTRACTED7759
INFERRED651
AMBIGUOUS0

chat-agent — Architecture Documentation

Generated: 2026-10-08 11:59 UTC · graphify callflow-html