# LiveKit Voice AI - 部署状态

## ✅ 已运行服务

| 服务 | 端口 | 状态 |
|------|------|------|
| LiveKit Server | 7880 | ✅ 运行中 (Docker) |
| FunASR STT | 8080 | ✅ 运行中 (SenseVoiceSmall) |
| Speaker Labeler | 8000 | ✅ 运行中 (可选) |

## ⚠️ LLM 配置问题

**当前状态**: Hermes Agent 已运行，但需要配置 API Key

**选项 1: 使用 Agnes AI** (需要有效 API Key)
```bash
# 在 .env.dev 中设置
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxx
OPENAI_BASE_URL=https://apihub.agnes-ai.cn/v1
```

**选项 2: 使用本地 LM Studio** (如果可用)
```bash
# 检查 LM Studio
curl -s http://127.0.0.1:1234/v1/models
# 如果有响应，使用:
OPENAI_API_KEY=no-key-required
OPENAI_BASE_URL=http://192.168.31.112:1234/v1
```

**选项 3: 使用 Hermes Proxy** (需要 Nous Portal 登录)
```bash
source ~/josen/hermes-agent/venv/bin/activate
hermes auth add nous  # 登录 Nous Portal
hermes proxy start --port 8645
```

## 📋 下一步

1. 选择一个 LLM 提供商并配置 API Key
2. 完善 Agent Worker 代码
3. 测试端到端流程

## 🔧 配置文件

- `.env.dev` - 开发环境配置
- `agent.py` - Agent Worker 入口
- `services/funasr_stt_server.py` - FunASR STT 服务
- `scripts/start_all.sh` - 一键启动脚本
