PalmClaw Runs Agents on Phones via Device Tools Instead of Taps
PalmClaw, an open-source framework, keeps an AI agent's memory, tools and loop on the phone and calls device functions directly. The language model still runs on a remote API.
TL;DR
- PalmClaw, an open-source framework, runs an AI agent's loop, memory and tools on the phone but calls its language model over a remote API [^1].
- Calling structured device tools instead of tapping through screens, it completed 97.1 percent of 70 test tasks, ahead of three rival frameworks [^1].
Background
An LLM agent completes a task in steps: it calls a tool, looks at the result and decides what to do next [^1]. Frameworks that host this loop, such as AutoGen, AgentScope and OpenClaw, usually run on a desktop computer or a cloud server [^1]. Mobile agents have mostly operated phones the way a person does, through taps, swipes and typing. That makes tasks long, fragile when layouts change and hard to limit in scope [^1].
What happened
Researchers from The Hong Kong Polytechnic University and Hangzhou Diagens Biotechnology describe PalmClaw in a paper posted to arXiv on July 14 [^1]. The framework is a mobile app that keeps sessions, memory, skills, tools and the agent loop on the phone. Only the language model runs elsewhere: PalmClaw sends the assembled context to a remote LLM API and executes the tool calls that come back on the device [^1]. It is released as open source under the AGPLv3 license [^1].
Instead of GUI actions, PalmClaw exposes the phone's capabilities as device tools. Each has a name, a description and a JSON schema for its arguments, and returns a structured result or error [^1]. Built-in tools cover device status and permissions, media, Bluetooth, the calendar, contacts and workspace files, alongside tools for web access, memory, communication and scheduled automation [^1]. Before a call runs, it passes three checks: its arguments must match the schema, the needed device permission or user confirmation must be in place, and file paths must stay inside the session's workspace or approved shared storage [^1]. In one case from the paper, an agent asked to save a list under /sdcard/list.txt doesn't simply write the file. PalmClaw opens the settings page and tells the user to enable all-files access manually [^1].
The authors tested PalmClaw on a Xiaomi Redmi phone running Android 13, with DeepSeek-V4-Flash as the model for every system [^1]. On MobileTask, 70 tasks adapted from existing mobile benchmarks, PalmClaw succeeded 97.1 percent of the time, against 87.1 percent for the strongest baseline, ApkClaw. It needed 2.8 model calls and 17.7 seconds per task on average, where ApkClaw used 103.9 calls and 348.8 seconds [^1]. The paper reports this as an 11.5 percent relative gain in success and a 94.9 percent cut in completion time [^1]. On a 19-task subset of the AssistantBench web research benchmark, PalmClaw scored 36.85 percent, the highest of the group. Setup took two steps and about two minutes, with no separate computer, command line or bridge [^1].
Why it matters
Every system in the test ran on the same backbone model, so the gap comes from the frameworks and how they act on the phone. The authors attribute the efficiency gains to device tools turning phone capabilities into structured operations, so many tasks skip long rounds of reading the screen, navigating and tapping [^1]. Because every call is checked against the tool registry, schema, permissions and workspace, the paper says, the agent never gets an open command channel to the phone [^1].
The design is not fully on-device, though. Prompts, tool results and task context still go to the remote LLM provider, and the authors' ethics statement says deployments should make that data flow clear to users [^1]. The comparison also comes from the framework's own authors, using one test phone and a task set built for the paper [^1].
Practical example
Say you ask a phone agent to add a meeting to your calendar. A GUI-driven agent would open the calendar app and tap through its screens, reading each one before it acts [^1]. With PalmClaw, the agent calls the calendar tool directly. If the app lacks calendar access, you get a permission request first. If you decline, the agent tells you what is missing instead of claiming the meeting was created [^1]. Your request, including the meeting details, still goes to the remote model provider along with the rest of the context [^1].
Related gear
We recommend this book because it explains from the ground up what an intelligent agent is and how it chooses actions, the idea PalmClaw builds on.