Smallwright

Build Android apps on your phone.

Describe an app in a chat. A cloud model writes plain Java and XML. Your phone compiles, signs and installs it.

Example run
  1. YouA water tracker
  2. PlanAsks, then plans
  3. WriteJava and XML
  4. CompileIn the Worker
  5. SignProject's own key
  6. InstallAfter your tap

Screens from a real phone.

One build, sped up

The Builder

  • The Builder asking what to build, with suggestions for a water tracker, a checklist and notes
    A new chat
  • The Builder's project drawer listing a project, its chats and settings
    Projects and chats

Apps it built on the phone

  • A generated water tracker with a progress ring at 71 percent: 1250 ml of a 1750 ml goal, and a list of the last seven days
    Water tracker
  • A generated checklist with seven items, two of them ticked off
    Checklist
  • A generated notes app with title search and four saved notes
    Notes

Only the model runs in the cloud.

Lives on your phone

  • Source files
  • The compiler
  • Builds
  • Signing keys
  • The finished apps

Sent to the model service you pick

  • Your messages
  • The project's source files
  • Pictures you attach

You pay that service for each request. The app sets no spending limit for you. Requests to OpenRouter name Smallwright as the app, for its public app rankings; nothing about you is added.

The Builder

Holds your projects, your model key and the chat. It asks before it starts a new app, then works until the model says it is done. Apps come out as ordinary native Android apps in Java and XML.

  • Plan before it edits
  • Edit in steps until done
  • Run in the background
  • Make icons and pictures (OpenRouter)
  • Look things up (OpenRouter)
  • Read crash reports
  • Look at the running app
  • Undo its last change

The Worker

Compiles each project with ECJ, D8 and AAPT2. It is a separate app with its own Android user and no Internet permission, and it accepts only a Builder signed with the same key.

Each project gets its own signing key. Installing goes through Android's own confirmation screen. Generated code never runs inside the Builder.

Requirements

Smallwright ยท Alpha
Android12 or newer
Phone64-bit ARM
ModelSign in with OpenRouter, or a key for any OpenAI-compatible service
CostPaid by you, per request, with no spending limit set by the app
OpenRouter onlyWeb search, app icons and pictures, attached pictures, cost totals and the spending limit

Install

  1. 1Download the Builder APK from the latest release and install it.
  2. 2On first start, the Builder shows Google's Android SDK terms. Once you accept them, it downloads Google's Android platform files to the phone.
  3. 3The Builder carries the Worker. Tap Install the build worker and confirm Android's prompt.
  4. 4For updates, add Smallwright to Obtainium.