Skip to content

Interaction LoopΒΆ

βœ… 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