TL;DR
PalmClaw is an open-source, mobile-native framework that runs Large Language Model (LLM) agent orchestration directly on smartphones. By shifting from fragile graphical user interface (GUI) automation (like tapping and swiping) to structured, on-device API tool execution, PalmClaw improves task success by 11.5% and slashes completion times by 94.9% compared to existing mobile agents.
What Problem Does This Paper Address?
Most current mobile LLM agents are orchestrated externally on desktops or cloud servers. To execute tasks, they rely heavily on GUI automation—taking screenshots, analyzing layouts, and simulating clicks, swipes, or text inputs.
While broadly compatible with existing apps, this approach suffers from three major flaws:
- Fragility: High-level tasks turn into long, interface-dependent action sequences that break easily if an app's layout changes.
- Infficiency: Processing constant screen observations and generating sequential GUI actions introduces massive latency and token overhead.
- Security Risks: Granting an agent broad GUI control gives it sweeping access to everything on the screen, making it incredibly difficult to define clear, task-specific security boundaries.
Methods
PalmClaw rethinks mobile agent architecture by hosting the entire agent loop, session management, memory, and skills natively on the smartphone. While the LLM inference itself is handled via a remote API, the context management and tool execution remain strictly local.
The framework introduces two core innovations:
- Structured Device Tools: Instead of interacting with the screen, PalmClaw exposes native phone capabilities (such as the calendar, contacts, file system, and hardware sensors) directly to the LLM as structured tools with explicit JSON argument schemas.
- Three-Step Execution Boundaries: Before any tool call is executed on the device, it must pass through a local verification pipeline:
- Schema Validation: Checks that arguments, types, and ranges are correct.
- Permissions: Verifies system authorization and triggers explicit user confirmation prompts for sensitive actions.
- Workspace Isolation: Restricts file operations to session-specific paths, blocking unauthorized access to global storage or other sessions.
Datasets
The authors evaluated PalmClaw across two datasets:
- MobileTask: A benchmark consisting of 70 mobile tasks adapted from AndroidWorld, MobileAgentBench, and Mobile-Bench. It spans categories like calendar management, contacts, file manipulation, and media control. Evaluation relies on deterministic final-state checks and evidence-grounded LLM judging.
- AssistantBench: A subset of 19 realistic, web-based information-seeking tasks used to test the agent's web-browsing and retrieval capabilities.
Key Insights and Ideas
- API over GUI: Interacting with a phone via structured APIs rather than visual GUI manipulation fundamentally changes mobile agent efficiency. It bypasses the need for complex visual grounding models, drastically shortening the action space.
- Zero-Dependency Deployment: Because the framework is packaged as a native mobile application, it eliminates the need for external desktop environments, complex command-line setups, or Android Debug Bridge (ADB) routing.
- Proactive Boundary Enforcement: By intercepting tool calls before they hit the operating system, PalmClaw proves that security boundaries can be enforced programmatically without relying on the LLM to self-regulate.
Key Results
PalmClaw was evaluated on an Android 13 device using DeepSeek-V4-Flash as the backbone model.
- Performance Boost: On the MobileTask benchmark, PalmClaw achieved a 97.1% success rate, outperforming the strongest mobile-app baseline (ApkClaw at 87.1%).
- Massive Speedups: PalmClaw reduced the average task completion time from 348.8 seconds down to just 17.7 seconds—a 94.9% reduction in latency.
- Token Efficiency: The action space reduction resulted in an average of only 2.8 actions per task (compared to over 103 for GUI baselines), lowering token consumption from 2.06M tokens to a mere 50.4K tokens.
- Streamlined Setup: Setting up PalmClaw requires only 2 steps and takes roughly 2 minutes, compared to up to 25 minutes for frameworks that require terminal environments like Termux or external Python runtimes.
Limitations and Future Work
While highly effective for system-level tasks, PalmClaw’s API-centric design means it cannot interact with third-party applications that lack exposed developer APIs or tools. If a task requires navigating inside an app like Instagram or DoorDash, PalmClaw currently lacks the GUI workflows to handle it.
The authors note that future work should explore blending native tool execution with selective GUI automation to get the best of both worlds. Additionally, expanding evaluation to a wider variety of LLM backbones and more diverse task categories will be necessary to fully prove the framework's robustness.
Summary updated