androidagent

mateuszsury/androidagent Checked 11 hours ago

Run Codex and Claude Code on Android: embedded terminal, MCP phone tools, optional Docker environments, and USB UART/ADB access.

An independent community fork of Buddy. It is not an official OpenAI or Anthropic application. The application UI is in Polish; project documentation is in English. See the screenshot gallery. An Android workspace for coding agents, a native terminal, local Docker and USB tools. Application overview. Tool approval, runtime lifecycle and device access remain separate boundaries.

Summary extracted from the README.

androidagent — Codex and Claude Code for Android

Codex and Claude Code on your Android device. A native chat interface, an embedded terminal, phone tools, optional Docker environments, and USB access in one application.

Release Checks License Android

An independent community fork of Buddy. It is not an official OpenAI or Anthropic application. The application UI is in Polish; project documentation is in English. See the screenshot gallery.

Project overview

An Android workspace for coding agents, a native terminal, local Docker and USB tools.

androidagent — Application overview. Tool approval, runtime lifecycle and device access remain separate boundaries.

Application overview. Tool approval, runtime lifecycle and device access remain separate boundaries.

Install

Download androidagent 0.5.0 · Release notes and checksums

Requires Android 11 or later, arm64-v8a or x86_64. The APK is approximately 623 MiB because it includes both terminal runtimes and Linux VM images. Allow at least 1 GB of additional free space for terminal setup and more for Docker projects.

  1. Install the APK. Updating an existing installation with the same signing certificate preserves conversations, settings and files. 0.5.0 is signed with a new certificate: uninstall 0.4.4 or older first (this removes its conversations, settings and Docker disk); later releases update 0.5.0 in place.
  2. Open Environment and accounts (Środowisko i konta). The embedded shell, Python, Node.js, Git and tool bridge initialize automatically. Select Codex, Claude Code or both, then choose Prepare selected agents (Przygotuj wybranych agentów). The app downloads the official pinned clients, verifies their hashes and launches them to check installation.
  3. Use Log in to Codex or Log in to Claude Code. Complete the official account flow shown in the embedded terminal. Environment setup and account login are separate steps.
  4. Start a conversation. Phone status and /status work without a model account. Open Permissions (Uprawnienia) for optional screen control, microphone, notifications and background settings. Long-running servers and bots can run as Background services (Usługi w tle) that keep going after the agent's turn ends.

No separate Termux installation, manual pkg/npm setup, root or computer is required for normal use. Docker is optional. Shizuku integration is not implemented.

What you can do

Feature Available functionality
Chat Native conversation history, drafts, attachments, model selection, light and dark themes (dark by default), a Claude Code-style transcript with approval cards and TodoWrite checklists, and Markdown replies with highlighted code and a copy button
Agents Official Codex CLI 0.162.1 and Claude Code 2.1.296, separate sessions, resume, live tool progress, stored tool results, official login, error handling, and at most six chats running at once
Phone tools Device status with LAN addresses, owner approvals and notifications, apps/links/intents, settings panels, dialer/SMS composer/calendar/alarms (the owner sends), volume, media, torch, clipboard, speech, brightness, notification access, location and photos with consent; screen reading and gestures through optional Accessibility (details)
Background services Long-running servers and bots that continue after the agent's turn and Stop, managed on the Background services screen (Usługi w tle): logs, restart policy, autostart, a foreground service with wake and Wi-Fi locks, and URLs for 127.0.0.1 and the Wi-Fi address (details)
Terminal and files Embedded interactive shell and PTY with ANSI colours, Python/Node/Git, project files, the Files screen (Pliki środowiska) to open, share, install and save files, command output, cancellation and exit status
Docker Local Linux VM, image builds, containers, exec/logs, interactive WebView previews with their own port and URL per task, exports, optional Wi-Fi access (off by default), cancellation and task cleanup
USB Direct UART, ESP flashing, ADB to a second Android device, SAF storage, raw USB passthrough and UART bridges to Docker

Access and control

The terminal and agents run as androidagent's Android UID. They do not gain root or access to other apps' private storage. Screen reading, taps, typing, scrolling, swipes, press and screenshots need the optional Accessibility service, which the owner enables in Android's settings; other phone tools work without it. Notification access, location and photos need consent on the Permissions (Uprawnienia) screen. USB devices and SAF folders require explicit grants and conversation assignment.

Normal mode restricts the agents' shell and file tools. Developer mode enables coding operations across the application's private environment; it is not a project sandbox. The MCP run_command tool additionally requires approval of the exact command, and service_start requires approval of the exact service definition. Stop (Zatrzymaj) revokes the active run's tool access and cancels its commands; background services keep running and have their own Stop controls, or Stop all services (Zatrzymaj wszystkie usługi) on the same screen. Docker uses a separate Linux kernel and task directories, without exposing the Docker socket to agents; its previews bind to the phone's loopback unless the owner turns on Wi-Fi access, which is off by default.

Models are remote services: this app runs their clients locally, not model weights. Provider access, subscriptions and available models depend on your account. See permissions, agent access and architecture.

Validation

Version 0.5.0 was built and signed by the release workflow, which runs the clean embedded-runtime suite on an Android emulator before publishing; its redesign and new tools were also checked on an Android 11 emulator (see Testing). Version 0.4.4 has passed Android 11/16 emulator suites and a physical Lenovo TB336FU, Android 16 ARM64 update with a real Docker build/run/exec/WebView/export/restart/cleanup cycle. A later owner-authenticated Codex test completed three real conversation turns and observed device_status and docker_status calls.

Claude account-backed responses and physical USB OTG accessories remain unverified. Emulator UART/ESP/storage fixtures are not hardware certification. Exact results, earlier failures, timings and evidence links are in Testing.

Documentation and development

The source checkout contains code, pinned manifests, recipes and license notices. Generated APKs, runtime binaries, raw logs and transfer journals are kept out of the current source tree; releases and the versioned evidence snapshot retain validation records. Start with the documentation index.

License and attribution

Application integration code is licensed under Apache-2.0. NOTICE preserves Buddy attribution. Bundled components have their own licenses, including GPL/LGPL runtime programs; the app license does not relicense them. See Third-party notices for components, source locations and distribution obligations. Claude Code is proprietary and is downloaded directly from Anthropic rather than bundled in the APK.