Skip to content
项目

关于

Independent Android client for Codex with on-device tools, live voice, and Claude/Gemini collaboration. No Termux or PC server required.

人工智能与机器学习

这些数字如何统计

94 星标17 复刻 +1 24小时

可以做什么

  • Invite agents: Add Claude and Gemini (Antigravity) from the composer. Participants read the shared conversation and answer in order; use mentions to choose who replies.
  • Participant settings: Choose a model, reasoning effort and project permissions for each invited agent. Stop the active reply and pending turns from the same chat.
  • CLI login and installation: Install and sign in from Account settings. Terminal input reaches the running process, with interactive installer answers and terminal query handling.
  • Simpler controls: Show actual model and reasoning choices. Remove Chat mode switching, Ask Pro, GitHub project sync and the dictation send reminder.

实测星标增长

24小时
+1
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Mobile Codex

Before installing

If Play Protect blocks the APK installation, follow these steps temporarily:

  1. Open Google Play Store → profile icon → Play Protect → Settings.
  2. Turn off Scan apps with Play Protect.
  3. Install the APK from the official project GitHub release.
  4. Return to the same Play Protect screen and turn scanning back on.

The APK-opening app may separately require Allow from this source. Menu names can vary by Android version; see Google's official Play Protect help.

English · 한국어

Mobile Codex logo

General chat Git clone Skill selection Image generation

Use Codex on Android and invite Claude and Gemini (Antigravity) into the same chat.

Mobile Codex is an independent Android client built around the Codex app-server. It bundles an Android port of Codex, Python, Node.js, and Git, so you do not need to install Termux or keep a separate PC server running.

0.4.6 · ARM64 / Android 10+ · Created by nokryong

Download APK · Builds · Report an issue

This is not an official OpenAI app. Model inference requires an internet connection and an account with Codex access. The Codex process and file/command tools run on your Android device.

0.4.6 update

  • CodePet integration. New GPT, Claude and Gemini artwork, group-message queues, working timers, invocation history, conversation forks, Git hunk review, project worktrees, provider defaults, local-model profiles and bounded interactive widgets. Release notes.

0.4.5 update

  • Image attachments. Current-message images can reach invited Claude and Gemini participants. Release notes.

0.4.2 update

  • Light and dark themes. Refreshed conversations, the sidebar, the composer, settings, agent controls, and Live.
  • Chat controls. Tap the compact composer to focus the prompt. Copying shows a checkmark, and jumping to the latest message respects reduced motion.
  • Navigation. On narrow screens, swipe right from the left edge to open the sidebar or swipe left to close it. Use Ctrl/Cmd+B to toggle it, Ctrl/Cmd+Shift+O to start a new chat, or / to focus the prompt when you are outside a text field. Release notes.

0.4.1 and 0.4.0 updates

  • Login diagnostics. Optional anonymous reports show the sign-in step and the detected failure category. 0.4.1 release notes.
  • Linux Codex. Text chat can use the official Linux ARM64 Codex CLI and check for CLI updates when the optional Linux environment is enabled. 0.4.0 release notes.

0.3.9 update

  • Runtime recovery: Resume saved conversations after replacing a disconnected engine, preventing the stale-thread failure reported in #29.
  • Error reports: Show the report action only when a report is available, clear resolved or sent reports, and preserve newer errors and explicit consent. Release notes.

0.3.8 update

  • Error reports: Distinguish safe failure categories and operations, show unavailable measurements as null, and report the actual app version. Release notes.

0.3.7 update

0.3.1 update

  • Responsive terminal control: Status reads, output collection, and Stop remain available while terminal input is blocked.
  • Accurate file diffs: Large files starting with blank lines retain correct diff coordinates.
  • Downloaded updates: Reuse a verified downloaded APK after checking for updates again.
  • Development baseline: Use the patched Node.js baseline for development and CI. Release notes.

0.2.15 update

  • Live audio reliability: Native Android voice processing improves background playback when switching apps or locking the screen.
  • Ongoing call indicator: Android 12 and later use a system call notification with elapsed time and an End action. Returning after ending voice restores the correct screen state. Release notes.

0.2.14 update

  • Background voice: Keep talking with Codex Live after switching apps or locking the screen.
  • Call notification: Return to Live or end voice from the notification. Ending voice releases the microphone without cancelling Codex work. Release notes.

0.2.13 update

  • Codex Live: Talk with Codex, give project work instructions by voice, and hear the results using your existing account.
  • Voice settings: Choose from the runtime's 25 voices in a collapsible list. Confirmed language groups appear together; Korean voices are labeled 한울 and 햇살.
  • Model controls: A compact model picker, English reasoning levels, and task permissions in one place. Release notes.

0.2.12 fix

  • Remove depth, turn and repeated-recipient limits so AI collaboration can continue after each new reply. Stop and new instructions cancel pending calls. No new settings. Release notes.

0.2.10 update

  • Choose approval settings for each invited agent. Claude exposes automatic review when its installed CLI supports it; unsupported choices are hidden.
  • Send to everyone at once and show replies in first-output order. Project changes still take turns. Release notes.

Highlights in 0.2.8

  • Invite agents: Add Claude and Gemini (Antigravity) from the composer. Participants read the shared conversation and answer in order; use mentions to choose who replies.
  • Participant settings: Choose a model, reasoning effort and project permissions for each invited agent. Stop the active reply and pending turns from the same chat.
  • CLI login and installation: Install and sign in from Account settings. Terminal input reaches the running process, with interactive installer answers and terminal query handling.
  • Simpler controls: Show actual model and reasoning choices. Remove Chat mode switching, Ask Pro, GitHub project sync and the dictation send reminder.
  • Updated Codex runtime: Bundle @mmmbuto/[email protected]; available models still come from the signed-in account.

Project information can be transferred with JSON files; chat history, running tasks, source files, and credentials stay on each device. See the 0.2.8 release notes for this update.

Features

Feature What it does
Projects and chats Per-project chats and general chats using the default Codex folder; saved history, streaming, interruption, and additional instructions during a task
Invited agents Claude and Gemini (Antigravity) in the current Codex chat; participant mentions, concurrent replies and individual settings
Fast Opt-in Fast mode for supported Codex models
Codex Live Spoken conversation, voice instructions for project work, audible results, microphone mute, and voice selection
Project information transfer Export and import project IDs, names, and merge history with JSON files; bind local folders separately
Files Browse, search, read, create, edit, move, rename, and delete files; confirm changes and keep recovery copies
Attachments and images Attach multiple files, preview images, browse generated image galleries, zoom, swipe, and save originals
Developer tools Bundled Python/pip, Node.js/npm/npx, and Git; optional Linux development environment; stream output and send input to running commands
Change review Inspect Git status and differences against HEAD, restore working files, and use recovery copies
Plugins, skills, and MCP Install and enable plugins, connect accounts, import skill folders, and configure MCP servers
Accounts and limits Save multiple ChatGPT accounts locally, switch safely with separate chat histories, and see remaining Codex limits as compact and detailed charts
Phone controls Optionally use Android accessibility to open apps, read screens, tap, type, scroll, and navigate
Floating chat and dictation Chat over other apps; in the main composer, dictate with live status, partial text, and Done/Cancel controls, keep recognized text in the composer
Preferences System/English/Korean interface, model and reasoning effort, task permissions, custom instructions, themes, and optional chat icons
Updates Check public GitHub releases, verify APK integrity and signing compatibility, and open Android’s installation prompt

The interface uses drawers and sheets on phones and multiple panels on larger screens. Light and dark themes include a translucent header, a floating composer, and draggable mobile sheets. Motion follows the device’s reduced-motion preference. Features depend on the runtime, account, Android permissions, and installed commands. A feature without a dedicated screen may still be accessible through Codex tools or configuration.

Install

You need an ARM64 device running Android 10 or later, an up-to-date Android System WebView, internet access, and an account that can use Codex.

Download the APK

Download the ARM64 APK from the latest release. Open the APK and follow Android’s installation prompts. If requested, allow installation from the app you used to download/open it.

New app versions are published automatically after the main workflow passes its tests, builds, and original-key signature verification. Alpha versions are marked as prereleases. A published version is never silently replaced; maintainers must increment both versionName and versionCode for the next release.

Normal builds publish installation files to Releases. Actions runs retain these diagnostic artifacts; an APK artifact is available only for an explicit apk_only test run:

Artifact Contents
mobile-codex-test-apk APK and verification files from an explicit test run; extract the ZIP to install. This run does not publish a release.
ui-check-reports Browser check reports and screenshots; no APK. JavaScript/Python test results are in the run logs.
android-check-reports Android test and lint reports; no APK.

Actions artifact downloads require GitHub sign-in and expire after 7 days. Public release assets remain available without that artifact sign-in requirement. An unsuccessful build does not publish a new release.

First launch

  1. Choose Connect your ChatGPT account. Copy the device code and complete sign-in in your browser.
  2. Start a general chat, or use Add project to choose a folder. Expand a project to see its chats.
  3. For shell access to a local project, enable Settings → Tools → Allow device file access.
  4. Choose a model, reasoning effort, and permissions, then send a request. Use + for attachments, @ for files/apps, and $ for skills.
  5. Choose Settings → General → Language to follow the device language or select English/Korean. Chats and file contents are not translated or reset.

The lower-left quota ring opens Settings → Account. From there you can add or switch ChatGPT accounts. Credentials remain in app-private storage, and each account only sees its own saved chats.

Saved chats can be opened without signing in or starting the runtime. Removing or unlinking a project moves its chats into general chats without deleting the folder or its files. General chats use the existing app-private workspace, displayed as Codex, without needing a project. Temporary loss of folder access does not move chats; reconnect the folder in that case.

Unrelated chats and projects can be deleted or renamed while another chat is running. Deleting the running chat or its project remains blocked until that task stops.

If sign-in fails and Send error report is available, open it to preview the anonymous report. It can show the step that failed and a category such as timeout or permission denied. Sending is optional and creates or updates a public GitHub issue. The report excludes account details, tokens, paths, raw logs, and conversations.

Update an existing installation

Use Settings → Updates to check public releases. The app verifies the APK checksum, package, version, and certificate before opening Android’s installer. Installation requires your confirmation.

main builds use the registered original signing key and verify its certificate fingerprint. Missing or incorrect signing configuration stops publication. Older CI builds created before this configuration may have incompatible temporary debug signatures. Uninstalling the app deletes its internal chats, sign-in data, and recovery copies, so do not uninstall just to troubleshoot an update without preserving needed data.

Since 0.1.7 the application ID is dev.mobilecodex.app. Older builds with a different ID install as a separate app. See updates and releases.

Using the app

Codex Live

Tap the Live waveform button beside dictation to speak with Codex in the current chat. Ask it to read or edit project files and hear the results; existing project permissions and approvals still apply. Voice settings offer a collapsible list, language preference, and reconnect on Apply. Ending the call releases the microphone without cancelling an active task.

An active voice conversation continues when switching apps or locking the screen. Tap the Codex Live notification to return, or use its End action to stop voice only.

For task instructions, use speech or the normal chat composer: text entered inside Live can receive a spoken acknowledgement without starting the requested task. See voice input.

Inviting Claude and Gemini

Every chat starts with Codex. Use + → Invite agents in the composer to add Claude and/or Gemini (Antigravity) to the current chat. Invited agents read the conversation so far. Without a mention, everyone answers concurrently, displayed in first-output order; @codex, @claude, @gemini, or @all call specific participants. Stop cancels all replies and pending calls. A new instruction to an active Codex turn stops the other participants.

The Participants button in the header opens a right-hand panel. Tap a name to choose its model and reasoning; Codex shares the composer's settings. Each invited agent has project permissions and an approval mode: ask or allow all. Claude also offers its native auto review when supported. Project mutations run one participant at a time.

Claude and Antigravity use the app's optional Linux environment. Enable it, then install and sign in from Settings → Account. No external Termux app is required. Model options come from each provider; unavailable providers fail explicitly. See invited agents for details and device checks.

Project information transfer

Use project information export/import to transfer IDs, names, and merge history with a JSON file. Connect each project to its local folder after importing. Source files, chats, credentials, and running tasks stay on their original device.

Plugins, skills, and MCP

Open Plugins · Skills · MCP in the sidebar.

  • Plugins: Browse marketplaces and details, install/enable plugins, and connect additional accounts when prompted.
  • Skills: Import a folder with SKILL.md directly inside it. Scripts, references, and assets are copied too. Select a skill with $ in chat.
  • MCP: Inspect server status and tools, connect with OAuth where supported, or edit config.toml. Commands for stdio servers must run on Android.

Optional Linux development environment

Open Settings → Tools → Linux environment to download and install Arch Linux ARM on demand, then turn on Use Linux environment. The root filesystem is a separate download of about 152 MB; it is not included in the APK. The installer checks free space and download integrity, and offers cancellation and retry.

When enabled, text chat can use the official OpenAI Linux ARM64 Codex CLI with your existing ChatGPT account. The app checks CLI downloads against their SHA-512 integrity metadata, verifies that the app-server initializes, and switches runtimes when idle. Refreshing the model list queries the selected runtime. Live voice uses the bundled Android engine, which also handles text chat when Linux is disabled or the Linux app-server fails before initialization.

The app terminal runs Linux commands. Codex can use mc-linux -- /bin/bash -lc 'command' through its normal shell tool and approval flow. The current project is mounted at /workspace. Linux packages and the guest home remain in app-private storage. Removing Linux deletes that environment while preserving connected project folders. See Linux setup.

Phone controls and floating chat

In Settings → Tools → Phone controls, connect the accessibility service, explicitly enable controls, and start a new chat. Use the on-screen stop button to disable controls. They are disabled after the app process restarts.

Android 10 supports reading screen elements; Android 11+ also supports screenshots. Screen content and images used for a task are sent to the AI service and may remain in chat history. Accessibility permission alone does not start automation.

With the service connected, Open floating chat lets you chat over other apps. Floating dictation still uses the device’s separate recognition screen. Main-chat dictation stays inside the composer: tap the microphone, speak, choose Done or Cancel, review the resulting draft, then send it yourself. It never sends automatically.

Recognition uses the device’s configured speech service, which may use external servers. It is not the ChatGPT app’s speech backend; accuracy, supported languages, silence detection, and offline availability depend on that service. The app does not retain audio files. See dictation, phone controls, and floating chat.

Images, instructions, and tools

  • Generated images appear in a gallery with individual original-file downloads. Generation availability depends on the runtime and account.
  • Custom instructions are saved to Codex’s global instruction file and read from the next request.
  • Chat character icons can be disabled in General settings without affecting attached/generated images.
  • Local character packs: In Settings → General, choose one character-packs root folder in the app. Documents/MobileCodex/character-packs is only an example; create a pack beneath the selected root, refresh the list, then select the pack. Refresh after file changes, and reselect the root if permission is lost. Each pack maps the 32 built-in state keys through mapping.json; PNG and WebP files must be at most 4 MiB and 2048 px on each side. See the complete 32-state example.
  • Settings → Tools → Check tools verifies bundled tool execution without requiring sign-in.

Android limitations

Device-specific behavior depends on Android, WebView, and permissions. See verification and the device checklist for automated checks and physical-device coverage.

  • File access: Android permissions apply. Full file access is not root and cannot access other apps’ private data or protected system areas. Cloud document providers use document tools rather than ordinary shell paths.
  • Approvals: Choose Ask, Auto review, or Allow all beside the model in the chat composer. Auto review routes approval requests to Codex's risk reviewer; task file access remains a separate setting.
  • Task permissions: The Android port does not provide the desktop command sandbox; the OS boundary for shell commands is the Android app’s permissions.
  • Command compatibility: Python, JavaScript, and Android-compatible packages are supported. A compiler, JDK, Perl, and SSH client are not bundled. The optional Linux environment supports additional ARM64 Linux tools installed inside it; Windows/x86 executables, kernel services, and all desktop software are not supported.
  • Storage: Shared storage can restrict execution and symbolic links. App-internal paths work better for npm installations and Git operations. General chats use an internal working folder.
  • Editing and recovery: The built-in editor supports UTF-8 text up to 1 MiB. Document tools copy files before modification and deleted files up to 32 MiB, but cannot recover every shell change or entire deleted directory. These editor limits do not restrict ordinary Codex tools or shell commands.
  • Terminal: Supports interactive process input and streaming text output. It is not a full-screen terminal emulator. Git commit/worktree management and scheduled automation do not have dedicated screens.
  • Background work: A foreground service helps keep tasks running, but device battery management can still interrupt them.

Build from source

Install JDK 17, Android SDK Platform 35, Build Tools 35.0.0, NDK 28.2.13676358, Python 3, and Node.js 20+. Set ANDROID_HOME to your SDK directory.

python3 tools/prepare_runtime.py
python3 -m pip install -r tools/requirements-devtools.txt
python3 tools/build_native.py --ndk "$ANDROID_HOME/ndk/28.2.13676358"
python3 tools/prepare_devtools.py
npm ci --ignore-scripts
npm test
npx playwright install --with-deps chromium
npm run test:layout
python3 -m unittest discover -s tests -p 'test_*.py'
./gradlew assembleDebug testDebugUnitTest lintDebug assembleDebugAndroidTest

APK: app/build/outputs/apk/debug/app-debug.apk

Signing and physical-device tests

For a local build, provide MOBILE_CODEX_KEYSTORE (absolute path), MOBILE_CODEX_KEY_ALIAS, MOBILE_CODEX_STORE_PASSWORD, and MOBILE_CODEX_KEY_PASSWORD to use your own signing key. Otherwise, Gradle uses its local debug key. Keep keys and passwords outside the repository and use the same key for future updates.

CI uses the MOBILE_CODEX_SIGNING_JSON repository secret and a pinned expected certificate. Forks must configure their own key/certificate; repository copies do not inherit secrets. Never commit a signing key. See release setup.

With an ARM64 device attached:

./gradlew connectedDebugAndroidTest
adb install -r app/build/outputs/apk/debug/app-debug.apk

Runtime tests use an isolated test home rather than your sign-in files. An x86 Linux CI build does not prove that Android ARM64 processes work on a physical device.

Documentation and provenance

Additional technical documents are currently mostly in Korean.

Document Topic
Input and attachments File/app mentions, skills, and attachment storage
Android developer tools Python, Node.js, Git, packaging, and limitations
Optional Linux environment On-demand installation, shell usage, and compatibility
Git runtime fix Shared-library loading and verification
Updates and releases APK checks, signing compatibility, and publication
Localization UI translations and adding languages
Third-party notices Component sources and licenses

The runtime uses @mmmbuto/[email protected] with the Live voice patch. The UI connects through the Codex app-server JSON-RPC protocol. Android native executables are bundled directly in the APK; the Termux app is not installed.

With the optional Linux environment enabled, text chat checks for the official OpenAI Linux ARM64 CLI. The app verifies the package and tests the app-server before switching at an idle boundary. Both runtimes use the existing GPT account. Live voice and installations with Linux disabled use the bundled runtime.

Versions and checksums are pinned in runtime-lock.json and devtools-lock.json. Preparation scripts include Android packaging changes to executable names and library references. Original LICENSE/NOTICE files are retained in the APK; corresponding developer-tool sources accompany releases. Preserve these notices and sources when redistributing.

Authentication data stays in app-private storage and is excluded from Android backup/device transfer. Personal settings, logs, signing keys, credentials, and build outputs are not committed.

License and contributions

Original Mobile Codex code and original artwork are licensed under GPL-3.0-only. Copyright © 2026 nokryong and contributors. Third-party components retain their own licenses; see THIRD_PARTY_NOTICES.md. This license does not grant rights to third-party trademarks.

Bug reports, patches, and translation improvements are welcome. Contributions to the original project code are provided under GPL-3.0-only. Please report your device model, Android version, app version, reproduction steps, and logs with credentials and personal content removed.

探索相关项目

加载中…