Skip to content
中文

Deployment Components ​

FinClaw Microservices ​

ProcessServicePort (Internal)Notes
api-gatewayAPI GatewayHTTP/26100The single external port - TLS termination, JWT validation, rate limiting, CSP; the unified entry for frontend, SDK, and admin console.
identity-serviceIdentity ServiceHTTP/26101Authentication, JWT issuance, session management, and multi-tenant identity.
orchestratorFlow OrchestratorHTTP/26102Interprets YAML flow definitions; threads intent classification, context assembly, LLM calls, and delivery.
ag-ui-serverAG-UI GatewayHTTP/26103AG-UI / SSE streaming gateway for chat clients.
persona-servicePersona ServiceHTTP/26104Onboarding personas, role templates, persona upload management.
skill-serviceSkill ServiceHTTP/26105Skill catalog, installation, review, and platform-skill management.
claw-fleet-managerClaw Runtime ManagerHTTP/26107 + dynamic 26463-26549Lifecycle management of claw runtime instances; the dynamic port range is occupied by per_tenant_instance via docker run -p; claw-fleet-manager itself does not map the range in compose. Default-stack member (identity-service and ai-infra-rs depend on its routing endpoint); the profile label is kept only for explicitly starting the single service.
a2a-gatewayA2A GatewayHTTP/26108A2A protocol entry, for external Agent interconnection scenarios.
auth-fabric-proxyAuthentication ProxyHTTP/26109Profile gated (auth-fabric profile); front authentication proxy.
conversation-storeConversation StoreHTTP/26200WORM append-only conversation store on TimescaleDB + NATS.
deliveryDelivery ServiceHTTP/26201Delivery coordinator across inbox / SSE / push.
inbox-serviceInbox ServiceHTTP/26202Reliable inbox storage.
push-servicePush ServiceHTTP/26203Push notifications via APNs / vendor channels.
document-serviceDocument ServiceHTTP/26205Document API backed by workspace volumes.
ai-infra-rsAI RuntimeHTTP/26450 + 26451Main AI backend (Rust) for inference, tool invocation, memory, and scheduling hooks; 26451 is the Restate endpoint for Restate Server handler callbacks.
searxngMetasearch engineHTTP/26118SearXNG metasearch for ai-infra-rs web search (AI_INFRA_RS_WEB_SEARCH_SEARXNG_URL / _LANGUAGE); healthcheck path is /healthz.
feishu-connectorFeishu ConnectorHTTP/26460Feishu / Lark channel connector.
dingtalk-connectorDingTalk ConnectorHTTP/26462DingTalk Stream Mode channel connector.
doc-toolkitDocument Toolkit WorkerHTTP/26461Resident document processing (fetch / extract / validate / export).
wecom-connectorWeCom ConnectorHTTP/26550WeCom channel connector.
auth-fabricAuthentication ServiceHTTP/26115Profile gated (auth-fabric profile); provides enterprise authentication capabilities.

Infrastructure Services ​

ProcessServicePort (Internal)Notes
postgresRelational DBTCP/26110PostgreSQL, hosts platform schemas (identity / inbox / persona / skill / document, etc.).
timescaledbTime-Series DBTCP/26111TimescaleDB, hosts conversation-store session history.
natsMessage BusTCP/26112, 26113NATS JetStream, cross-service events and reliable delivery; 26113 is the monitoring UI/API.
redisCache & CoordinationTCP/26114Cache, coordination state, rate-limit counters.
teiText EmbeddingsHTTP/26117Text Embeddings Inference, vector generation.
restateWorkflow EngineHTTP/26180, 26181Durable timers and cron for ai-infra-rs; 26181 is the admin API.

K8s port difference: restate has different defaults in Docker Compose and Kubernetes - compose uses 26180 (ingress) / 26181 (admin), K8s defaults to 26180 (ingress) / 26182 (admin).

Operations Infrastructure ​

NameCategoryPortDescription
CentOS 8+ / RHEL 8+ / Ubuntu 22.04+Operating System-Base OS, X86_64; domestic Linux distributions need to be evaluated against the matching RHEL/Ubuntu baseline.
Docker Engine 24+Container Engine-All services run as Docker containers in single-machine mode.
Docker Compose v2Container Orchestration-Single-machine mode uses docker-compose.yml + fleet.sh for unified orchestration.
Prometheus / GrafanaMonitoringInternal / multipleOptional, dashboards and alerting.
Vector + Kafka + ES + Kibana / Loki + GrafanaLoggingInternal / multipleOptional, cluster-scale log aggregation.

Request Paths ​

  • Inbound conversation: api-gateway -> ag-ui-server -> orchestrator -> ai-infra-rs -> delivery -> (inbox-service / push-service / AG-UI stream)

See Architecture Overview for the overall architecture and deployment modes.

Port Planning Notes ​

  • claw-fleet-manager dynamically occupies the 26463-26549 port range; firewall and K8s NodePort planning must reserve it. The range is consumed by per_tenant_instance via docker run -p <port>:<port> and is not explicitly mapped in compose.
  • restate ports differ between Docker Compose and K8s defaults (compose 26180/26181, K8s 26180/26182).
  • ai-infra-rs listens on both 26450 (main service) and 26451 (Restate endpoint); both must be opened in the firewall and K8s Service.
  • dingtalk-connector (26462) uses Stream Mode and must maintain a long connection to the DingTalk open platform; wecom-connector (26550) and feishu-connector (26460) must be opened per each channel's callback requirements.

Digital Ecosystem Infrastructure.