Interaction LoopΒΆ

This interaction loop is supported by comprehensive observation of UI state and UI stability checks
(Android uses dumpsys gfxinfo-based idle detection) before and after action execution. Together, that allows for
accurate and precise exploration with the action tool calls.
sequenceDiagram
participant Agent as AI Agent
participant MCP as MCP Server
participant Device as Device
Agent->>MCP: π€ Interaction Request
MCP->>Device: π Observe
Device-->>MCP: π± UI State/Data (Cached)
MCP->>Device: β‘ Execute Actions
Device-->>MCP: β
Result
MCP->>Device: π Observe
Device-->>MCP: π± UI State/Data
MCP-->>Agent: π Interaction Response with UI State