Coding & DevelopmentāØgeminiš¬gptšuniversal
droidclaw
turn old phones into ai agents - give it a goal in plain english. it reads the screen, thinks about what to do, taps and types via adb, and repeats until the job is done.
Quick Start
Install this Skill
npx skills add unitedbyai/droidclaw# droidclaw
> an ai agent that controls your android phone. give it a goal in plain english ā it figures out what to tap, type, and swipe.
**[Download Android APK (v0.3.1)](https://github.com/unitedbyai/droidclaw/releases/download/v0.3.1/app-debug.apk)** | **[Dashboard](https://app.droidclaw.ai)** | **[Discord](https://discord.gg/nRHKQ29j)**
i wanted to turn my old android devices into ai agents. after a few hours reverse engineering accessibility trees and playing with tailscale.. it worked.
think of it this way ā a few years back, we could automate android with predefined flows. now imagine that automation layer has an llm brain. it can read any screen, understand what's happening, decide what to do, and execute. you don't need api's. you don't need to build integrations. just install your favourite apps and tell the agent what you want done.
one of the coolest things it can do right now is delegate incoming requests to chatgpt, gemini, or google search on the device... and bring the result back. no api keys for those services needed ā it just uses the apps like a human would.
```
$ bun run src/kernel.ts
enter your goal: open youtube and search for "lofi hip hop"
--- step 1/30 ---
think: i'm on the home screen. launching youtube.
action: launch (842ms)
--- step 2/30 ---
think: youtube is open. tapping search icon.
action: tap (623ms)
--- step 3/30 ---
think: search field focused.
action: type "lofi hip hop" (501ms)
--- step 4/30 ---
action: enter (389ms)
--- step 5/30 ---
think: search results showing. done.
action: done (412ms)
```
---
## how it works
the core idea is dead simple ā a **perception ā reasoning ā action** loop that repeats until the goal is done (or it runs out of steps).
```
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā your goal ā
ā "send good morning to mom on whatsapp"ā
āāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā
ā āāāāāāāāāāāāāāāā ā
ā ā 1. perceive ā ā
ā āāāāāāāā¬āāāāāāāā ā
ā ā ā
ā dump accessibility tree via adb ā
ā parse xml ā interactive ui elements ā
ā diff with previous screen (detect changes) ā
ā optionally capture screenshot ā
ā ā ā
ā ā¼ ā
ā āāāāāāāāāāāāāāāā ā
ā ā 2. reason ā ā
ā āāāāāāāā¬āāāāāāāā ā
ā ā ā
ā send screen state + goal + history to llm ā
ā llm returns { think, plan, action } ā
ā "i see the search icon at (890, 156). ā
ā i should tap it." ā
ā ā ā
ā ā¼ ā
ā āāāāāāāāāāāāāāāā ā
ā ā 3. act ā ā
ā āāāāāāāā¬āāāāāāāā ā
ā ā ā
ā execute via adb: tap, type, swipe, etc. ā
ā feed result back to llm on next step ā
ā check if goal is done ā
ā ā ā
ā ā¼ ā
ā done? āāāāāāā yes āāā exit ā
ā ā ā
ā no ā
ā ā ā
ā āāāāāāāā loop back to perceive ā
ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
```
### what makes it not fall apart
llms controlling ui's sounds fragile. and it is, if you don't handle the failure modes. here's what droidclaw d
... (truncated)Repository
897stars
131forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
š¤claudešuniversal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
šuniversal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
āØgeminiš¤claudeš¬gptšuniversal
524
34
View
misakanet-failure-memory
Coding & Developmentš A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
š¤claudeāØļøcursoršuniversal
424
158
View