saturn-agent

agent
Security Audit
Fail
Health Pass
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 12 GitHub stars
Code Fail
  • process.env — Environment variable access in app/src/main/assets/pimobile-app.js
  • process.env — Environment variable access in app/src/main/assets/pimobile-browser.js
  • network request — Outbound network request in app/src/main/assets/pimobile-browser.js
  • child_process — Shell command execution capability in app/src/main/assets/saturn-tools.js
  • exec() — Shell command execution in app/src/main/assets/saturn-tools.js
  • spawnSync — Synchronous process spawning in app/src/main/assets/saturn-tools.js
  • process.env — Environment variable access in app/src/main/assets/saturn-tools.js
  • fs module — File system access in app/src/main/assets/saturn-tools.js
  • rm -rf — Recursive force deletion command in runtime/build-pi-bundle.sh
  • network request — Outbound network request in runtime/import_termux.py
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A real agent on your Android phone.

README.md

Saturn icon

Saturn

Your phone, now with an agent that does the work.
Shell, Node, git, and phone hardware tools in a standalone app — no root, no Termux, no backend server.

Website · Download · Pi

Saturn running a task on Android
Full-quality video


Saturn is an agent that can do anything on your phone, not just code. Pi runs the agent loop, and Saturn gives it a phone to work on: an on-device Linux userland, phone integrations, and the app around it. Pick a model provider, give it a task, and it edits files, runs commands, builds web apps, or triggers phone actions on your device. Pi extensions and slash commands work the same way they do on desktop.

Features

  • On-device Linux userland: Ships Node.js, bash, git, ripgrep, ssh, and built-in utilities (jq, pdftotext, etc.) without Termux or root, plus an interactive terminal if you want direct shell access.
  • Concurrent tasks: Each task runs in its own pi --mode rpc process with a persistent session you can revisit, branch, or export.
  • Artifacts: Files created for you (HTML pages, reports, scripts, data) are collected in an Artifacts view for previewing and sharing.
  • Phone APIs: Termux:API-compatible commands (termux-torch, termux-camera-photo, termux-location, termux-sensor, termux-notification, termux-tts-speak, contacts, etc.) routed through a local, token-protected bridge.
  • Scheduling: saturn-schedule registers Android alarms for one-off timers or cron-style recurring tasks that run even when the app is closed.
  • Browser, GitHub, and SSH: An in-app browser the agent can inspect and drive, GitHub sign-in for gh/git workflows, and SSH access to remote machines.
  • Android integration: Share and drag-and-drop target, notification replies, home-screen widget, quick-settings tile, voice input, AppFunctions, and adaptive layouts for tablets, foldables, and DeX.
  • Flexible models: Sign in with ChatGPT, Claude, Copilot, and others, or bring your own API key (OpenRouter, Anthropic, OpenAI, etc.).

Privacy

Saturn has no accounts, ads, analytics, or backend servers. Files, projects, and credentials stay in the app's private storage. Traffic only leaves the device to the AI provider (and any external services like GitHub or SSH) that you configure. See PRIVACY.md.

Installation

Download the APK from Releases. Requires Android 10+ on arm64-v8a.

Once installed, Saturn checks for new releases and verifies update APKs against its own signing key before installing.

Optional: Cross-app UI control

To let the agent read and tap other apps, install the separate Phone Control MCP server, which uses Android's Accessibility API with an explicit stop button and confirmation prompts for sensitive actions. Saturn itself does not use the Accessibility API.

How it works

Android blocks executing binaries from writable app storage on targetSdk 29+, but allows execution from the APK's native library directory (nativeLibraryDir). Saturn bundles Termux-built binaries as lib*.so files in jniLibs (useLegacyPackaging = true) and symlinks them into a usr/ prefix on startup.

The Jetpack Compose UI communicates with each pi --mode rpc child process over JSON stdio, while Termux:API-compatible CLI shims call back into the app over a local, token-authenticated bridge.

Build from source

Prerequisites: JDK 17, Android SDK (platform 37, NDK r29), Node.js/npm, and Rust (rustup with the aarch64-linux-android target).

python3 -I runtime/import_termux.py   # toolchain -> jniLibs + assets (sha256-verified)
runtime/build-pi-bundle.sh            # official Pi from npm -> assets/pi-bundle.zip
runtime/build-saturn.sh               # Saturn's native tools (Rust) -> jniLibs/libx_saturn.so
./gradlew assembleRelease

See RELEASING.md for signing and releases.

Contributing

Bug reports, feature ideas, and pull requests are welcome. For bug reports, include what you asked Saturn to do and what happened.

Thanks

Saturn is built on the work of others:

  • Pi by Earendil Works, the agent harness that runs every task
  • Node.js and npm
  • Termux packages and terminal view
  • Inter and JetBrains Mono fonts

See THIRD_PARTY.md for licenses. Saturn is not affiliated with Earendil Works or Termux.

License

Apache-2.0 for Saturn's own code. Bundled components retain their respective licenses.

Reviews (0)

No results found