# 鸿蒙 IoT 多 Agent 并行场景（模拟）
# 场景: 温度 Agent + 灯光 Agent 同时运行

agentId: harmony-smart-home
type: parallel
parallel:
  agents:
    - name: ClimateAgent
      systemPrompt: "根据环境温度和用户偏好调节空调"
      writes:
        - userComfort.temperature
        - deviceState.ac

    - name: LightAgent
      systemPrompt: "根据环境光线和用户偏好调节灯光"
      writes:
        - userComfort.brightness
        - deviceState.light

    - name: SecurityAgent
      systemPrompt: "监控安防传感器，异常时报警"
      writes:
        - securityState.alert
        - deviceState.camera

model:
  provider: pangu
  name: pangu-lite
  context: 4096

runtime:
  max_steps: 10
  device: phone
