Fireant improves phone control efficiency using mock api environments
FireAnt: Efficient on-device agentic phone control
Artificial Intelligence
Summary
Controlling apps on phones usually relies on large vision-based models that interact through screenshots, which makes them slow and resource-heavy. The authors propose FireAnt, a new way to train phone-controlling agents using simplified mock versions of apps that expose clean, structured interfaces instead of graphical ones. This helps create lightweight agents that perform better and faster without retraining when used on real phones. FireAnt combines this clever training with a method to translate actions back to the real app, resulting in more efficient, on-device control.
What this means in practice
- •For mobile app developers: Use FireAnt’s API-first framework to build efficient phone-controlling agents that run directly on devices with limited memory and latency.
- •For software teams building automation tools: Develop scalable training setups for phone automation by mocking app interfaces with FastAPI servers instead of relying on resource-heavy GUI emulation.
Authors
Amir Jalalirad, Tribhuvanesh Orekondy, Aleix Torres-Camps, Alex Batlle Casellas, Aleksandr Ermolov, Arnau Padres Masdemont, Motasem Alfarra, Dharmesh Tailor, Corrado Rainone, Davide Belli, Suparna S Nair, Christos Louizos, Jordi Ros-Giralt, Ork de Rooij, Arash Behboodi, Bence Major
Abstract
Most work on autonomous phone control treats efficiency as a question of agent design alone: shrink or speed up the policy while leaving the environment it acts in - almost always a real, GUI-first application, driven through screenshots and a vision-language backbone - untouched. This default is not incidental: public benchmarks that control include the controlling of real apps don't offer workarounds when those apps only expose GUI as interfacing option. As a result, the strongest available agents for that interface are large vision-language models (LVMs). Attempts at increasing system efficiency start from LVMs as starting point, rather than as a property of the system as a whole. We argue efficiency is instead an end-to-end property of the environment and the agent together, and should be designed for jointly from the outset. We instantiate this view with an API-first framework for agentic phone control, called FireAnt: target applications are mocked as lightweight FastAPI servers rather than full GUI stacks, giving a cheap, scalable substrate for data generation and training; the agent plans and acts exclusively over these structured APIs, never over pixels; and a Portable Action Layer reconciles the interface differences between this mocked training-time environment and the real, on-device target environment, so the same policy deploys to either without retraining. Our harness is also flexible and enables different common agentic functionalities (like context management or safety). Training with the mock environments and the Portable Action Layer, the resulting policy Pareto-dominates the GUI-grounded and frontier general-purpose baselines in success rate versus efficiency on both MobileWorld and MobileGym++, and we show it enables efficient control of real phone applications under the memory and latency constraints of on-device deployment.