Device Control
In agent conversation applications developed based on the AI Agent SDK, you can implement control of devices if your product supports AI control.
For more detailed information, please visit Controlling Devices.
Effect Demonstration
Interaction Flow
sequenceDiagram
participant User
participant AIAgent
participant DeviceControlTool
participant SmartDevice
User->>AIAgent: Send control instruction (e.g., "Turn on the living room light")
AIAgent->>AIAgent: Determine user intent
AIAgent->>DeviceControlTool: Call device control tool
DeviceControlTool->>SmartDevice: Issue DP command
SmartDevice-->>DeviceControlTool: Return control result
DeviceControlTool-->>AIAgent: Return control result
AIAgent-->>User: Feedback control result (e.g., "I've turned on the living room light for you")