Initial: multi-agent XMPP communication system with dashboard

- Platform-based architecture (Windows/Linux/Mac)
- Agent instance registry (agents.yaml)
- Management dashboard with cross-platform monitoring
- xmpp_bot with HTTP bridge + health endpoints
- wechat_agent with WeChat-Hermes bridging
- Platform services: ProcessGuardian, HealthProbe, APIRouter, ChannelBridge
- Deployment: systemd (Linux) + PowerShell (Windows)
- Monitoring: SSH+ejabberdctl for cross-platform presence
This commit is contained in:
hmo
2026-06-12 21:49:05 +08:00
commit 1b2b935832
76 changed files with 15943 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# AgentsMeeting 环境变量配置
# 复制为 .env 并填写实际值
# === Provider API Keys ===
VOLCENGINE_KEY=b0359bed-09f2-49e2-a53c-32ba057412e3
OCG_NEW_KEY=sk-5miR8xAMhlaXWJz3kXoYPub4ZSUISr8Fy3BXN7teThGkWonQAjZmeJdMu17htGTB
OCG_OLD_KEY=sk-MBLGxsGQU1Ngr1M7DKMt1TiCKvOEdKiwClwiUTcOPJKRZ4wbrgKZ25l3dHmvozhj
# === XMPP ===
XMPP_HOST=xmpp.yoin.fun
XMPP_PORT=3021
MUC_ROOMS=coregroup@conference.yoin.fun
# === Per-profile XMPP credentials ===
XXM_JID=xxm@yoin.fun
XXM_PASS=hermes123
MOHE_JID=mohe@yoin.fun
MOHE_PASS=hermes123
XIAOGUO_JID=xiaoguo@yoin.fun
XIAOGUO_PASS=hermes123
ZHIWEI_JID=zhiwei@yoin.fun
ZHIWEI_PASS=hermes123
# === Gateway ===
HERMES_HOST=192.168.1.246
HERMES_KEY=hermes123
# === Model defaults ===
DEFAULT_MODEL=deepseek-v4-flash
DEFAULT_PROVIDER=volcengine
API_TIMEOUT=60
MAX_TOOL_LOOPS=30
+69
View File
@@ -0,0 +1,69 @@
# 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.py30s 轮询守护 xmpp_bot
# HealthProbe: health_check_xxm.pyTask Scheduler 每 5min
# APIRouter: api_proxy.py:8787,代理 volcengine API
# MessageObserver: mohe_watcher.py30s 监听 mohe 消息)
# ChannelBridge: wechat_agent.py(微信桥接)