# 🖥️ LongHorizonUI
**A Long-Horizon GUI Automation Agent Framework with Enhanced Perception, Deep Reflection, and Compensating Execution**
---
## 📖 Introduction
LongHorizonUI is an agent framework designed for **long-horizon GUI automation tasks**. Existing GUI agents suffer from rapid success-rate degradation in long-step tasks (>10 steps) due to error accumulation. LongHorizonUI addresses this problem through three core modules:
| Module | Description |
|--------|-------------|
| **Multi-source Enhanced Perceiver (MEP)** | Runs icon detection and OCR in parallel, resolves compound widget ambiguity via IoU semantic binding, and repairs missing key elements with template matching |
| **Deep Reflective Decider (DRD)** | Multi-step look-ahead reasoning, retrospective action review, and causal inference on UI states for high-quality action decisions |
| **Compensating Action Executor (CAE)** | Three-level fallback strategy (Index → Relative → Absolute+ε), post-execution verification, progress monitoring, and automatic rollback |