# AgentsMeeting — 配置
# ===================
# files:
#   agents.yaml    — Agent 实例注册（本文件）
#   platforms.yaml — 平台服务配置（待建）

# ── Agent 实例 ────────────────────────────────────────────────
# 添加新 Agent = 加一条记录 + ejabberd 注册 JID + 部署脚本

agents:
  - id: "agent-001"
    name: "研发助理"
    display_name: "小小莫"
    jid: "xxm@yoin.fun"
    platform: windows
    host: "192.168.1.16"
    bot_type: xmpp
    provider: volcengine
    services:
      - type: xmpp_bot
        port: 5802

  - id: "agent-002"
    name: "自动化总管"
    display_name: "莫荷"
    jid: "mohe@yoin.fun"
    platform: linux
    host: "192.168.1.246"
    bot_type: hermes
    provider: ocg-new
    services:
      - type: hermes_gateway
        port: 8642
      - type: xmpp_bot

  - id: "agent-003"
    name: "本地推理"
    display_name: "小果"
    jid: "xiaoguo@yoin.fun"
    platform: mac
    host: "192.168.1.122"
    bot_type: xmpp
    provider: ocg-old
    services:
      - type: xmpp_bot
      - type: omlx_server
        port: 18003

  - id: "agent-004"
    name: "持仓分析"
    display_name: "知微"
    jid: "zhiwei@yoin.fun"
    platform: linux
    host: "192.168.1.246"
    bot_type: hermes
    provider: ocg-old
    services:
      - type: hermes_gateway
        port: 8643
      - type: xmpp_bot

# ── 平台服务（Windows — 非 Agent 服务，运维基础设施）───────────
# 见 docs/ARCHITECTURE.md §3.4 平台服务接口

# ProcessGuardian: xmpp_watchdog.py（30s 轮询守护 xmpp_bot）
# HealthProbe:     health_check_xxm.py（Task Scheduler 每 5min）
# APIRouter:       api_proxy.py（:8787，代理 volcengine API）
# MessageObserver: mohe_watcher.py（30s 监听 mohe 消息）
# ChannelBridge:   wechat_agent.py（微信桥接）
