droidpi-proof
The question
Can an agent run on a phone with no runtime?
Not “an app that talks to an agent API”. The agent itself, its event loop, its ESM loader, its session lifecycle, running as a library inside a native Android process.
The verdict
WORKS. A custom-built Node.js runtime (libnode.so, v24.19.0) runs the Pi
coding-agent SDK in-process inside a native Kotlin app, end to end on an
Android emulator. Events flow between Kotlin and JS over JNI, from agent
start to agent settled.
Three stories from the build: