Skip to content

Master 模块能力清单

模块列表

模块功能
ai_assistantAI 指令解析(接入 MiniMax/Anthropic 兼容 API)
action_router动作统一路由(tts/move/stop/preset)
audio_asrASR 音频识别结果处理
motioncmd_vel 运动控制
voiceTTS 语音播报

AI 配置

AI 配置位于 config/master_config.json

json
{
  "ai": {
    "enabled": true,
    "auto_tts": true,
    "forward_action_to_slave": true,
    "forward_action_target": "slave-01",
    "provider": "anthropic_compatible",
    "api_base": "https://api.minimaxi.com/anthropic",
    "model": "MiniMax-M2",
    "temperature": 0.2
  }
}

模块注册

模块通过 MasterContext 上下文共享状态,通过 registry.pybuild_modules() 统一注册。

基于 AGIBOT X2 平台构建