SuperAPIAI Directory

Shelly

github.com · AI agents

Shelly is an open-source AI terminal and agent runtime running on Android phones, allowing users to use AI subscription services such as ChatGPT (Codex) and Claude Code to execute terminal tasks directly on their phone without a computer, Termux, or cloud server. It has a built-in real terminal environment (bash, git, Python 3, Node.js, etc.) and features approval gating, where users can approve the steps executed by the AI on their phone. It supports scheduled agents, local models, API providers, and connecting to external agents via MCP.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAndroid · Linux

About this tool

Shelly is an open-source AI terminal and agent runtime for Android, designed to let users run real development and research tasks with just a phone. It does not require a PC, Termux, or a cloud runner; all commands and agent operations are executed locally on the phone.

Purpose and positioning: Shelly combines AI services (such as ChatGPT Codex and Claude Code) with a real terminal environment on the phone, allowing users to execute terminal tasks with their own AI subscriptions without a separate paid LLM API. It is also an agent host, supporting scheduled tasks, local models, and API providers.

Main capabilities:

  • Built-in native terminal: runs the real Codex CLI through the app's own JNI PTY, and bundles tools such as bash, git, Python 3, Node.js, curl, ripgrep, jq, tmux, and vim, which are extracted to the app's private directory on first launch.
  • Approval gating: steps executed by the agent and run/execute/write calls arriving via MCP are approved by the user on the phone when approval is required; pre-approved steps can run directly without a tap, and security gate denials always apply.
  • Multi-pane layout: supports a sidebar plus up to 4 live panes (terminal, AI, browser, preview), which automatically becomes a 2×2 grid when unfolded on foldable devices, forming a mobile IDE.
  • Scheduled agents: register scheduled tasks in natural language; the agent is woken by AlarmManager when the screen is off, runs using the user's own AI account or a local model, and reports the run results.
  • Local models and API providers: supports on-device models (such as Qwen3.5-2B) and API providers; the AI pane can read terminal output and generate executable commands.
  • External agent connection: connect to external agents via MCP; supports remotely driving the phone from the ChatGPT app (pair using shelly codex pair).
  • App operations (advanced): through ClosePaw integration, the AI can operate other apps (such as Spotify and Google Maps), but this requires additional configuration and may use paid APIs.

How to use:

  1. Install the APK from GitHub Releases (about 700 MB); the terminal is immediately available after opening; Android 11+ will check all filesaccess permissions.
  2. Run codex in the terminal and follow the prompts to complete ChatGPT login (no API key required).
  3. Let Codex handle files (list, edit, build, research); steps requiring approval will request approval on the phone.
  4. Scheduled agents can be registered via shelly agent add, or workflows can be recorded using shelly teach start/stop.
  5. Supports Obtainium or in-app updates.

Use cases: executing development tasks on a phone, organizing research materials, scheduled automation tasks, AI-assisted terminal debugging, foldable-screen mobile IDE, etc.

Limitations:

  • Only supports arm64 Android phones, Android 7.0+ (minSdk 24).
  • The APK is about 700 MB in size; space must be reserved.
  • Incompatible with Termux; does not share paths or packages.
  • App operation features require ClosePaw integration, accessibility service, and overlay permission, and the virtual display depends on the Shizuku server.
  • Remote control does not support API keys; only ChatGPT login is supported.
  • Some features (such as the full unattended loop of scheduled agents) have only been verified on the Galaxy Z Fold6 (N=1).
  • Rapid folding/unfolding remains a known limitation during CLI streaming output.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools