Alaya Complete Service Stack

Core Infrastructure

ServiceTypePort
nats-hermes-amb.serviceNATS server v2.14.34222
gbrain-mcp.serviceKnowledge base (Postgres)8920
mihomo.serviceProxy7890
alaya-tunnel-named.serviceCloudflare tunnel—

Agent Layer

ServiceDescriptionPort
hermes-gateway-alaya.serviceDiscord gateway + webhook8644
alaya-agent-bus-v3.service (v5 code)NATS listener 0.5s poll—
hermes-relay-alaya.serviceCross-agent relay—
hermes-relay-manas.serviceManas relay—

Monitoring & Tools

ServiceDescriptionPort
alaya-dashboard.serviceNetwork monitoring8649
alaya-gamification.serviceGamification XP dashboard9122
alaya-auth-gateway.serviceAuth gateway8643
alaya-kanban.serviceKanban board8652

Windows Side

ServiceTypePort
Hermes-Mano-Gatewaynssm service (SYSTEM)8642/8646
Anchor gatewaydirect spawn8647

Service Notes

  • Gateway restart: bash -c ‘nohup bash -c “sleep 2 && systemctl —user restart …” &’
  • Windows nssm cannot be killed from WSL
  • All services must be systemd (禁止脚本式daemon)

Cron Jobs

NameScheduleType
alaya-web-learn0 8,14,20 * * *LLM
alaya-self-evolve0 4 * * *LLM
alaya-knowledge-sweep30 4 * * *LLM
loop-health-monitor0 * * * *LLM (SILENT if OK)
skill-discovery0 10 * * 1LLM
alaya-nats-watchdogevery 5mscript (no_agent)
alaya-patrol-mainevery 10mscript
alaya-quota-monitor43 * * * *script
alaya-system-alert*/15 * * * *script
alaya-vault-consolidate38 5 * * *LLM
alaya-memory-miner0 3 * * 6LLM

2026-10-09 Codex 审阅说明

本页为 7 月服务快照。Windows NSSM 管理和 Linux systemd 的权限/进程范围不同,但“WSL 绝对不能终止 Windows 进程”过于绝对,须核对互操作和权限。nohup 或子 agent 会继承所属 cgroup;独立会话不保证脱离被停止的服务。

核验依据:systemd KillMode 说明;Linux cgroup v2。