An independent guide to the JEV ecosystem. Official JEV website

Original community demo · Video hosted on X

Software automation

Desktop & device control

Android AI Agent Using the Accessibility Tree

An open-source Android experiment chooses actions from the current accessibility tree, with a small language model handling text entry.

Somesh Sampat@SomeshSampat123
Published
Original post
X / @SomeshSampat123
View original demo on X

Opens the author's original post in a new tab.

The implementation ideas below are our interpretation of the community demo. Check the original post for the author’s actual setup.

Where this fits

A device assistant can use labeled controls to navigate an app when the next action fits a known set of taps, scrolls, and text-entry steps.

How to build on the idea

Build an action list from the current accessibility tree, ask for a choice, execute the selected action, and refresh the list after the screen changes.

An illustrative decision

These examples explain a possible workflow; they are not recorded demo results or API request and response formats.

Example input
Goal: open search. Visible controls: Home, Search, Library.
Example decision
Select the Search control, then read the updated screen before choosing another action.

Scope and limitations

Apps with missing accessibility labels or custom controls may need another observation method. Text entry uses a separate model in this demo, so the full workflow is not a single-model system.

Try a decision of your own

Define the context and a small set of choices in the playground, then use the API guide to connect your application.