Interaction Loop

February 19, 2026 ยท View on GitHub

โœ… Implemented ๐Ÿงช Tested

Current state: The full interaction loop (observe โ†’ execute โ†’ observe) is implemented with gfxinfo-based idle detection. See the Status Glossary for chip definitions.

Interaction loop demo - setting an alarm

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