Agent Broker ArchitectureΒΆ
Compose π³ΒΆ
flowchart LR
subgraph role [svc-ai-agent-broker]
svc_agent_broker["agent-broker<br>python:3.13.15-slim<br>http 8080"]
svc_socket_proxy["socket-proxy<br>wollomatic/socket-proxy:1.13.1"]
end
Swarm πΒΆ
flowchart LR
svc_agent_broker["agent-broker"]
svc_agent_broker --> rep_agent_broker["replicas: from the host group"]
svc_agent_broker --> plc_agent_broker["node.role == manager"]:::pinned
svc_socket_proxy["socket-proxy"]
svc_socket_proxy --> rep_socket_proxy["replicas: from the host group"]
svc_socket_proxy --> plc_socket_proxy["node.role == manager"]:::pinned
classDef pinned fill:#fef7e0,stroke:#b06000,color:#3d2600;
VolumesΒΆ
flowchart LR
vol_engine_socket["engine_socket"]
vol_engine_socket -->|"role is manager-pinned"| local_engine_socket["node-local on the manager"]:::local
classDef shared fill:#e6f4ea,stroke:#137333,color:#0b2e13;
classDef local fill:#fef7e0,stroke:#b06000,color:#3d2600;
Condition |
Effect |
|---|---|
swarm, |
shared over NFS |
any one of those missing |
node-local |
All four conditions must hold, so pinning a role takes every one of its volumes node-local. Only the roleβs primary entry counts as pinned here: a placement on any other service pins that service alone and leaves the backing of every volume unchanged. The chain is drawn rather than its result, because that coupling is what makes a placement change move data without saying so.
DependenciesΒΆ
flowchart LR
subgraph deps [Dependencies]
dep_svc_ai_litellm["svc-ai-litellm π³π"]
dep_web_app_docs["web-app-docs π³π"]
dep_web_app_hermes["web-app-hermes π³π"]
dep_web_app_keycloak["web-app-keycloak π³π"]
dep_web_app_openclaw["web-app-openclaw π³π"]
end
subgraph role [svc-ai-agent-broker π³π]
svc_agent_broker["agent-broker"]
svc_socket_proxy["socket-proxy"]
svc_litellm["litellm"]
svc_sso["sso"]
svc_hermes["hermes"]
svc_openclaw["openclaw"]
svc_docs["docs"]
end
subgraph dependents [Dependents]
dpt_web_app_openwebui["web-app-openwebui π³π"]
end
dep_svc_ai_litellm -- "1:1" --> svc_litellm
dep_web_app_docs -. "0..1" .-> svc_docs
dep_web_app_hermes -- "1:1" --> svc_hermes
dep_web_app_keycloak -- "1:1" --> svc_sso
dep_web_app_openclaw -- "1:1" --> svc_openclaw
svc_agent_broker -. "0..1" .-> dpt_web_app_openwebui
Symbol |
Meaning |
|---|---|
|
fixed relationship |
|
conditional, enabled only in matching deployments |
|
declared but turned off in this role |
π» |
deploys to the host |
π³ |
deploys under compose |
π |
deploys under swarm |
β |
service explicitly turned off |
βοΈ |
Ansible role dependency from |
Every dependency and dependent is listed; the graph is not truncated.