服务清单 — Alaya Profile

验证: 2026-08-18 (全面深度自检 + hermes 升级 v0.20.1→v0.20.4) 管理命令: systemctl —user

1. systemd User Services (运行中 — 2026-08-18 17:05 实测)

服务状态端口描述
agentmemory.service✅ active8662/8911/8912/8913/49134AgentMemory REST + MCP (iii 进程 482)
alaya-auth-gateway.service✅ active:8650/:18801/:18802Alaya Auth Gateway (NetMon + MemOS) 进程 352
alaya-gbrain-worker.service✅ active—GBrain Worker Daemon (bun, PID 10881/13315)
alaya-kanban.service✅ active:8652Alaya Kanban Board (kanban_server.py 进程 389)
anet-ahub-public.service✅ active:8422Anet 公共 Ahub rendezvous/mailbox/relay
anet-alaya.service✅ active:4242Anet Alaya 加密节点
anet-codex-wsl.service✅ active:4247Anet Codex WSL 加密节点
anet-soma.service✅ active:4245Anet Soma 加密节点
anet-discord-test.service❌ stopped+disabled—2026-08-18 停用 (需要测试时再启)
computer-use.service✅ active:9224Computer-Use Chrome Headless (WSL-internal)
freellmapi.service✅ active:5559FreeLLMAPI - Free LLM provider aggregator
g4f-api.service✅ active:8930g4f API Server — free LLM provider aggregator
gbrain-autopilot.service✅ active—GBrain Autopilot (bun)
hermes-daemon.service✅ active—Hermes Daemon — 自监控和心跳
hermes-gateway-alaya.service✅ active:8644/:9900/:18741Hermes Agent Gateway - Alaya (PID 507)
hermes-gateway-manas.service✅ active:8642/:9902Hermes Agent Gateway - Manas (PID 455)
hermes-gateway-soma.service✅ active:9901Hermes Agent Gateway - Soma (PID 375)
hermes-memos-bridge.service✅ active:18800MemOS Bridge (memos HTTP + MCP)
humon-mcp.service✅ active:8662 (humon_mcp)Humon read-only MCP server
humon-webui.service✅ active:8657Humon WebUI — 人体状态监控面板
inventory-site.service✅ active:8088File Inventory Site (LAN)
obscura-mcp.service✅ active:3220Obscura MCP — Rust Headless Browser
soma-site.service✅ active:8080Soma Personal Website (static)
cloudflare-tunnel.service✅ active:20241Cloudflare Tunnel (905527.xyz)
vibesurfer-daemon.service✅ active—Vibesurfer Daemon - Native Browser for AI Agents
xhs-downloader.service✅ active:5556XHS-Downloader MCP Server — 小红书内容 API
xvfb.service✅ active:99Xvfb 虚拟显示器 (headless GUI)

2. 非 systemd 常驻进程 (2026-08-18 实测)

进程PID状态端口
Mihomo (meta)298✅7895 (代理) / 8643 (API) / 1053 (DNS) / 7890
Kensho/iii (crow)482✅88/8911/8912/8913/49134
gbrain serve (bun)811✅8645
agentmemory (node)351✅8913
gbrain jobs worker (bun)353/10881/13315✅—
PostgreSQL 17 (gbrain)10862+✅5432 (⚠️ 记忆里 5433 已过期)
canary-era CDP366✅9224 (chrome headless)

3. 不再运行 / 已休眠

项目状态说明
postgresql@16-main❌ disabled空集群,勿再启用
hermes-gateway-mano❌ inactive休眠 (mano.off)
hermes-gateway-anchor❌ inactiveWin 侧负责
hermes-gateway-jarvis❌ disabled迷你 profile 残留,无会话
NATS (4222/8222)❌ 已迁移Anet/ahub 取代

4. 关键操作

服务检查

systemctl --user is-active <service-name>
journalctl --user -u <service-name> -n 50 --no-pager

Gateway 状态验证

cat ${HOME}/.hermes/profiles/alaya/gateway_state.json | python3 -m json.tool

Mihomo 验证 (API 端口已改为 8643)

ss -tlnp | grep 7895  # 应在 LISTEN
curl -s http://${LOCALIP}:8643/version  # 应返回版本

网络连通性

curl -sS -x http://${LOCALIP}:7895 -o /dev/null -w "%{http_code}" https://www.google.com

TimeoutStopSec 标准 (2026-08-18 已统一)

全部 gateway unit 应为 TimeoutStopSec=210 (≥ drain_timeout 180 + 30)