Skip to content
Taku Docs

Version 1.4.0 (current)

On-device Codex CLI and low-level shell · agent.cli

Execute code, generate apps, and call open capabilities on the device

Purpose and status

Execute code, generate apps, and call open capabilities on the device

Inventory status as of 2026-10-10: Verified within the recorded emulator scope (emulator_verified).

The CLI version was read in this run. Historical device logs for JSX source writes and build commands were reviewed. Authentication directories were not read.

Before calling

Source descriptions below retain their original language; identifiers and commands are unchanged.

FieldSource value
apiMin36
minimumBasisKey methods used by the example / this project’s target version
publicSdkClassfalse
exampleApiMin36
declaredVersionNotesAPI declarations are not device guarantees; recheck per targetSdk / OEM branch.
Device conditions (source record as of 2026-10-10)Historical source wording, 2026-10-10: Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device
Environments recorded as of 2026-10-10Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582

ROM requirement: Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path

Permissions and authorization

Permission or qualificationAuthorization condition
Current root CLI; sign in to the Agent account yourself; SELinux remains EnforcingCLI binaries are preinstalled and authentication lives only in device data; Android /system/bin/sh is mksh, not GNU Bash; authentication cannot be packaged into the system image

Entry points

Entry pointAvailability
/system_ext/bin/codex exec / Android shellExisting experimental entry point

Call examples

device_shell

Environment: Phone root shell

Prerequisites: CLI binaries are preinstalled and authentication lives only in device data; Android /system/bin/sh is mksh, not GNU Bash; authentication cannot be packaged into the system image

/system_ext/bin/codex --version
# The new-task example calls the model; choose a test scenario explicitly
/system_ext/bin/codex exec --skip-git-repo-check -C /data/local/agentos/work "Read the Android system version and report it. Do not operate any apps." </dev/null

Expected result: Version output; model success requires a real task result and command results, not the process exit code

Executed in the source record’s run: Not executed in that run; see the validation scope below.

Limitations

  • Only --version ran in this run; historical model calls are not new verification in this run.
  • A version, login, or executable program does not establish that all Codex functionality, phone hardware, and app permissions are available.

Validation records

Research

FieldSource value
statusdocumented
scopeUpstream mechanism and research variants; see limitations for unimplemented parts

Emulator

FieldSource value
statuspassed_in_scope
targetAgentOS_ImageCheck / API36 / ARM64
scopeThe CLI version was read in this run. Historical device logs for JSX source writes and build commands were reviewed. Authentication directories were not read.
date2026-10-10

Physical device

FieldSource value
statusnot_verified
date—
devices[]

Not yet verified on a physical device as of 2026-10-10. See current progress for later status.

Look up agent.cli in capabilities.en.json for the complete record. See current progress for later project evidence.

Upstream references

Chinese version.

Version and sources

Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see Current progress for later device support. Detailed source prose can remain in its original language.

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
Report an issue or give feedback

Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.

Built with Fumadocs

On this page