跳到主要内容

Mushroom Runtime

mushroom_agent 是设备侧 / 机器人侧运行时子模块,对齐 MushroomAgent-Cli 分层。

Minimal runtime skeleton

当前最小可用骨架包含四层:

  • protocol:环境事件与动作指令模型
  • hardware:硬件抽象层接口与适配器
  • transportLocalTransport / RemoteTransport
  • runtime:组织 session、转发输入、执行动作

Design constraints

  • 只依赖 MushroomAgent-core
  • 不依赖 MushroomAgent-server
  • 为真实音视频设备、灯光、屏幕和动作执行链路预留扩展点

Why this split

这样的拆分能把设备侧 runtime 保持得足够轻,同时让上层 MushroomAgent 继续作为统一认知中心。

Example runtime relationship

flowchart LR
A["Hardware adapters"] --> B["mushroom_agent runtime"]
B --> C["LocalTransport / RemoteTransport"]
C --> D["MushroomAgent cognitive center"]
D --> E["Planning / tools / memory"]
D --> F["Action routing back to nodes"]