# Taku documentation > Public developer documentation for Taku OS, Taku Site and Publisher. Chinese index: https://docs.taku.ai/zh/llms.txt ## Start here for common tasks - Publish a website: read [Site Quickstart](https://docs.taku.ai/site/quickstart.md), then [Install Publisher](https://docs.taku.ai/publisher.md). Use only versioned URLs or the `marketplace` branch; do not use GitHub releases/latest. Only the user can finish the browser sign-in, and the user must choose the subdomain and the Marketplace listing. - Build for a Taku OS phone: read [Taku OS](https://docs.taku.ai/os.md). ## About this index This index uses same-build article content. The 6 sections follow the website navigation. Pages still waiting for content are left out. Legacy /catalog/ URLs remain available. - Taku OS specification: 0.1.0 - [Full articles](https://docs.taku.ai/llms-full.txt) - [Structured chapter index](https://docs.taku.ai/generated/docs-index.en.json) - [Capability JSON](https://docs.taku.ai/generated/capabilities.en.json) - [Implemented method registry](https://docs.taku.ai/generated/methods.json) # Taku developer documentation Install Taku OS on your phone and build plugins for it. ## [Get started with Taku OS](https://docs.taku.ai/#get-started-with-taku-os) ### [Install Taku OS](https://docs.taku.ai/quickstart/mobile/) Install TakuOS 1.4.0 on a supported phone or the ARM64 emulator, then run your first task. ### [Build your first plugin](https://docs.taku.ai/os/extensions/first-plugin/) Create a greeting plugin, install it, call it through the Agent and remove it. ## [Products](https://docs.taku.ai/#products) ### [Taku OS](https://docs.taku.ai/os/) An Android system with Agents, Memory, Cases and plugins, currently in research preview. ### [Taku Site](https://docs.taku.ai/site/) Websites your agent builds, hosted on taku.site. ### [Publisher](https://docs.taku.ai/publisher/) Publish Sites, Skills and Apps from a coding agent. --- # Mobile Quickstart: install Taku OS Find the image for your device or the ARM64 emulator, install or update it, verify the running build, and run your first task. Taku OS is installed per device. Each supported device has its own system image and a device page with downloads, checksums, and any steps that depend on its hardware. This page covers the steps that are the same on every device. The current release is **TakuOS 1.4.0 / Android 17** ([`v1.4.0-20261118070714`](https://github.com/Taku-OS/taku-os/releases/tag/v1.4.0-20261118070714)). ## [1. Choose your device](https://docs.taku.ai/quickstart/mobile/#1-choose-your-device) | Device | Image | Next | | --- | --- | --- | | Pixel 9 (`tokay`) | Full OTA and matching recovery files | [Pixel 9](https://docs.taku.ai/os/install/pixel-9/) | | ARM64 emulator on an Apple Silicon Mac or an ARM64 Linux host with KVM | [`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz) (SHA-256 `1f086efaa4e658079ae83366af4cecb942a11b735964454b7a637caedbf3323d` for `v1.4.0-20261118070714`) | Launch it with `image/emulator/start.py` from [taku-os](https://github.com/Taku-OS/taku-os), then follow [Connect a development emulator](https://docs.taku.ai/os/install/emulator/) | | Another phone | No published image | [Supported devices](https://docs.taku.ai/os/install/devices/) explains how to check your device and what porting involves | An image is built for one device. Never install a package on a different model, a variant with a different codename, or an emulator. [Supported devices](https://docs.taku.ai/os/install/devices/) shows how to read your device's codename. ## [2. Choose your route](https://docs.taku.ai/quickstart/mobile/#2-choose-your-route) | Device state | Route | | --- | --- | | Already running Taku, and the system updater offers the current build | [System update](https://docs.taku.ai/os/install/update/); do not follow the fresh-install data-erasure steps | | Stock firmware, another ROM, or a deliberate reinstall | Fresh installation on your device page, including unlocking and a data reset | | Already on the current build listed on your device page | No reflash is needed; go to [Connect a model](https://docs.taku.ai/quickstart/mobile/#model) | Preview signing and the bootloader Preview builds are `userdebug` images signed with public AOSP development keys (`test-keys`) for unlocked bootloaders. **Never re-lock the bootloader (`fastboot flashing lock`)** after installing Taku OS, or Verified Boot will prevent the device from starting. Each device page states which install and update routes have been checked on that device. Back up personal data first, and do not use a preview build on a phone you rely on for work or banking. ## [3. Prepare your computer](https://docs.taku.ai/quickstart/mobile/#prepare-your-computer) 1. Download the Windows, macOS, or Linux version of [Android SDK Platform-Tools](https://developer.android.com/tools/releases/platform-tools) and extract it. 2. Create a fresh installation directory containing the downloaded packages and the extracted `platform-tools` folder. Do not mix files from different builds or devices. 3. Open a terminal in that directory and add the tools to this terminal's PATH: macOS / Linux: ``` export PATH="$PWD/platform-tools:$PATH" adb version fastboot --version ``` Windows PowerShell: ``` $env:Path = "$PWD\platform-tools;$env:Path" adb version fastboot --version ``` Installing the phone system requires these tools and packages, not Node.js, a local source checkout, or a model account. On Windows, see the [Google USB Driver instructions](https://developer.android.com/studio/run/win-usb) if the phone is not recognized. ## [4. Download and verify](https://docs.taku.ai/quickstart/mobile/#downloads) Download the files listed under **Downloads and SHA-256** on your device page. Use the version-pinned URLs there, and follow redirects (`curl -fL`) when using a command-line downloader. Check every file in the installation directory and compare the output with the SHA-256 on the device page. Replace `FILE` with each filename. Stop and download the file again if any checksum differs. macOS: ``` shasum -a 256 FILE ``` On Linux, use `sha256sum FILE`. Windows PowerShell: ``` Get-FileHash .\FILE -Algorithm SHA256 ``` The native updater downloads and verifies its own package. Verify a full package yourself if you download it manually. ## [5. Install](https://docs.taku.ai/quickstart/mobile/#5-install) - **Fresh installation:** follow the fresh-install steps on your device page through preparation, unlocking, recovery installation, data reset, sideload, and reboot. Keep the bootloader unlocked; never run `fastboot flashing lock`. - **Existing Taku installation:** use [System update](https://docs.taku.ai/os/install/update/) and check the source build and offered target. - **Help from a coding agent:** use the [Agent installation procedure](https://docs.taku.ai/os/install/agent-setup/) and [`docs/agent-setup.md` in `Taku-OS/taku-os`](https://github.com/Taku-OS/taku-os/blob/main/docs/agent-setup.md). ## [6. Verify the result](https://docs.taku.ai/quickstart/mobile/#verify) After the phone starts, enable USB debugging and accept the computer's authorization. Run `adb devices -l`, then replace every `SERIAL` below with your device's serial. Keep `-s`. ``` adb -s SERIAL shell getprop sys.boot_completed adb -s SERIAL shell getprop ro.product.vendor.device adb -s SERIAL shell getprop ro.taku.product.name adb -s SERIAL shell getprop ro.taku.product.version adb -s SERIAL shell getprop ro.build.version.incremental adb -s SERIAL shell getprop ro.build.version.sdk ``` The first value must be `1` and the third `TakuOS`. The others must match **Expected values after boot** on your device page: the device codename, product version, full build number, and API level. Check the complete build number as well as the product version. A completed transfer or a boot animation does not replace these checks. ## [7. Connect a model and run a task](https://docs.taku.ai/quickstart/mobile/#model) On the device, follow [Model setup](https://docs.taku.ai/os/models/overview/) or [Sign in with ChatGPT](https://docs.taku.ai/os/models/chatgpt/). Enter passwords, API keys, and one-time codes only on the relevant device or authorization page, not in the coding-agent conversation. Enter this in Taku Home: ``` Read this device's Android version and SELinux state, and report their actual values. Read only; do not change settings. ``` The conversation should report actual values and show the corresponding queries in its execution record. A “Completed” label alone is insufficient. If nothing runs, check model connectivity and the network using [Runtime troubleshooting](https://docs.taku.ai/os/help/runtime/). Then try [Your first plugin](https://docs.taku.ai/os/extensions/first-plugin/). --- # Taku OS An Android system with the task-running Agent built in: finish phone tasks by asking, or build tools and apps for it. > Taku OS research preview. Availability varies by device and version; see current progress. Taku OS is an Android phone system under development that puts a task-running Agent at the system layer. You can use apps as usual or describe a goal to the phone's assistant, which calls tools to do the work. Developers can build tools and let apps and the assistant work with the same information. For example, **Taku Memory** remembers a dinner plan from the apps you choose and organizes it overnight. You can correct it in the Memory app, and the assistant uses the current plan for your next task. ## [Choose a first step](https://docs.taku.ai/os/#choose-a-first-step) ### [Try a phone task](https://docs.taku.ai/os/agents/tasks-sessions/) Give the assistant a request you can check and inspect the result. ### [Build your first device tool](https://docs.taku.ai/os/guides/getting-started/) Make a computer-side call, then combine device queries. ### [Make your app work with Memory](https://docs.taku.ai/os/extensions/memory/) What Taku Memory remembers from your app, and how to keep sensitive content out. ### [Understand the system](https://docs.taku.ai/os/architecture/overview/) Meet the phone interface, assistant, tools and Memory. Without a development environment, start with [Ways to try Taku OS](https://docs.taku.ai/os/install/overview/). With one already prepared, follow the tutorial for your goal. Taku OS is a research preview; see [Available features](https://docs.taku.ai/os/releases/current-progress/) for what you can try and what is still changing. ## [Where things live on the phone](https://docs.taku.ai/os/#where-things-live-on-the-phone) **Home and the assistant** let you submit tasks and read conversations/results. **Taku Memory** is a separate app for saved information. **Android Settings → Taku AI** manages system models and permission to use them. **Taku Keyboard** provides typing and reply suggestions. Start with the entry point for your task. You do not need to read the whole architecture first. Use the [API reference](https://docs.taku.ai/os/reference/) when you need exact parameters. --- # Ways to try Taku OS Pick a starting point: use the assistant on a phone or emulator, build a tool or an app, or work on the system itself. > Taku OS research preview. Availability varies by device and version; see current progress. The Taku OS system source is open source at [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os) (`Apache-2.0` for original Taku source; bundled third-party components retain their own licenses; `Taku-OS/taku-os-docs`, server-side services, Taku for Mac, and Marketplace remain private). Prebuilt images for the devices in [Supported devices](https://docs.taku.ai/os/install/devices/), matching recovery files, the ARM64 emulator archive, and SHA-256 checksums are published for `1.4.0` (`20261118070714`); installing prebuilt images does not require building from source. Pick the section that matches what you want to do. ## [Use the phone assistant](https://docs.taku.ai/os/install/overview/#use-the-phone-assistant) - **On a phone:** check [Supported devices](https://docs.taku.ai/os/install/devices/), then use [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) with your device page to download the pinned `1.4.0` (`20261118070714`) release and choose a fresh installation or a [System update for existing Taku](https://docs.taku.ai/os/install/update/). It includes SHA-256 checksums, concrete steps, post-boot checks, and an [agent installation procedure](https://docs.taku.ai/os/install/agent-setup/). Preview builds use `test-keys` for unlocked bootloaders — never run `fastboot flashing lock`. - **In an ARM64 emulator:** download [`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz) on an Apple Silicon Mac or ARM64 Linux host with KVM, launch it with `image/emulator/start.py` from [taku-os](https://github.com/Taku-OS/taku-os), and verify connectivity with [Connect a development emulator](https://docs.taku.ai/os/install/emulator/). Never flash a phone package to an AVD. ## [Build a tool or an app](https://docs.taku.ai/os/install/overview/#build-a-tool-or-an-app) **Device tools that run on your computer** need the system source, Node.js and the Android debugging tools. Start with [Your first API call](https://docs.taku.ai/os/guides/getting-started/). It needs a clone of the source, but no phone and no model account. **Android apps** that should work well with Taku Memory: see [Make your app work with Taku Memory](https://docs.taku.ai/os/extensions/memory/). ## [Change the system or support a device](https://docs.taku.ai/os/install/overview/#change-the-system-or-support-a-device) You need the system source, an Android toolchain and a build environment for the target device. Read [Component builds](https://docs.taku.ai/os/install/build/), then [Images and device support](https://docs.taku.ai/os/platforms/devices/). A component package (APK) holds one app or service. A system image (ROM) also holds the partitions, drivers and device configuration, so an APK cannot be flashed as a system. ## [Read first](https://docs.taku.ai/os/install/overview/#read-first) [How the system works](https://docs.taku.ai/os/architecture/overview/) introduces the main parts. [Available features](https://docs.taku.ai/os/releases/current-progress/) lists what works today, and [Versions and releases](https://docs.taku.ai/os/releases/overview/) covers the current version. --- # Your first Taku API call List methods on your computer before connecting a device or writing a tool. > Taku OS research preview. Availability varies by device and version; see current progress. List the methods Taku can call from your computer. No phone is needed. Requires the system source This tutorial runs from the `taku-os` repository root. Step 1 clones [taku-os](https://github.com/Taku-OS/taku-os). ## [Before you begin](https://docs.taku.ai/os/guides/getting-started/#before-you-begin) Install Git and Node.js 20+. Run these commands in a **computer terminal, inside the system repository**. This command-line program is called the CLI. JavaScript tools later use its companion client library, the SDK. ## [1. Open the system repository](https://docs.taku.ai/os/guides/getting-started/#1-open-the-system-repository) For your first checkout: ``` git clone https://github.com/Taku-OS/taku-os.git cd taku-os ``` With an existing checkout, enter that `taku-os` directory instead. ## [2. List methods](https://docs.taku.ai/os/guides/getting-started/#2-list-methods) ``` node sdk/cli/taku.mjs call methods.list ``` The JSON result should have `ok: true` and a method list in `result`. Look for `system.info`, `displays.status` and `tasks.status`: system information, displays and task status. This excerpt keeps the fields to check; actual entries also describe permissions and other properties: ``` { "ok": true, "result": [ {"id": "system.info"}, {"id": "displays.status"}, {"id": "tasks.status"}, {"id": "methods.list"}, {"id": "capabilities.list"}, {"id": "extensions.list"} ] } ``` This reads the local method directory without contacting a phone. Seeing this result completes your first call. ## [3. Call it from your own script](https://docs.taku.ai/os/guides/getting-started/#3-call-it-from-your-own-script) Create `first-call.mjs` in the repository root: ``` import { TakuClient } from './sdk/client.mjs'; const client = new TakuClient(); const methods = await client.call('methods.list'); console.log(methods.map(method => method.id).join('\n')); ``` Run it: ``` node first-call.mjs ``` The terminal prints the same six method names, one per line. This time you used the SDK instead of the CLI's JSON envelope: `client.call()` returns the method data directly. It uses existing repository files and needs no model account. Change the output to print only `methods[0].id` and run it again. You should see just `system.info`. The next tutorial keeps this calling pattern and connects a real device. ## [Next steps](https://docs.taku.ai/os/guides/getting-started/#next-steps) With a prepared development device, [build a device-summary tool](https://docs.taku.ai/os/guides/extensions/) that combines Android version and display information. For an Android app, try [app interfaces](https://docs.taku.ai/os/tools/app-interfaces/). Use the [CLI reference](https://docs.taku.ai/os/reference/cli/) when you need command parameters rather than reading the complete protocol first. ## [Troubleshooting](https://docs.taku.ai/os/guides/getting-started/#troubleshooting) - **Clone fails**: [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os) is public and requires no repository access grant. Verify the repository URL (`https://github.com/Taku-OS/taku-os.git`), check your network or proxy settings, and inspect any cached Git credentials (an expired personal access token can cause HTTPS requests to fail even on public repositories). - **Node.js missing**: install a supported version and reopen the terminal. - **`sdk/cli/taku.mjs` missing**: check that you are in the system repository root. --- # Environment checks and version guide Identify the installed assistant, Android and runtime versions before choosing a tutorial. > Taku OS research preview. Availability varies by device and version; see current progress. Before connecting a model or developing a tool, check which controls are available on your phone. Phone users can check settings; developers can also read component versions from a computer to investigate missing or mismatched features. ## [Choose your starting point](https://docs.taku.ai/os/guides/environment/#choose-your-starting-point) | Available environment | Next step | | --- | --- | | No device yet | Install Taku OS with the [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) | | Taku assistant already opens | Check the UI below, then [connect ChatGPT](https://docs.taku.ai/os/models/chatgpt/) or [DeepSeek](https://docs.taku.ai/os/models/magpie-deepseek/) | | System source and an ADB device | Read back versions, then follow the applicable development tutorial | | Want to install the system | Follow the [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) | ## [Check the interface](https://docs.taku.ai/os/guides/environment/#check-the-interface) Look in assistant settings for Account and connection, Model connection and Skills. Older builds may call the first entry ChatGPT account or lack Magpie. Missing entries require checking the installed version, not assuming functionality from changed labels. ``` 账户与连接 = Account and connection; ChatGPT 账户 = ChatGPT account 模型连接 = Model connection; 技能 = Skills ``` The connection page can show the Magpie version and gateway state. Magpie is a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS ships it on the phone, where it forwards Codex requests to the model service. A gateway on the phone does not mean the model runs locally. After Account connected appears, follow [Your first task](https://docs.taku.ai/os/agents/tasks-sessions/) to check a model response and tool result. Phone users do not need to enable ADB just to inspect these controls. ## [Read-only developer checks](https://docs.taku.ai/os/guides/environment/#read-only-developer-checks) Run `adb devices -l` on the computer and select your target in state `device`. **Replace the example serial `emulator-5634` in every command.** These commands do not root, install, log in or read authentication files. ``` adb -s emulator-5634 shell getprop ro.build.version.release adb -s emulator-5634 shell getprop ro.build.version.sdk adb -s emulator-5634 shell getprop ro.product.cpu.abilist adb -s emulator-5634 shell dumpsys package org.agentos.assistant adb -s emulator-5634 shell /system_ext/bin/codex --version adb -s emulator-5634 shell /system_ext/bin/magpie --version adb -s emulator-5634 shell getprop init.svc.taku_magpie ``` Record Android release, API, ABI, package version fields, Codex and Magpie versions, and service state. A missing `magpie` usually means the component is absent; a working version command does not prove upstream authorization. Share only relevant version fields, since full `dumpsys` output can contain device paths. Requires the system source The SDK command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. For SDK development, use Node.js 20+ in the **`taku-os` repository root**: ``` node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5634 ``` This adds actual execution identity and system observations. `tasks.status` has additional UID and directory requirements and is not mandatory for every reader. The computer's `git rev-parse HEAD` identifies the checkout, not the device binary. For task context, delivery or receipt states, continue to [Inspect Harness](https://docs.taku.ai/os/harness/inspect/). ## [Match verified versions to tutorials](https://docs.taku.ai/os/guides/environment/#match-verified-versions-to-tutorials) This is a reading guide. The linked pages define the devices and tasks covered; this is not a compatibility promise for every combination. | Record | Verified focus | Reading path | | --- | --- | --- | | Emulator, Codex 0.161.0 | Pinned-commit Skills installation and adoption; native APK generation with prepared tools | [Skills](https://docs.taku.ai/os/extensions/skills/), [Native Java app](https://docs.taku.ai/os/tools/native-app/) | | Pixel 9 physical device | Existing account, real model, read-only tools and restart recovery | [ChatGPT](https://docs.taku.ai/os/models/chatgpt/), [Codex reference](https://docs.taku.ai/os/models/codex/); does not cover Magpie or Skills | | Emulator, Codex 0.161.0, Magpie 0.1.1290 | Real DeepSeek request, device tool and protocol | [Magpie + DeepSeek](https://docs.taku.ai/os/models/magpie-deepseek/) | | Emulator | Browser return, conversation/draft retention and catalog refresh; model messages not covered | Return steps in the same Magpie tutorial | For mismatched versions or missing entries, compare with [Versions and releases](https://docs.taku.ai/os/releases/overview/) before using [Update and recovery](https://docs.taku.ai/os/install/update-recovery/). Do not apply another device's old-image commands. For a matched version with a failure, record the first error using [Troubleshooting](https://docs.taku.ai/os/help/troubleshooting/). --- # Configuration entry points Select a device for computer-side SDK calls or a model service in the phone assistant. > Taku OS research preview. Availability varies by device and version; see current progress. Configure either the **computer-side SDK connection** or the **phone's model connection** according to your task. The first makes direct interface calls; the second lets the phone assistant submit model tasks. They can be configured independently. Before configuration, [identify your installed versions](https://docs.taku.ai/os/guides/environment/). First-time ChatGPT users should follow [Connect ChatGPT](https://docs.taku.ai/os/models/chatgpt/). ## [Shared defaults and app permission](https://docs.taku.ai/os/configuration/overview/#shared-defaults-and-app-permission) Use **Android Settings → Taku AI** to bind each scene to a model group and to authorize each app. The keyboard follows its scene binding, and Memory analysis and organizing follow the Memory scene binding. Jev is the System One decision model from TypeSafe AI. It returns structured answers instead of text, and Taku OS uses decision models for choices such as whether to show a light hint. Jev is not the main Agent. The “Jev decision model” setting accepts any catalog model whose kind is decision; Jev Router is a chat model, not a decision model. Follow the [shared settings guide](https://docs.taku.ai/os/models/system-ai/), then try [keyboard candidates](https://docs.taku.ai/os/tools/inputmethod/) and see [Per-record analysis and suggestions](https://docs.taku.ai/os/guides/memory-legacy/) for Memory analysis. Memory capture and search need no model. ## [Prerequisites](https://docs.taku.ai/os/configuration/overview/#prerequisites) - **SDK calls:** complete [Connect a development emulator](https://docs.taku.ai/os/install/emulator/), record the serial, and run commands from the **`taku-os` root on your computer**. - **Phone model setup:** have a preview device with Taku Assistant available. Open settings **on the phone**; no source checkout, ADB connection or component build is required for this settings flow. Offline method-list checks need none of this configuration. Phone model setup also requires an integrated assistant/runtime and your own authorization for a model service; source and generic images do not include an account. ## [SDK parameters](https://docs.taku.ai/os/configuration/overview/#sdk-parameters) Requires the system source The commands in this section run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. **For one call:** explicitly select the connection method, serial and ADB executable. Replace `/absolute/path/to/adb` with the actual local path. If `adb` is already in PATH, omit `--adb`. ``` node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 --adb /absolute/path/to/adb ``` **For repeated calls in one terminal:** set environment variables so later commands reuse the device selection. Replace the example serial and ensure `adb` is in PATH. ``` export TAKU_OS_TRANSPORT=adb export TAKU_OS_SERIAL=emulator-5582 node sdk/cli/taku.mjs call displays.status ``` Command-line parameters override their corresponding environment variables. Set the serial again before changing devices. When you no longer need the default connection, clear it in the current terminal: ``` unset TAKU_OS_TRANSPORT TAKU_OS_SERIAL ``` Connection result Expect real device/display information from the same target. Device methods return `DEVICE_REQUIRED` when neither parameters nor environment variables select a connection; metadata methods need no device. Explicitly selecting ADB without a valid serial is also rejected. ## [Choose a model connection on the phone](https://docs.taku.ai/os/configuration/overview/#choose-a-model-connection-on-the-phone) For first-time DeepSeek setup, follow the [on-device Codex + Magpie + DeepSeek tutorial](https://docs.taku.ai/os/models/magpie-deepseek/) to add a service, select a model, and verify tool results. The entries below let you switch an existing connection. In Taku Assistant with the corresponding version integrated, open **Settings → Model connection**: 1. Select the native ChatGPT connection to use existing ChatGPT authorization. For another model service, open **Manage models and routes** and add your service. 2. Return from the management page to the current conversation's model-connection page and wait for the catalog to refresh. Use **Refresh model services** if necessary. 3. Select the default model or routing group for that connection, then send a bounded task using the [Tasks and sessions](https://docs.taku.ai/os/agents/tasks-sessions/). A **routing group** selects model routing configured in the gateway; it does not establish working multi-model failover. **Magpie** is a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS ships it on the phone, where it forwards Codex requests to the model service. A gateway on the phone does not mean the model runs locally. Codex still executes Agent conversations and tools, while inference requests an online API. Active or queued tasks prevent connection switching; wait until idle. This connection and return flow has been verified on an emulator only. The tested DeepSeek catalog is text-only and rejects images before creating a turn. Your account, model and network still need an actual call. See [Models](https://docs.taku.ai/os/models/overview/) and [Current progress](https://docs.taku.ai/os/releases/current-progress/). ## [Different entry points on the device](https://docs.taku.ai/os/configuration/overview/#different-entry-points-on-the-device) Use this table to identify services during diagnosis. You do not need to configure every row. | Scope | Current entry point | Meaning | | --- | --- | --- | | Agent runtime | `/system_ext/bin/codex` | Phone program executing model conversations and tools | | Independent display | `/system_ext/bin/phone-display` | Display-management command in an integrated development image | | Application API | Device localhost `8765` | Explicitly started/stopped experimental Node business service; this is not your computer's localhost | | Task lifecycle | System task service and task directory | Shared background-task state used by the runtime | Do not embed account authentication in a ROM or interpret a local application listener as public system access. Emulator-specific DNS, paths and toolchains cannot be assumed on a phone. Selecting another model does not replace the Agent runtime. **Next:** run a [first Agent task](https://docs.taku.ai/os/agents/tasks-sessions/) after selecting a connection. For application business interfaces, read [Application interfaces](https://docs.taku.ai/os/tools/app-interfaces/). On failure, start with [Model and task troubleshooting](https://docs.taku.ai/os/help/runtime/). --- # Check whether a feature fits your environment Distinguish a callable interface, device support and an installable system release. > Taku OS research preview. Availability varies by device and version; see current progress. Before trying a feature, check its environment. Existing source, successful behavior on one device and an installable release answer different questions. ## [Ask three questions](https://docs.taku.ai/os/guides/validation/#ask-three-questions) | What you need to know | What to inspect | | --- | --- | | Can code call it? | Interface, parameters, permissions and example | | Can my device use it? | Matching device/component version and observed result | | Can it be installed as a system? | Build, installation, boot and recovery for the same image | For example, a page describing a new feature does not mean the device in your hand runs a version that includes it. Check the installed version before looking for a new screen; a documentation update does not change the installed app. ## [Read status labels](https://docs.taku.ai/os/guides/validation/#read-status-labels) Research records a route or mechanism. Emulator verification covers the named environment; physical verification covers the named device and operations. These are different scopes rather than scores or substitutes. Inventory entries retain their own dates. An older inventory not yet updated with later physical-device results is not today's project-wide feature total. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for support. ## [Verify your own tool](https://docs.taku.ai/os/guides/validation/#verify-your-own-tool) Define inputs and the result you will inspect, then compare actual output. Report a successful read as a read; do not include writes, model calls or upgrades you did not perform. For contributions, retain source version, device, permissions, command, exit code and failures. See the [contribution guide](https://docs.taku.ai/os/contributing/overview/) when you need a submission format. --- # Supported devices Devices with a published Taku OS image, how to read your device's codename, and what to do when your phone is not listed. > Taku OS research preview. Availability varies by device and version; see current progress. A device is supported when it has a published Taku OS image and a device page with downloads, checksums, expected values, and its device-specific install steps. The shared steps are in [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/). ## [Devices with a published image](https://docs.taku.ai/os/install/devices/#devices-with-a-published-image) | Device | Codename | Current build | Device page | | --- | --- | --- | --- | | Pixel 9 | `tokay` | TakuOS `1.4.0`, `20261118070714` | [Pixel 9](https://docs.taku.ai/os/install/pixel-9/) | Without a supported phone, an Apple Silicon Mac or an ARM64 Linux host with KVM can run the published ARM64 emulator image; see [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) and [Connect a development emulator](https://docs.taku.ai/os/install/emulator/). ## [Check your device](https://docs.taku.ai/os/install/devices/#check-your-device) A model name is not enough: variants of one phone often have different codenames, partitions, and firmware. Read the codename from the device itself. With Android running and USB debugging authorized: ``` adb devices -l adb -s SERIAL shell getprop ro.product.vendor.device ``` From the bootloader: ``` fastboot -s SERIAL getvar product ``` Replace `SERIAL` with your device's serial. Continue only if the value matches a codename in the table. Also check on the device that OEM unlocking is available; a carrier or sales variant can be locked even when the model can be unlocked in general. ## [When your device is not listed](https://docs.taku.ai/os/install/devices/#when-your-device-is-not-listed) There is no image for it. Do not install another device's package, rename files, or edit metadata to get past a check. An image contains the device's boot stack, kernel, vendor components, and partition layout, so a package built for one device does not work on another. To bring Taku OS to a new device, see [System source, images, and device adaptation](https://docs.taku.ai/os/platforms/devices/). --- # Pixel 9 Pixel 9 (tokay) downloads, SHA-256, expected build values, update status, and the fresh-install procedure with unlocking, recovery, and sideload. > Taku OS research preview. Availability varies by device and version; see current progress. This is the device page for **Pixel 9 (`tokay`)**. It has the files, checksums, and values specific to this phone, plus the steps that depend on its partitions and recovery. For the steps shared by every device, start with [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/). Pixel 9 Pro and other Pixel 9 variants are different devices; never install these packages on them or on an emulator. ## [Current build](https://docs.taku.ai/os/install/pixel-9/#build) | Field | Value | | --- | --- | | Product version | TakuOS `1.4.0` | | Android | 17 (API `37`) | | Build | `20261118070714` | | GitHub release | [`v1.4.0-20261118070714`](https://github.com/Taku-OS/taku-os/releases/tag/v1.4.0-20261118070714) | | Firmware baseline | `CP2A.260805.005` | | System security patch | `2026-10-01` | Verified scope for this build In [`tokay-20261118070714.json`](https://docs.taku.ai/downloads/tokay-20261118070714.json), build `20261118070714` declares `20261111080323` as its native update source, with matching OTA and recovery signing (`recoverySignerMatchesOta: true`). Its physical-device checks (`nativeUpdateAndRebootVerified` and `firstInstallFromStockVerified`) are still recorded as `false`. The previous `1.3.1` build [`20261111080323`](https://docs.taku.ai/downloads/tokay-20261111080323.json) completed physical-device native update checks from `20261110154119`. Back up personal data before any install or upgrade. ## [Downloads and SHA-256](https://docs.taku.ai/os/install/pixel-9/#downloads) Use these version-pinned URLs. Click a filename to download, or follow redirects (`curl -fL`) when using a command-line downloader. The full package is approximately **2.75 GB** (served from Taku's CDN because GitHub Releases caps single uploaded assets at 2.0 GiB); the matching recovery bundle attached to [GitHub Release `v1.4.0-20261118070714`](https://github.com/Taku-OS/taku-os/releases/tag/v1.4.0-20261118070714) is approximately **42.0 MB**. A native update of an existing Taku installation does not need a separate recovery flash. ### Full system package (OTA ZIP) [TakuOS-1.4.0-tokay-20261118070714-full.zip](https://worker.taku.ai/os-update/v1/download/taku-os/android/tokay/releases/20261118070714-22cb53203be9da8f/fbd50dcafa988357bce12a5e4e0e57879d127f898482d69d6bac913a552fdebe/full.zip) 2,753,748,999 bytes SHA-256 ``` 9812a62734f6fe1512cc630c332b1d5338f2e166889e8fbf19a7c146b68bbed3 ``` ### Matching recovery boot images [TakuOS-1.4.0-tokay-20261118070714-recovery.zip](https://github.com/Taku-OS/taku-os/releases/download/v1.4.0-20261118070714/TakuOS-1.4.0-tokay-20261118070714-recovery.zip) 42,016,690 bytes SHA-256 ``` 3a04cd4054418f5fa26d6588876e5d7d074c6a3eaa617fae38adee5a162d2b5a ``` The full package is an **A/B OTA ZIP** for recovery or the system updater, not a factory ZIP. Do not pass it to `fastboot update`. The recovery bundle contains this build's `boot.img`, `dtbo.img`, `vendor_kernel_boot.img`, `vendor_boot.img`, and checksums. It contains no user data and is only needed for a fresh installation. Check both files as described in [Quickstart](https://docs.taku.ai/quickstart/mobile/#downloads). On macOS: ``` shasum -a 256 TakuOS-1.4.0-tokay-20261118070714-full.zip shasum -a 256 TakuOS-1.4.0-tokay-20261118070714-recovery.zip ``` Machine-readable inventory: [download metadata and all checksums (`tokay-20261118070714.json`)](https://docs.taku.ai/downloads/tokay-20261118070714.json). The previous `1.3.1` manifest is kept at [`tokay-20261111080323.json`](https://docs.taku.ai/downloads/tokay-20261111080323.json). ## [Expected values after boot](https://docs.taku.ai/os/install/pixel-9/#verify) The [Quickstart post-boot checks](https://docs.taku.ai/quickstart/mobile/#verify) should return, in order: `1`, `tokay`, `TakuOS`, `1.4.0`, `20261118070714`, `37`. ## [Update an existing installation](https://docs.taku.ai/os/install/pixel-9/#update) A Pixel 9 already running Taku updates through the native updater; see [System update](https://docs.taku.ai/os/install/update/). - Declared source build: `20261111080323` (`TakuOS 1.3.1`) - Target: `20261118070714` (`TakuOS 1.4.0`), dated 2026-11-18 - Delivery: full OTA, **2,753,748,999 bytes**, not an incremental ZIP - Physical-device native updater download, installation, reboot, and selected test-data checks were verified on `20261110154119` → `20261111080323`. Physical-device regression for `20261111080323` → `20261118070714` is still marked `false`. ## [Fresh installation](https://docs.taku.ai/os/install/pixel-9/#fresh-install) Use this route only for a fresh installation or a deliberate erase-and-reinstall. To upgrade an existing Taku installation while keeping data, use [System update](https://docs.taku.ai/os/install/update/). This route erases the phone Bootloader unlocking and recovery formatting delete local data. Back up first and confirm on the device yourself. Do not let a script confirm for you or use this route for an ordinary upgrade. Matching files and upstream-based instructions are provided, but a fresh install of this build from stock firmware or another ROM has not completed physical-device regression testing. ### [1. Check the device and firmware](https://docs.taku.ai/os/install/pixel-9/#1-check-the-device-and-firmware) - The phone must be Pixel 9; bootloader `product` must be `tokay`. Pixel 9 Pro is a different device. - OEM unlocking must be available. Stop for a carrier-locked device or an unavailable OEM unlocking setting. - The upstream tokay process requires **Android 17 firmware**. This package's build fingerprint uses firmware baseline `CP2A.260805.005`, with system security patch `2026-10-01`. This does not establish compatibility with every newer or older bootloader or radio. Stop if firmware or rollback compatibility is uncertain or would require a downgrade; do not improvise a downgrade or disable verification. - Back up your data, use a reliable USB data cable, and ensure adequate charge. Retain access to the device owner's accounts for normal recovery procedures. In **Settings → About phone → Build number**, tap seven times and complete any confirmation on the phone to enable Developer options. Open **Settings → System → Developer options**, enable **OEM unlocking** and **USB debugging**, connect USB, and authorize the computer on the phone. In the terminal where [Platform-Tools is configured](https://docs.taku.ai/quickstart/mobile/#prepare-your-computer), run: ``` adb devices -l adb -s SERIAL shell getprop ro.product.vendor.device adb -s SERIAL shell getprop ro.build.version.release adb -s SERIAL shell getprop ro.bootloader adb -s SERIAL shell getprop gsm.version.baseband ``` Replace `SERIAL` with your phone's serial from the first command. Its state must be `device`. Record the device, Android version, bootloader, and radio values. Do not infer the device model from a downloaded filename. ### [2. Verify and extract matching files](https://docs.taku.ai/os/install/pixel-9/#2-verify-and-extract-matching-files) First compare the **full OTA ZIP and recovery ZIP SHA-256** values with [Downloads and SHA-256](https://docs.taku.ai/os/install/pixel-9/#downloads). Put both ZIPs in the installation directory. Extract only the recovery ZIP; leave the full OTA ZIP intact. macOS / Linux: ``` unzip TakuOS-1.4.0-tokay-20261118070714-recovery.zip shasum -a 256 -c SHA256SUMS.txt ``` On Linux, `sha256sum -c SHA256SUMS.txt` also works. Windows PowerShell: ``` Expand-Archive .\TakuOS-1.4.0-tokay-20261118070714-recovery.zip -DestinationPath . Get-Content .\SHA256SUMS.txt | ForEach-Object { $parts = $_ -split ' ', 2 $actual = (Get-FileHash -LiteralPath $parts[1] -Algorithm SHA256).Hash.ToLowerInvariant() if ($actual -ne $parts[0]) { throw "SHA-256 mismatch: $($parts[1])" } Write-Output "OK: $($parts[1])" } ``` All four `.img` files and the full OTA ZIP must pass. Do not mix an old recovery, stock Google images, or another ROM's boot files into this set. Extracted image checksums: | Extracted file | SHA-256 | | --- | --- | | `boot.img` | `29b73dfdcdfb61d5d4f67b245c44b4027cdf281d7011e0ceb91c583b632138cc` | | `dtbo.img` | `b394a2ba49c42f4bd5f77f303b768a2c274d824a122e879b7d9cad8e9cf21230` | | `vendor_kernel_boot.img` | `e8b3f30595a0c1da83d384883849874e380534be80b9d9531c9873ac72191115` | | `vendor_boot.img` | `af6c97d7f022c354a51074b7a5cf85874eeac21977567068a847da90ddd0f62d` | ### [3. Unlock the bootloader](https://docs.taku.ai/os/install/pixel-9/#3-unlock-the-bootloader) **This erases data. Continue only after a backup and a deliberate decision to install.** Skip the unlock command if the device is already unlocked. ``` adb -s SERIAL reboot bootloader fastboot devices fastboot -s SERIAL getvar product fastboot -s SERIAL getvar unlocked fastboot -s SERIAL getvar is-userspace fastboot -s SERIAL getvar current-slot fastboot -s SERIAL getvar snapshot-update-status ``` Require `product: tokay` and bootloader fastboot (`is-userspace: no`), not fastbootd. Record the current slot without changing it. Snapshot status must show no pending update (normally `none`); stop for merging, an unfinished update, or an unknown status. If it is locked: ``` fastboot -s SERIAL flashing unlock ``` Read the phone's warning and confirm with its physical buttons yourself. Follow the device prompts to restart, complete necessary setup, enable USB debugging again, and return to the bootloader. Confirm `unlocked: yes` before continuing. See [Android's bootloader unlocking documentation](https://source.android.com/docs/core/architecture/bootloader/locking_unlocking). ### [4. Install the matching recovery boot images](https://docs.taku.ai/os/install/pixel-9/#4-install-the-matching-recovery-boot-images) Recheck the selected `tokay`, `unlocked: yes`, and `is-userspace: no`. Run these commands individually. Each must succeed; stop at any `FAILED` result. ``` fastboot -s SERIAL flash boot boot.img fastboot -s SERIAL flash dtbo dtbo.img fastboot -s SERIAL flash vendor_kernel_boot vendor_kernel_boot.img fastboot -s SERIAL reboot bootloader fastboot -s SERIAL flash vendor_boot vendor_boot.img ``` Pixel 9 stores recovery in `vendor_boot`, not a separate `recovery` partition. Unsuffixed partition names let fastboot use the current slot. Do not manually switch slots, add a `vbmeta` flash, or disable verification. The partition selection follows [LineageOS's tokay definition](https://github.com/LineageOS/lineage_wiki/blob/main/_data/devices/tokay.yml) and [boot-stack procedure](https://github.com/LineageOS/lineage_wiki/blob/main/_includes/templates/device_specific/before_recovery_install_boot_stack.md). Stay in the bootloader after flashing. Use the volume keys to select **Recovery Mode**, then press Power. Do not boot the old system first. If the recovery main menu does not appear, preserve the error and stop; formatting is not a remedy for a recovery that will not boot. ### [5. Reset in recovery and install the full package](https://docs.taku.ai/os/install/pixel-9/#5-reset-in-recovery-and-install-the-full-package) 1. **For a fresh installation or deliberate reinstall only**, choose **Factory Reset → Format data / factory reset** and confirm the erase. 2. After formatting succeeds, return to the main menu and select **Apply update → Apply from ADB**. 3. On the computer, run: ``` adb devices adb -s SERIAL sideload TakuOS-1.4.0-tokay-20261118070714-full.zip ``` The device list should now show `sideload`. Send the full OTA ZIP, not the recovery ZIP, and do not extract the OTA first. Wait for the phone's recovery to report a successful installation, then select **Reboot system now**. Computer progress can pause around 47%; a completed transfer alone is insufficient. Check the final recovery result. Stop for signature, firmware, rollback, storage, or payload errors and retain their text; do not ignore signature failures. This package already includes Google Play services and the Play Store, so do not add another GApps package. ### [6. Verify after boot](https://docs.taku.ai/os/install/pixel-9/#6-verify-after-boot) The first boot may take longer than a normal boot. Once Android starts, perform [Quickstart's post-boot checks](https://docs.taku.ai/quickstart/mobile/#verify) and compare them with [Expected values after boot](https://docs.taku.ai/os/install/pixel-9/#verify). Confirm build **`20261118070714`** (`TakuOS 1.4.0`) before connecting a model. **Never re-lock the bootloader (`fastboot flashing lock`) after installing a preview build.** Preview images are `userdebug` builds signed with public AOSP development keys (`test-keys`) without custom AVB key enrollment, so re-locking the bootloader prevents Android Verified Boot from starting the system. Do not respond to a slow boot by repeatedly erasing data, switching slots, or trying random versions. For a boot loop, retain the errors and use [Troubleshooting](https://docs.taku.ai/os/help/runtime/). ## [Sources and verification scope](https://docs.taku.ai/os/install/pixel-9/#sources-and-verification-scope) - The upstream [LineageOS Pixel 9 installation guide](https://wiki.lineageos.org/devices/tokay/install/) provides the device-specific partition and recovery process. This page uses matching Taku images; do not mix upstream packages with this set. - The four boot images were extracted from this build's checksum-verified target-files. Recovery includes the full OTA's signing certificate. Matching files and signature checks do not establish that a fresh install from stock has been tested on a physical phone. - See [Update an existing installation](https://docs.taku.ai/os/install/pixel-9/#update) for the source build and the native Taku update that was tested. --- # System update Update a device already running Taku through the native updater: check the source build, download, install, reboot, and verify the target. > Taku OS research preview. Availability varies by device and version; see current progress. This route is for a **supported device already running Taku**. It keeps your data and does not unlock the bootloader, flash partitions, or reset the device. Installing from stock firmware or another ROM uses the fresh-install steps on your [device page](https://docs.taku.ai/os/install/devices/). A full OTA is built for one device and is not a universal update for arbitrary phones. Your device page lists the current target build, the source builds with a published update path, the package size, and how far the update has been checked on that device. Always check the full 14-digit build number in addition to the product version. ## [1. Check the current build](https://docs.taku.ai/os/install/update/#1-check-the-current-build) Look in Settings under About phone / version information. For exact values, connect an authorized computer, run `adb devices -l`, and replace `SERIAL` with the intended phone's serial: ``` adb -s SERIAL shell getprop ro.product.vendor.device adb -s SERIAL shell getprop ro.taku.product.name adb -s SERIAL shell getprop ro.taku.product.version adb -s SERIAL shell getprop ro.build.version.incremental ``` Compare the result with **Update an existing installation** on your device page: - Already on the current target build: no reinstall is needed. - On a declared source build: check the system updater for the target version and build. - On another build: use only what the updater actually offers. A direct update from every older build is not promised; do not downgrade a newer build. ## [2. Check and download](https://docs.taku.ai/os/install/update/#2-check-and-download) 1. Back up your data and keep a reliable network connection and adequate charge. 2. Open **Settings → System → System update**. It may be labeled **Updater**; search Settings for the system updater if needed. 3. Check for updates. Confirm that the offered product version and full build ID match the target on your device page. 4. Download and wait for verification. Use the package offered by the updater; no separate recovery or boot-partition flash is needed. If no update appears, record the full current build number. An empty list without a matching path does not call for a data reset. Do not spoof the build number, change channel URLs, or use another device's package. ## [3. Install and reboot](https://docs.taku.ai/os/install/update/#3-install-and-reboot) After the download, choose **Install**. Wait for an explicit completed-installation / reboot-required indication, then select **Reboot**. Do not switch slots, flash partitions, re-lock the bootloader (`fastboot flashing lock`), or power off during installation. This route does **not** unlock the bootloader, run Factory Reset, or format data. Third-party root modules, manually modified boot partitions, and upgrades across signing identities are outside the tested scope; do not assume the same data-preservation result. ## [4. Verify the target](https://docs.taku.ai/os/install/update/#4-verify-the-target) Once Android starts, run the [Quickstart post-boot checks](https://docs.taku.ai/quickstart/mobile/#verify) and compare them with the expected values on your device page, including `sys.boot_completed=1`, the target version, and the full build number. Check your own important apps and data as well. Unchecked personal data must not be assumed preserved. A successful download, completed progress bar, or boot animation is not a substitute for checking the running build. ## [If something fails](https://docs.taku.ai/os/install/update/#if-something-fails) | Observation | Next step | | --- | --- | | Empty update list | Check the current build and network; that source may have no published update path | | Download or checksum failure | Retain the error and download the same pinned version again; do not skip verification | | Installation failure | Record the exact error and source/target builds; stop further writes without erasing data first | | Old build after reboot | Do not report success or manually change slots; retain the updater result and build information | | Boot loop | Stop further flashing and retain the state and error. The fresh-install route on your device page erases data and is not a default repair button | You may download and keep the full package separately. This page does not present an untested manual sideload from a different source build as equivalent to the verified native update. Reconfirm the target, files, signing/firmware conditions, and data handling before changing routes. --- # Install with help from a coding agent Guide a coding agent through Taku OS setup on a supported device or the ARM64 emulator: inspect the target, verify SHA-256, and confirm destructive steps first. > Taku OS research preview. Availability varies by device and version; see current progress. This page accompanies [`docs/agent-setup.md` in the open-source `Taku-OS/taku-os` repository](https://github.com/Taku-OS/taku-os/blob/main/docs/agent-setup.md). All packages, manifests, and instructions are publicly accessible. Installing prebuilt packages on a supported device does not require building from source or sending model credentials to a computer-side agent. ## [Copy to your agent](https://docs.taku.ai/os/install/agent-setup/#copy-to-your-agent) ``` First read https://docs.taku.ai/quickstart/mobile.md, https://docs.taku.ai/os/install/devices.md, https://docs.taku.ai/os/install/agent-setup.md, and https://github.com/Taku-OS/taku-os/blob/main/docs/agent-setup.md. Read the connected device's codename and find its device page in the supported-devices list. Use the download metadata JSON linked from that device page to verify files, sizes, and SHA-256, or https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz for an ARM64 emulator. If the codename is not listed, stop: there is no image for that device. Start with read-only checks. Identify an existing Taku update, a fresh install, or an isolated ARM64 emulator setup, and report the device, current build, and target build. Before any device write, show a complete plan: exact device serial, files, partitions to write, and whether data will be erased. Execute only after I explicitly confirm that plan; confirm again if the target or scope changes. Do not auto-select a phone, bypass signature or rollback checks, change update channels, manually change slots, or re-lock the bootloader (`fastboot flashing lock`). I will handle account sign-in and physical device confirmations. Do not collect passwords, API keys, or one-time codes. Finally read the running build after boot. A download or completed sideload transfer is not installation success. ``` ## [Execution order](https://docs.taku.ai/os/install/agent-setup/#execution-order) 1. **Read-only checks:** confirm Platform-Tools works, list devices, and let the user select one serial (`-s SERIAL`). Read the device, Android version, Taku version, and full build number. 2. **Choose the route:** match the device codename against [Supported devices](https://docs.taku.ai/os/install/devices/). An existing Taku installation starts with [System update](https://docs.taku.ai/os/install/update/); stock firmware or another ROM uses the fresh-install steps on that device page. An Apple Silicon Mac or ARM64 Linux KVM host without a supported phone can run the published ARM64 emulator image in an isolated AVD directory without modifying existing AVDs. Stop physical-device flashing for an unlisted codename or uncertain firmware. 3. **Verify files:** download the pinned URLs from the device page and compare complete SHA-256 values with its metadata JSON (for Pixel 9, [`tokay-20261118070714.json`](https://docs.taku.ai/downloads/tokay-20261118070714.json)). For ARM64 emulator hosts, `TakuOS-emulator-arm64-images.tar.gz` for `v1.4.0-20261118070714` has SHA-256 `1f086efaa4e658079ae83366af4cecb942a11b735964454b7a637caedbf3323d`. Do not mix builds or devices. 4. **Confirm the write plan:** present the device, target build, write scope, and data-erasure consequences together. Proceed within that specific authorization without repeatedly asking for the same approved step. Physical device confirmations remain with the user, and **never run `fastboot flashing lock`** on `test-keys` preview builds. 5. **Check each result:** every flash command must succeed. Stop for `FAILED`, signature, firmware, or rollback errors. Fresh installation requires recovery's final success result; an update requires the updater's success indication. 6. **Read back:** after Android starts, use Quickstart's read-only commands and compare them with the expected values on the device page: device codename, product `TakuOS`, version, full build number, and API level (or use [Connect a development emulator](https://docs.taku.ai/os/install/emulator/) on the ARM64 AVD). The user then checks their data and model connection. ## [Scope](https://docs.taku.ai/os/install/agent-setup/#scope) - Each device's OTA and recovery files are for that device only, never an emulator or another phone model; the [published ARM64 emulator archive](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz) runs on Apple Silicon Macs (M1+) or ARM64 Linux hosts with KVM (`python3 image/emulator/start.py --images taku-emu --avd-home ~/.taku-avd --name TakuOS_1_4_0 --port 5580` from a [taku-os](https://github.com/Taku-OS/taku-os) checkout). - Check `verification` in the device's metadata JSON (`firstInstallFromStockVerified` and `nativeUpdateAndRebootVerified`) and report per-build verification status truthfully rather than labeling unverified paths verified. - Full system builds and custom component compilation in [taku-os](https://github.com/Taku-OS/taku-os) are separate developer workflows and are not prerequisites for installing prebuilt images. --- # Runtime environments and devices Separate emulator tests, physical-device verification on supported devices, and full ROM release status. > Taku OS research preview. Availability varies by device and version; see current progress. Use this page to distinguish development on a computer, emulator experiments and physical-device adaptation. For a first attempt, choose your access path under [Installation paths](https://docs.taku.ai/os/install/overview/). This is an environment comparison, not purchase advice or a device-support promise. The **development host** is the computer running Git, Node and build tools. The **development device** is the Android emulator or phone the commands operate on. An AVD is an Android Virtual Device; a ROM is a complete system image for a target device. Matching CPU architecture or Android version does not establish that the same image will work. | Environment | Appropriate current use | Continue | | --- | --- | --- | | Development computer with a clone of the system source | Offline SDK checks; component builds once the toolchain is installed | [Quickstart](https://docs.taku.ai/os/guides/getting-started/), [Component builds](https://docs.taku.ai/os/install/build/) | | AgentOS_ImageCheck ARM64 emulator | Experiments within the recorded Android 16/API 36/userdebug scope; must already be provisioned | [Connect an emulator](https://docs.taku.ai/os/install/emulator/) | | Phone with a published image (currently Pixel 9 / tokay 12GB/256GB) | Install or update, then bounded physical-device verification of boot, model, commands and recovery | [Supported devices](https://docs.taku.ai/os/install/devices/) | | Other phones | No published image; needs device adaptation, not tested | [Device adaptation](https://docs.taku.ai/os/platforms/devices/) | | Public stable ROM / production OTA | Not released | [Versions and updates](https://docs.taku.ai/os/releases/overview/) | A published phone image and later component tests do not mean that the latest source has become a complete ROM, or that the latest emulator features passed on a phone. Check the version-specific [current progress](https://docs.taku.ai/os/releases/current-progress/). ## [First environment check](https://docs.taku.ai/os/platforms/overview/#first-environment-check) Run these checks in a **computer terminal** only when you already have a running development device. Public readers can skip them. The computer needs `adb` from platform-tools. ``` adb devices ``` Read the serial from the intended row with state `device`, then replace every `emulator-5582` below: ``` adb -s emulator-5582 shell getprop ro.build.version.sdk adb -s emulator-5582 shell getprop ro.product.cpu.abi adb -s emulator-5582 shell id ``` **Expected result:** Android API level, ABI (processor interface) and UID (executing user identity). Record actual values; similar names are not a substitute. If the device is offline, use [Connection troubleshooting](https://docs.taku.ai/os/help/connection/). For the full check, follow [Connect a development emulator](https://docs.taku.ai/os/install/emulator/). ## [Failures and device engineering](https://docs.taku.ai/os/platforms/overview/#failures-and-device-engineering) An emulator `system.img` cannot be flashed directly onto a phone. A phone also needs unit-specific OEM unlock eligibility, matching firmware, a boot stack, kernel/vendor components (the kernel and manufacturer drivers), partitions and recovery. These require device adaptation; compiling an APK does not provide them. **Next:** after environment checks, continue to [Configuration](https://docs.taku.ai/os/configuration/overview/). To test an existing App, use [App compatibility checks](https://docs.taku.ai/os/platforms/apps/) and the [integration directory](https://docs.taku.ai/os/integrations/overview/). For replacing existing components, read [Update and recovery](https://docs.taku.ai/os/install/update-recovery/). --- # System source, images, and device adaptation What the repository contains, which devices have been tested and what it takes to bring Taku OS to another phone. > Taku OS research preview. Availability varies by device and version; see current progress. This page is for device adaptation and image engineering. For a first API call or an environment that is already set up, go to [Ways to try Taku OS](https://docs.taku.ai/os/install/overview/). ## [What you have](https://docs.taku.ai/os/platforms/devices/#what-you-have) The `taku-os` repository stores the project's source, build configuration and specifications. Upstream Android source is selected through pinned configuration and is not copied into the repository. | What you have | What it is | What to do next | | --- | --- | --- | | Source checkout | Code and build inputs | [Verify or build components](https://docs.taku.ai/os/install/build/) | | APK or JAR component | One app or service | Check it matches your environment, then see [update scope](https://docs.taku.ai/os/install/update-recovery/) | | Device ROM | System images with one device's partitions and hardware integration | Check the model, firmware and build ID, and find the installation and recovery instructions for that version | Devices with a published image are listed in [Supported devices](https://docs.taku.ai/os/install/devices/); see also [Devices](https://docs.taku.ai/os/platforms/devices/#devices). The current version is in [Versions and releases](https://docs.taku.ai/os/releases/overview/). ## [Record your source and build components](https://docs.taku.ai/os/platforms/devices/#record-your-source-and-build-components) > **Requires the system source:** The commands in this section run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Record your checkout: ``` git rev-parse HEAD ``` To validate and build components, prepare the [component toolchain](https://docs.taku.ai/os/install/build/), then run: ``` npm run verify npm run build:android ``` **Expected result:** a commit hash and the component outputs. These commands build components, not a ROM. A full Pixel 9 image is built with `python3 scripts/pixel9-image.py start`. The same script has `status`, `logs`, `resume`, `verify` and `export` commands and an incremental rebuild. It needs the project's prepared Linux and Docker environment and build inputs, so it does not run on an arbitrary computer. Read the image engineering instructions for your source revision first. ## [Bring Taku OS to another device](https://docs.taku.ai/os/platforms/devices/#bring-taku-os-to-another-device) Three terms come up throughout. A **device manifest** selects the source repositories. **Kernel and vendor** supply the kernel and the manufacturer's components. The **BSP** is the board-specific hardware support. All three must match the actual device. 1. Choose a model that can be unlocked and has clear driver and maintenance paths. 2. Pin the Android branch, device configuration, kernel, vendor and security-patch baseline. 3. Integrate the Taku OS modules into the right partitions, init, signing and permissions configuration. 4. Cold-boot a clean image and check package identity, the system task service, the independent display and user-data isolation. 5. On the physical device, check ordinary apps, input and frames, media, power, networking and your chosen scenarios end to end. 6. Then set up production signing, flashing instructions, update and recovery, and release validation. An emulator result does not carry over to a phone in these areas: emulator-specific DNS, ARM64 musl tools, system signing and userdebug root. Component APKs contain no baseband or vendor drivers. An emulator `system.img` cannot be flashed onto a phone. Each device needs its own boot stack, kernel, vendor, partition configuration and signing. Google's Android Flash Tool flashes images and does not produce or verify a Taku OS image. ## [Devices](https://docs.taku.ai/os/platforms/devices/#devices) Taku OS 1.4.0 (`20261118070714`) targets Pixel 9 (`tokay`, 12GB / 256GB), with per-build verification status recorded in [`tokay-20261118070714.json`](https://docs.taku.ai/downloads/tokay-20261118070714.json), and publishes an open-source ARM64 emulator archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)) for Apple Silicon Macs and ARM64 Linux KVM hosts. Preview builds are `userdebug` images signed with public AOSP development keys (`test-keys`) for unlocked bootloaders — **never re-lock the bootloader (`fastboot flashing lock`)** after installing a preview build. Other phones have no published image. A device on the [LineageOS device list](https://wiki.lineageos.org/devices/) is a practical starting point for adaptation, but it still needs its own image built with the steps above, and that image must be tested on the device before it is listed in [Supported devices](https://docs.taku.ai/os/install/devices/). ### [Check the actual unit](https://docs.taku.ai/os/platforms/devices/#check-the-actual-unit) A model that can be unlocked in general may be locked on your unit. Check OEM unlocking, the carrier or sales variant, the current firmware and the bootloader state on the device itself, and the firmware the upstream installation guide requires. ### [Sources](https://docs.taku.ai/os/platforms/devices/#sources) - [Pixel 9 / tokay.yml](https://github.com/LineageOS/lineage_wiki/blob/a91f6dce21a178e6a2f1cd935d3b115283919b7b/_data/devices/tokay.yml) on the LineageOS Wiki - [Google Android Flash Tool](https://flash.android.com/) and its [prerequisites](https://source.android.com/docs/setup/test/flash) --- # Connect a development emulator Specify the serial, Android version, and permissions; start with read-only checks. > Taku OS research preview. Availability varies by device and version; see current progress. Check that a Taku OS emulator is reachable, which identity it provides, and whether the required programs exist. Then continue to connection configuration and task experiments. On an Apple Silicon Mac (M1+) or ARM64 Linux host with KVM, you can download the published open-source ARM64 emulator archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)) and start it in an isolated AVD directory with `python3 image/emulator/start.py --images taku-emu --avd-home ~/.taku-avd --name TakuOS_1_4_0 --port 5580` from [taku-os](https://github.com/Taku-OS/taku-os). Do not flash the Pixel 9 phone packages from [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) to an emulator. Requires the system source The SDK commands under “Read back capabilities” and the keyboard script run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Prerequisites](https://docs.taku.ai/os/install/emulator/#prerequisites) - A running Taku OS AVD (Android Virtual Device). Without one, you can still complete the [offline SDK check](https://docs.taku.ai/os/guides/getting-started/) with the system source. - Android SDK platform-tools installed on your computer, with `adb` available in the terminal. - The system source. Run SDK commands from the computer's `taku-os` root and all `adb` commands in the computer terminal. A standard Google Play AVD does not include Taku OS services or `/system_ext` modules and cannot use a phone OTA. If you do not have a configured Taku development AVD, start with offline SDK development; starting an ordinary AVD is not a successful Taku OS installation. ## [Connect and verify](https://docs.taku.ai/os/install/emulator/#connect-and-verify) ### [Confirm the device](https://docs.taku.ai/os/install/emulator/#confirm-the-device) ``` adb devices ``` Check that the intended row has state `device` and record its first-column serial. Replace every `emulator-5582` below with that value. Keep `-s`, particularly when a USB phone is connected too, so commands cannot automatically select another target. ``` adb -s emulator-5582 shell getprop ro.build.version.sdk adb -s emulator-5582 shell getprop ro.product.cpu.abi adb -s emulator-5582 shell id adb -s emulator-5582 shell getenforce ``` **Expected result:** API level, ABI (processor interface), UID (executing user number) and SELinux state. Record the actual values; do not change privileges or disable SELinux to match historical results. ### [Read back capabilities](https://docs.taku.ai/os/install/emulator/#read-back-capabilities) Run from the system repository root on your computer: ``` node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 node sdk/cli/taku.mjs call displays.status --transport adb --serial emulator-5582 ``` **Expected result:** current device information and display list. The historical baseline is API 36, ARM64, UID 0 and Enforcing; current tests must use actual readback. A display list containing only the main screen does not establish that a background display has started. ### [Check runtime entry points](https://docs.taku.ai/os/install/emulator/#check-runtime-entry-points) ``` adb -s emulator-5582 shell command -v phone-display adb -s emulator-5582 shell command -v codex ``` **Expected result:** an integrated environment returns each program's path. Record any missing entry. `phone-display` manages the independent display; `codex` is the Agent runtime entry point. A path proves the program can be found, not that model authentication or a business task succeeded. ## [Type with your computer keyboard](https://docs.taku.ai/os/install/emulator/#type-with-your-computer-keyboard) A new or copied AVD may keep `hw.keyboard=no`, so keys you type on the computer do not reach Android. Start the AVD with the script in the `taku-os` repository root to turn on the host keyboard: ``` python3 scripts/start-emulator.py --avd YOUR_AVD --port 5590 ``` Replace `YOUR_AVD` with an existing AVD name. The port must be even, unused and between 5554 and 5682; the serial becomes `emulator-5590`. The script sets `hw.keyboard=yes`, saves the original as `config.ini.before-host-keyboard`, then cold-boots with the host GPU and keeps user data. It stops without changes if that AVD or port is already running. To prepare an AVD that is running now, add `--configure-only`, then cold-restart it yourself. The script installs nothing on the device. On a Mac: - In the Android Emulator, holding Command simulates multi-touch. The green dots and line belong to that mode. Release Command, then tap the text field and type. - To paste in Android, press Control+V or long-press the text field and choose Paste. Command+V may not paste. - To send keyboard shortcuts to Android, open **… → Settings → General → Send keyboard shortcuts to** in the emulator and choose the virtual device. - Copying between the computer and the device depends on the emulator's Clipboard Sharing setting. - Typing through a Mac input method, such as pinyin, has not been verified with the host keyboard. To sign in to ChatGPT from your computer's browser instead of typing on the emulator, see [Connect ChatGPT](https://docs.taku.ai/os/models/chatgpt/). ## [Where to stop on failure](https://docs.taku.ai/os/install/emulator/#where-to-stop-on-failure) | Result | Action | | --- | --- | | Target absent, `offline` or `unauthorized` | Stop at the connection check; see [Connection and identity](https://docs.taku.ai/os/help/connection/) | | `adb` is not in PATH | Use the actual executable path as described in [Configuration](https://docs.taku.ai/os/configuration/overview/) | | Readback succeeds but an entry point is missing | Ask the environment maintainer to verify matching-version integration; the SDK does not install the system | | UID or permissions do not meet the selected experiment's prerequisites | Use an emulator that meets them; root does not automatically bypass SELinux, the TEE (trusted execution environment) or App session checks | Global `Enforcing` does not establish production isolation for every development service domain. See [Permission layers](https://docs.taku.ai/os/security/permissions/). **Next:** when the required entry points exist, continue to [Configuration](https://docs.taku.ai/os/configuration/overview/). If model setup is complete and you want to test display behavior, follow [Independent background display](https://docs.taku.ai/os/tools/background-display/). --- # Build Android components Build the module you changed, then verify installation, system permissions, and the complete image separately. > Taku OS research preview. Availability varies by device and version; see current progress. Use this page when changing Android system components: compile source on your computer to obtain APK, JAR and DEX files for later installation and checks. To try the system, choose an available environment under [Installation paths](https://docs.taku.ai/os/install/overview/); compiling first is unnecessary. Requires the system source The commands on this page run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Prerequisites](https://docs.taku.ai/os/install/build/#prerequisites) - Complete the source checks in [Quickstart](https://docs.taku.ai/os/guides/getting-started/). Run the commands in the **`taku-os` repository root on your computer**. - Install Android SDK `platforms;android-36` and `build-tools;36.0.0`, plus JDK 17+, Python 3 and zip. - Find the actual SDK and JDK locations. Replace the `/absolute/path/to/…` placeholders below. The first build may download pinned Markdown dependencies and public AOSP development test signing material. Signing downloads require access to `android.googlesource.com`. Test signing is not a production identity; a warm-cache build does not demonstrate first-time dependency preparation. ## [Build](https://docs.taku.ai/os/install/build/#build) ### [Build the components](https://docs.taku.ai/os/install/build/#build-the-components) Set paths in the current computer terminal, then build all development components: ``` export ANDROID_SDK_ROOT=/absolute/path/to/android-sdk export JAVA_HOME=/absolute/path/to/jdk npm run build:android ``` If you changed one module, select its command below instead. These are alternatives; you do not need to run all of them again after the complete component build: ``` bash system/assistant/build.sh bash system/display/build.sh bash system/overlay/build.sh bash tooling/app-kit/build-shell.sh ``` **Expected result:** the selected command exits successfully and produces files in the corresponding directories. It compiles only; it does not install, start a device or build a complete ROM. ### [Locate and verify the outputs](https://docs.taku.ai/os/install/build/#locate-and-verify-the-outputs) | Artifact path, relative to the system repository | Purpose | | --- | --- | | `system/assistant/out/AgentOSAssistant.apk` | Taku Home and assistant application | | `system/assistant/out/task-broker.jar` | Background task execution and state component | | `system/display/out/virtual-display.jar` | Independent display host | | `system/overlay/out/AgentOSLabSettingsOverlay.apk` | Development-system resource overlay | | `tooling/app-kit/apk-shell/out/dex/classes.dex` | Precompiled shell used to package React/WebView apps | An APK is an Android application package; JAR/DEX files contain runtime code and cannot all be installed by opening them as ordinary Apps. Record the source version and build result so later checks can identify these artifacts. ## [A complete ROM rebuild is not needed for every change](https://docs.taku.ai/os/install/build/#a-complete-rom-rebuild-is-not-needed-for-every-change) | Change | Continue with | | --- | --- | | Phone-side JSX app or experimental business module | [App generation](https://docs.taku.ai/os/tools/app-generation/) using the provisioned phone toolchain | | Java system component | Build that component, then check it using installation instructions for the matching development-device version | | init, SELinux, platform signing or system partition | [Device image engineering](https://docs.taku.ai/os/platforms/devices/) | ## [Build failure or no installation path](https://docs.taku.ai/os/install/build/#build-failure-or-no-installation-path) - SDK/JDK missing or mismatched: check installed tools and paths before investigating the device. - Download or checksum failure: retain the error and check the dependency source and network. Do not bypass validation with personal caches or unknown signing material. - APK produced but no matching development environment: stop here. Assistant installation scripts target specific experimental AVDs, not arbitrary phones. A valid platform signature does not prove that system UID, roles or services are configured. The full Pixel 9 entry point is `scripts/pixel9-image.py`; these commands do not invoke it. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for the current complete-ROM status. **Next:** with a matching environment, [check the connection](https://docs.taku.ai/os/install/emulator/), then prepare version records and a recovery procedure under [Update and recovery](https://docs.taku.ai/os/install/update-recovery/). For system-partition changes, read [Source and images](https://docs.taku.ai/os/platforms/devices/). --- # Update and recover a development environment Record what is installed, update only what changed, then check that recovery works. > Taku OS research preview. Availability varies by device and version; see current progress. This page is for maintaining an **existing Taku OS development environment**. For a first try, start with [Ways to try Taku OS](https://docs.taku.ai/os/install/overview/). There is no general rollback tool, so record the current state before you change anything. Requires the system source The `git` and SDK commands on this page run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Before you start](https://docs.taku.ai/os/install/update-recovery/#before-you-start) - Know the target device, how the current version was installed, what you are replacing and the recovery instructions for that version. - Run the commands from the repository root on your computer, and replace `emulator-5582` with your device's serial. - An incremental update applies only to the exact build it was made from. Compare build IDs, not only product versions. See [Versions and releases](https://docs.taku.ai/os/releases/overview/). - Back up anything you need before you update. ## [Update and verify](https://docs.taku.ai/os/install/update-recovery/#update-and-verify) ### [Record the current state](https://docs.taku.ai/os/install/update-recovery/#record-the-current-state) ``` git rev-parse HEAD adb -s emulator-5582 shell pm path org.agentos.assistant adb -s emulator-5582 shell dumpsys package org.agentos.assistant node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 ``` **Expected result:** the commit of your checkout, the assistant's package path and version, and the system information. `org.agentos.assistant` is the assistant package. Its path shows whether it runs from the system partition or the data partition. Pulling new source does not change the phone. Note which APK, JAR or image you are about to replace. ### [Choose the update scope](https://docs.taku.ai/os/install/update-recovery/#choose-the-update-scope) | What you changed | Smallest update | Check afterwards | | --- | --- | --- | | Application JSX or a business module | The device bundle or that module | Shared UI and API state, failure results | | Home or independent-display Java | The matching APK or JAR | Package identity, service process, native operation | | init, SELinux or the system partition | A new image and a cold boot | Mounts, services, permissions, user-data migration | Install with the instructions for that module and your device's version. If there are none for your device, ask whoever maintains your environment. Instructions for another model or an older build do not carry over. ### [Verify recovery for what you touched](https://docs.taku.ai/os/install/update-recovery/#verify-recovery-for-what-you-touched) Repeat the read-only checks for the affected feature, then test recovery for that service, component or image. If something fails, keep the first error, the version and the logs before restarting anything. Restarting every service hides what went wrong. `phone-display stop` stops the background display host without uninstalling apps or clearing accounts. It can interrupt background UI work in progress. After you start it again, read the display ID again, because it changes. Device-shell steps are in the [operations runbook](https://docs.taku.ai/os/operations/runbook/). ## [After a system update](https://docs.taku.ai/os/install/update-recovery/#after-a-system-update) - **Rebind workspaces.** Existing workspace references are kept but need an explicit rebind. Tasks do not restart on their own. - **An older update hides the built-in app.** If the assistant or Surfaces still runs from the data partition, an earlier update is covering the version built into the system. Ask whoever maintains your environment to remove that update. Do not uninstall the app, clear its data or downgrade it. ## [Signing or data problems](https://docs.taku.ai/os/install/update-recovery/#signing-or-data-problems) On a signature conflict, compare the signer of the installed package with the replacement first. Do not uninstall an app to get past it, since that deletes its data. Test and production signatures differ. Do not share userdata or snapshots: they contain sign-in data. **Next:** keep the failure state as described in [Troubleshooting](https://docs.taku.ai/os/help/troubleshooting/), and record the result of this recovery. --- # Build and update Taku Memory Build Taku Memory from source and update it together with the assistant and Surfaces, keeping existing data. > Taku OS research preview. Availability varies by device and version; see current progress. The Taku OS image includes Taku Memory as a privileged system app in `SYSTEM_EXT/priv-app/TakuMemory/`, so it updates with the system. This page is for developers who build and install components from source on their own. ## [Update three components together](https://docs.taku.ai/os/install/memory-upgrade/#update-three-components-together) Nightly organizing and the assistant's memory tools are implemented in the task service (Broker) inside the system assistant. Build and install these three components from the same commit: ``` bash system/memory/build.sh bash system/assistant/build.sh bash system/surfaces/build.sh ``` If only Taku Memory is updated, the old Broker does not recognize the new organizing request: nightly organizing fails and retries after 30 minutes. Capture, search and per-record analysis keep working. ## [Vector model](https://docs.taku.ai/os/install/memory-upgrade/#vector-model) `system/memory/vector-dependencies.json` pins the ONNX Runtime Android AAR and the quantized bge-small-zh-v1.5 model (about 24 MB) by URL and SHA-256. `build.sh` runs `scripts/prepare-memory-vectors.py` on its first build to download and verify them; run that script once before a ROM build. Release builds must include the vector model. The resulting APK is about 37 MB. ## [Data across updates](https://docs.taku.ai/os/install/memory-upgrade/#data-across-updates) An in-place update keeps Taku Memory's database: records, edit history, settings and organizing results remain. When the vector model changes, vectors for all records and graph nodes are recomputed automatically. Uninstalling Taku Memory deletes its private database. Do not uninstall and reinstall in place of an update. ## [Tests](https://docs.taku.ai/os/install/memory-upgrade/#tests) ``` bash system/memory/build-tests.sh ``` The tests also build a home feed stand-in, `TakuHomeFeedStub.apk`, which takes over the home feed's interface. If you install it for testing, uninstall it afterwards so the real home feed works again. Debug builds (`TAKU_DEBUG_HOOKS=1`) add test hooks such as simulated time and organizing at a given time, callable only by root. Release builds reject them. For building the whole image, see [Component builds](https://docs.taku.ai/os/install/build/). --- # Capability overview Start with a task, choose an entry point, then check permissions and validation scope. > Taku OS research preview. Availability varies by device and version; see current progress. Taku OS connects Android system actions to an on-phone agent: an AI program that carries out tasks. You can read system state, operate existing apps, and write apps or tools. Each entry point has its own implementation status, permissions and device requirements. ## [Choose an entry point](https://docs.taku.ai/os/capabilities/overview/#choose-an-entry-point) ### [Read device, display and task state](https://docs.taku.ai/os/reference/cli/) Discover implemented methods before reading system data. ### [Manage background workspaces](https://docs.taku.ai/os/tools/background-workspaces/) Discover apps, view screens, pause and hand off control; check device and ROM scope. ### [Build an app on the phone](https://docs.taku.ai/os/tools/app-generation/) Verify code preview, the standalone APK and business interfaces separately. ### [Call an app's business interface](https://docs.taku.ai/os/tools/app-interfaces/) Use the same business state from the UI and external calls. ## [What can be called](https://docs.taku.ai/os/capabilities/overview/#what-can-be-called) System actions are also called **primitives**: taking a screenshot, launching an app or reading a calendar. An Android primitive still needs the right access, and completing an action does not establish a complete scenario. | Entry point | How to check availability | | --- | --- | | Shared SDK (a library for programmatic calls) and CLI (command-line tool) | Discover implemented methods with `methods.list`, then read their parameters, results and errors. System-data methods include `system.info`, `displays.status` and `tasks.status`. | | Android APIs, shell commands and system services | Check the specific entry point, execution identity, OS version and device requirements. An SDK does not grant permissions. | | App business interfaces | Confirm the app provides an interface, its service is running, and the result is visible in its UI or a read-only query. | | Complete scenarios | Validate the input source, task lifecycle and final result as well as the individual actions. Design notes do not replace end-to-end verification. | Read the inventory and project progress separately The inventory contains research and test records; it is not a fully implemented SDK. Later Pixel 9 tests have not been incorporated item by item, and component tests do not validate a complete ROM. See [Capability status](https://docs.taku.ai/os/capabilities/status/) and [Available features](https://docs.taku.ai/os/releases/current-progress/). ## [Find system actions](https://docs.taku.ai/os/capabilities/overview/#find-system-actions) This supporting directory groups capability records by purpose. Find capabilities by purpose or action, then check permissions, examples and applicable environments in the generated reference. | Purpose | Access and requirements | Generated references | | --- | --- | --- | | **Read the screen** Screenshots · Camera pictures · Page text CameraManager · MediaProjectionManager · AccessibilityService | Get screen or camera pictures; some apps also provide page text. Understanding pictures also needs image-recognition software. Android provides the primitives; access still depends on permissions, OS and hardware. | - [ADB UI tree and control testing](https://docs.taku.ai/os/reference/generated/ui-tree-shell/) - [Read accessible UI trees from an ordinary app](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/) - [ADB / Root screenshots](https://docs.taku.ai/os/reference/generated/screen-capture-shell/) - [Screen capture without flashing](https://docs.taku.ai/os/reference/generated/screen-capture-public/) - [Ordinary camera preview / real-time understanding](https://docs.taku.ai/os/reference/generated/camera-read/) - [Research: cross-app camera beautification / image-pipeline replacement](https://docs.taku.ai/os/reference/generated/camera-global-filter/) | | **Record and play sound** Record · Understand speech · Control playback AudioRecord · MediaSessionManager · VoiceInteractionService | Microphone, app playback and phone calls need different kinds of access. AI is also needed to understand the sound. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Microphone and voice capture](https://docs.taku.ai/os/reference/generated/audio-microphone/) - [Capture other apps’ playback through ordinary APIs](https://docs.taku.ai/os/reference/generated/audio-playback/) - [Research: both sides of cellular / VoIP audio](https://docs.taku.ai/os/reference/generated/audio-calls/) - [Research: owned-track effects / system-input audio effects](https://docs.taku.ai/os/reference/generated/audio-effects/) - [Media-session state and playback control](https://docs.taku.ai/os/reference/generated/context-media/) - [Research: low-power voice wake-up](https://docs.taku.ai/os/reference/generated/voice-hotword/) - [Default digital assistant and global invocation](https://docs.taku.ai/os/reference/generated/assistant-entry/) | | **Read current information** Notifications · Shared content · Usage records NotificationListenerService · ClipboardManager · UsageStatsManager | Read notifications and shared content when access is allowed. One notification does not give access to an app’s full chat history. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) - [Listen for notification changes](https://docs.taku.ai/os/reference/generated/notifications-listen/) - [Quick-reply through existing notifications](https://docs.taku.ai/os/reference/generated/notifications-reply/) - [Usage information and foreground-app clues](https://docs.taku.ai/os/reference/generated/context-foreground/) - [Foreground clipboard / share entry point](https://docs.taku.ai/os/reference/generated/context-clipboard/) | | **Read location and movement** Location · Motion · Nearby devices LocationManager · SensorManager · BluetoothGatt · UsbManager · VibratorManager | The phone needs the right hardware and permission. Sensors provide measurements; a program must decide whether you are running. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Location and location context](https://docs.taku.ai/os/reference/generated/environment-location/) - [Sensors and activity recognition](https://docs.taku.ai/os/reference/generated/environment-sensors/) - [Bluetooth / local-network device discovery](https://docs.taku.ai/os/reference/generated/environment-nearby/) - [Research: USB peripherals and NFC / HCE](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/) - [Research: network state, VPN, and per-app networking](https://docs.taku.ai/os/reference/generated/network-vpn/) | | **Open and use apps** Open pages · Tap and swipe · Type Intent · AccessibilityService · InputConnection · InputManager | Open an app, tap, swipe or type through available methods. After an action, check that the app actually completed the task. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/) - [Package names, versions, and install locations](https://docs.taku.ai/os/reference/generated/packages-metadata/) - [Targeted taps, swipes, and keys](https://docs.taku.ai/os/reference/generated/input-shell/) - [Semantic actions and gestures without flashing](https://docs.taku.ai/os/reference/generated/input-accessibility/) - [Text input and input-method bridge](https://docs.taku.ai/os/reference/generated/input-text/) | | **Read and save information** Photos and files · Contacts · Calendar MediaStore · DocumentsContract · ContactsContract · CalendarContract | Access depends on permission. Having an app installed does not let other programs read all of its private data. Android provides the primitives; access still depends on permissions, OS and hardware. | - [System SMS and call logs](https://docs.taku.ai/os/reference/generated/data-sms-calllog/) - [Read and write contacts](https://docs.taku.ai/os/reference/generated/data-contacts/) - [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/) - [Photo library and file locations](https://docs.taku.ai/os/reference/generated/data-photos/) - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) - [Research: exporting other apps’ private data](https://docs.taku.ai/os/reference/generated/data-private-files/) - [Research: backup, restoration, and migration](https://docs.taku.ai/os/reference/generated/data-backup/) | | **Change the home screen** Wallpaper · Widgets · Prompts WallpaperManager · WallpaperService · AppWidgetManager · TileService · Settings | Android already supports static wallpapers. Video wallpapers, widget content and smart prompts need the right programs. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Custom home screen, task cards, and traditional-app entry points](https://docs.taku.ai/os/reference/generated/home-launcher/) - [Global assistance layer / floating window](https://docs.taku.ai/os/reference/generated/home-overlay/) - [System settings, brightness, and Do Not Disturb](https://docs.taku.ai/os/reference/generated/settings-control/) - [Runtime permissions, roles, and AppOps configuration](https://docs.taku.ai/os/reference/generated/permissions-manage/) | | **Keep working in the background** Scheduled tasks · Background screen · Progress JobScheduler · AlarmManager · DisplayManager · PowerManager | Schedule tasks for later. Running apps on a separate background screen, showing progress and allowing takeover also need OS support. Android provides the primitives; access still depends on permissions, OS and hardware. | - [Truly independent background display](https://docs.taku.ai/os/reference/generated/display-independent/) - [View and manually target the background display from the main screen](https://docs.taku.ai/os/reference/generated/display-preview/) - [Research: task and multi-window policy changes](https://docs.taku.ai/os/reference/generated/display-window-policy/) - [On-device task execution and state queue](https://docs.taku.ai/os/reference/generated/runtime-broker/) - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) - [Power, WakeLock, and task scheduling](https://docs.taku.ai/os/reference/generated/runtime-power/) - [Query main/background displays through the open SDK](https://docs.taku.ai/os/reference/generated/displays-status/) - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) | | **Create new apps** Write code · Preview · Install · Provide APIs PackageInstaller · WebView · Service | AI can write code. The phone also needs tools to run and build that code into an app. Stock Android does not include the full toolset. Requires a separately prepared on-device app toolchain. | - [Generate, preview, and export standalone APKs on the phone](https://docs.taku.ai/os/reference/generated/apps-generate/) - [Install, update, and remove standalone APKs](https://docs.taku.ai/os/reference/generated/apps-install/) - [Expose generated-app business functions / external calls](https://docs.taku.ai/os/reference/generated/apps-business-api/) - [On-device Codex CLI and low-level shell](https://docs.taku.ai/os/reference/generated/agent-cli/) | | **Check and adjust the phone** Device information · Settings · Connect a computer Build · BatteryManager · ThermalService · UpdateEngine | Some information is easy to read; some settings require greater access. Connecting to a computer also requires a program on that computer. Android provides the primitives; access still depends on permissions, OS and hardware. | - [System version and execution identity](https://docs.taku.ai/os/reference/generated/system-info/) - [Memory and disk overview](https://docs.taku.ai/os/reference/generated/system-resources/) - [System diagnostics and performance tracing](https://docs.taku.ai/os/reference/generated/diagnostics-system/) - [Research: system CPU/GPU/thermal management](https://docs.taku.ai/os/reference/generated/runtime-performance/) - [Research: cross-device agent collaboration](https://docs.taku.ai/os/reference/generated/runtime-cross-device/) - [Research: ROM builds, OTA, and recovery](https://docs.taku.ai/os/reference/generated/release-ota/) | ## [Continue reading](https://docs.taku.ai/os/capabilities/overview/#continue-reading) ### [System, agent and extension roles](https://docs.taku.ai/os/capabilities/layers/) Understand where capabilities come from and when code is needed. ### [Use cases and design notes](https://docs.taku.ai/os/capabilities/cases/) Combine system actions into a task with a result you can check. ### [Capability status and evidence](https://docs.taku.ai/os/capabilities/status/) Filter the canonical inventory by research, emulator and physical-device scope. --- # Your first phone task Read device information and learn to submit, inspect and check an assistant task. > Taku OS research preview. Availability varies by device and version; see current progress. Submit a request from the bottom input on Home, then open the assistant to inspect the conversation and execution. This first task only reads device information so you can check the result directly. Use a prepared Taku OS preview device and a working model connection. See [Ways to try Taku OS](https://docs.taku.ai/os/install/overview/) and the [model directory](https://docs.taku.ai/os/models/overview/). ## [1. Submit a request](https://docs.taku.ai/os/agents/tasks-sessions/#1-submit-a-request) In Home's input or the open assistant, enter: > Read this device's Android version and SELinux state and report the actual values. Only read; do not change settings. The task should start running after submission. Use text for the first request; no image or model switch is needed. ## [2. Inspect the work](https://docs.taku.ai/os/agents/tasks-sessions/#2-inspect-the-work) Open the execution record for this request. Look for a real device query or read-only command and its returned values. An explanation of how to query is not an executed query. Authentication, connection and tool errors should remain explicit failures. ## [3. Check the answer](https://docs.taku.ai/os/agents/tasks-sessions/#3-check-the-answer) The answer should report the actual Android version and SELinux value and match the tool output. A completion label alone does not replace those values. Afterward, ask for a shorter summary or build the same query into your [device-summary tool](https://docs.taku.ai/os/guides/extensions/). ## [Conversation and graphical tasks](https://docs.taku.ai/os/agents/tasks-sessions/#conversation-and-graphical-tasks) The available conversation is where you enter requests, read answers and inspect execution. The graphical workspace under development also belongs to the assistant and displays plans/nodes; it is not a separate product app. The current system image does not include that candidate entry point, and top-icon navigation is still changing. A missing task graph is not a hidden menu you failed to find. Check [Available features](https://docs.taku.ai/os/releases/current-progress/) for version support. ## [Stop or add instructions](https://docs.taku.ai/os/agents/tasks-sessions/#stop-or-add-instructions) Use the task's stop action and wait for its reported outcome. Add changed requirements to the existing task and inspect what the assistant uses next. Viewing a background display does not establish input takeover. See [Task lifecycle](https://docs.taku.ai/os/agents/lifecycle/) for the current stop, pause and recovery behavior. ## [If execution does not start](https://docs.taku.ai/os/agents/tasks-sessions/#if-execution-does-not-start) Check model connection and network, then inspect the first execution error. Model authentication and device-tool permission are different failures; use [Runtime troubleshooting](https://docs.taku.ai/os/help/runtime/). Developers can use the [CLI reference](https://docs.taku.ai/os/reference/cli/) for task metadata and directory permissions later. The first phone task needs no computer-side commands. --- # Use Taku Memory Remember what you see in chosen apps, organize it nightly into a board and a user card, and let Taku speak up and show reminders on the home feed. > Taku OS research preview. Availability varies by device and version; see current progress. **Taku Memory** is a built-in app. It saves the text you see and the notifications you receive in the apps you choose, on the phone. Each night it organizes them into a **board** of what you are busy with and a **user card** with your habits and the people who matter to you. The assistant uses both when it helps you. With **Speak up first** on, Taku also reminds you at bedtime, or when a new notification touches something it remembers; reminders can be handed to the assistant or shown on the home feed. Before you start Capture and search run locally and need no model. Nightly organizing and Speak up first use your model account through Taku AI: set up a [model connection](https://docs.taku.ai/os/models/overview/) first, and allow Taku Memory in **Android Settings → Taku AI**. The app has three tabs: **Memories**, **Suggestions** and **Settings**. Every switch on this page is under **Taku Memory → Settings**. ## [1. Choose the apps to remember](https://docs.taku.ai/os/guides/memory/#1-choose-the-apps-to-remember) ### [Turn on capture](https://docs.taku.ai/os/guides/memory/#turn-on-capture) Under **Settings → Capture**, turn on **Auto capture**, pick source apps in **Apps to remember**, then enable Taku Memory's **Observation service** in Android accessibility settings. Once a page settles, Taku Memory saves its readable text. Screenshots and videos are never stored. Passwords, editable input, the lock screen and protected windows are excluded. ### [Add notifications if you want them](https://docs.taku.ai/os/guides/memory/#add-notifications-if-you-want-them) To remember notifications too, turn on **Read notifications** and grant notification access in Android. Only the title and text of notifications from your chosen apps are read; verification codes, ongoing notifications and protected notifications are skipped. ### [Check the result](https://docs.taku.ai/os/guides/memory/#check-the-result) Use the chosen apps as usual, then go back to **Memories**. New records appear by date with their source app. ## [2. Find, edit and delete](https://docs.taku.ai/os/guides/memory/#2-find-edit-and-delete) Search **Memories** by keyword and combine category and source filters. Open a record; **About this memory** shows its source, time, ID and revision. - **Edit memory** changes the title or text and keeps up to five previous versions, listed in **View edit history**. - **Delete memory** removes the text, its edit history and search results, and takes out what the board and user card drew from it; they are reorganized shortly. The same page is not captured again for 30 days. - **Retention**, under **Settings → Data & preferences**, keeps memories forever by default; you can choose 1, 7 or 30 days instead. ## [3. Nightly organizing: the board and the user card](https://docs.taku.ai/os/guides/memory/#3-nightly-organizing-the-board-and-the-user-card) **Settings → Organizing and assistant → Organize nightly** is on by default. At 11 PM, Taku Memory organizes the day's new content into the board and the user card. If the phone is off, asleep or offline at that hour, it catches up at the next chance; after a failure it waits 30 minutes. To see results right away, tap **Organize now**. - The **board** lists what is **In progress** and what was **Recently finished or on hold**, with the names you and others use for each thing in chats. - The **user card** holds up to 10 of your habits and up to 12 people who matter to you, each with up to 3 notes and key dates, plus plans and deadlines for the next two days. - **What to call you**: the name others use for you, so organizing can tell which messages are yours. - **Organizing model**: the recommended pair (a stronger model for the graph and card, a faster one for the board), the Taku AI memory scene route, or a specific Codex model. Following Taku AI needs a Magpie connection and a model group bound to the memory scene in Taku AI. Settings show which models the last run used and about how many tokens. The organizing model writes the board and the user card in Chinese. Changing the app language changes only the interface; this content is not translated. The user card filters private details. Other people's health conditions, relationships, money and private plans to quit stay off the card. Your own diagnoses, medication, income and accounts are not kept. Long numbers are masked. ### [Change what organizing wrote](https://docs.taku.ai/os/guides/memory/#change-what-organizing-wrote) On the board, use **Remove from board**. On the user card, use **Delete this item**, or **Stop remembering this person** for someone. Deleted items are passed to the organizing model and are not written back later. To start over, choose **Clear board and user card, then reorganize**; more memories use more model quota. Organizing stops, and Settings show why, while Taku AI is paused or Taku Memory's AI permission is off in Taku AI. ## [4. Let the assistant use memory](https://docs.taku.ai/os/guides/memory/#4-let-the-assistant-use-memory) Under **Settings → Analysis & assistance**, turn on **Agent memory access**. When the assistant helps you, it then checks what is in progress on the board, sees only the parts of the user card related to the task, and searches records when it needs the original text. **Assistant uses the board** and **Assistant uses the user card** can each be turned off. See [Use Memory in an assistant task](https://docs.taku.ai/os/agents/memory/). ## [5. Speak up first](https://docs.taku.ai/os/guides/memory/#5-speak-up-first) **Settings → Organizing and assistant → Speak up first** is off by default. Before it turns on, a dialog explains what goes to the model: - **Bedtime brief**: after nightly organizing (8 PM or later, once a night), the user card goes to the organizing model, which writes up to 8 reminders, costliest to miss first. Things that were moved, cancelled or done during the day are included. - **A new notification touches something remembered**: the phone first checks locally whether the notification mentions someone on the user card or a shared code or number, asks about a day that already has plans, or relates to a habit. When the time it proposes overlaps something you must attend, it is marked as a possible clash. Only when that check matches do the notification and the few related memory lines go to the model, which decides whether to say something. Before a reminder is sent, a faster model checks it once and drops reminders that call a deadline a clash or tie unrelated things together. Instruction-like notifications and notifications with links never go to the model. Reminders appear as a system display hint when it is available, otherwise as a notification. **Reminders Taku brought up** on the **Suggestions** tab lists recent ones. There are at most 8 message reminders a day and one model call every two minutes, and the same thing is not repeated within 12 hours. Only notifications trigger reminders; chat lists captured from pages do not. ### [Hand a reminder to the Agent](https://docs.taku.ai/os/guides/memory/#hand-a-reminder-to-the-agent) Reminders in notifications and on the **Suggestions** tab have a **Hand to Agent** button. The assistant then reads the reminder and the memory it was written from, and in a read-only task verifies the situation, suggests what to do or drafts a reply; replies are drafted, never sent. Each reminder can be handed over once, and the result appears in the assistant. ## [6. Show reminders on the home feed](https://docs.taku.ai/os/guides/memory/#6-show-reminders-on-the-home-feed) With Speak up first on and a Taku home with the card feed installed, **Show on the home feed** appears under **Settings → Organizing and assistant**. It is off by default. When it is on, reminders also appear as cards on the home feed: - The **bedtime brief card** pages through what tomorrow needs, 3 items to a page, with **Hide** and **Let Taku plan**. - The **message card** quotes the message and what Taku remembers, tagged when it may clash, with **Open app** and **Draft a reply** or **Ask Taku**. Anything handed to Taku from a card is drafted, never sent. Message cards are taken down after 24 hours and bedtime brief cards at 23:59 the next day; a new night replaces the previous night's card. Cards you remove, and every card Memory published once you turn off **Show on the home feed** or **Speak up first**, are taken down. When the home feed is full, you get only the notification. Memory reads back what you did with each card (removed, pinned, opened the app, handed to Taku) and shows it under the reminder on the **Suggestions** tab as "On the home feed: …". Other apps on the phone can read home feed cards The home feed is currently open to other apps on the phone. Once a message and what Taku remembers are on the feed, other local apps can read them. The switch's description says so too. **Let the home feed's AI design cards**, under **Show on the home feed**, is off by default. When it is on, Memory describes the card's content and buttons and lets the home feed's AI lay it out. Each card takes one more model call and can take a minute or two. If the card changes the buttons or content, or none can be made, the fixed layout is used. Per-record analysis and **Proactive suggestions** have their own switches. See [Per-record analysis and suggestions](https://docs.taku.ai/os/guides/memory-legacy/). ## [If you don't see what you expect](https://docs.taku.ai/os/guides/memory/#if-you-dont-see-what-you-expect) - **No new records**: check **Apps to remember**, that the observation service is connected, and that the screen is unlocked. - **The board and user card stay empty**: check that **Organize nightly** is on, Taku Memory is allowed in Taku AI and the organizing model is available; then tap **Organize now** and read the status in Settings. - **The assistant does not use memory**: check **Agent memory access** and the board and user card switches. - **No reminders arrive**: check that **Speak up first** and **Read notifications** are on, and that the notification comes from a chosen app. - **No cards on the home feed**: check that **Show on the home feed** is on and the installed Taku home has the card feed; when the feed is full, only the notification arrives. For how the data is organized, see [How Memory stores and organizes](https://docs.taku.ai/os/architecture/memory-activity/). --- # Per-record analysis and suggestions Let a model classify each record, offer a next step when it helps, and hand it to the assistant as a read-only task. > Taku OS research preview. Availability varies by device and version; see current progress. Besides nightly organizing, Taku Memory can analyze each new record: classify it as work, life, travel or learning, and offer a next step when it helps, such as drafting a dinner checklist. The switches are under **Settings → Analysis & assistance**, separate from nightly organizing and Speak up first. First choose source apps with [Use Taku Memory](https://docs.taku.ai/os/guides/memory/) and check that **Memories** already has records. | Switch | What it controls | Default | | --- | --- | --- | | Model analysis | Whether queued records go to a model for classification | Off | | Analysis model | Which model classifies; choosing one sends nothing | Follows the Taku AI memory scene | | Agent memory access | Whether the assistant can search records and use the board and user card | Off | | Proactive suggestions | Whether a next step is offered when analysis finds one | On | ### [Choose an analysis model](https://docs.taku.ai/os/guides/memory-legacy/#choose-an-analysis-model) **Analysis model** follows the Taku AI memory scene binding by default; change the binding in [System AI](https://docs.taku.ai/os/models/system-ai/). You can also pick a specific model here, such as the [Jev decision model](https://docs.taku.ai/os/models/jev/). Choosing a model sends nothing. ### [Turn on model analysis](https://docs.taku.ai/os/guides/memory-legacy/#turn-on-model-analysis) Turn on **Model analysis** and confirm. Records first enter a durable queue on the phone. They merge for about 20 seconds, up to 5 per batch, with at most one batch every 15 seconds and 60 an hour. Android background scheduling can add delays. Rate-limited or failed records stay queued for retry. Pausing model analysis keeps the queue, and turning it back on catches up in batches. Pausing capture does not stop analysis that is already on. **Check**: record cards show a category. No suggestion can be a normal result. ### [Accept a suggestion](https://docs.taku.ai/os/guides/memory-legacy/#accept-a-suggestion) When analysis finds a next step, a suggestion appears on the **Suggestions** tab, such as **Draft lunch checklist**, **Prepare event checklist** or **Extract key points**. No task exists until you tap it. Then the assistant reads the record again in a read-only task and drafts the checklist; tap **View Agent result** to read the reply. The task is read-only and carries no screenshot, unsent draft or other credentials. New tasks reply in the interface language you chose. ![The Memories tab in Taku Memory, listing calendar, messaging and route records by date](https://docs.taku.ai/media/tutorials/memory-library-en.png) Emulator screenshot with prepared demo content. ## [Titles on record cards](https://docs.taku.ai/os/guides/memory-legacy/#titles-on-record-cards) Card and detail titles are taken from the saved text: the event name, the meal plan or the route, such as **Calendar → Taku design review (Demo)** or **Alex Chen (Demo) → Saturday lunch · The Hummingbird Cafe**. The app name stays as a smaller source label. Titles are built locally with no model call and never rewrite the captured title or text. **About this memory → Saved title** keeps the original title, and the assistant reads the original text. Titles you edit take precedence. ## [Troubleshooting](https://docs.taku.ai/os/guides/memory-legacy/#troubleshooting) - **No categories**: check that **Model analysis** is on, the analysis queue under **Settings → Data & preferences**, and that Taku Memory is allowed in Taku AI. - **Suggestions stays empty**: check **Proactive suggestions**. Nothing is offered when analysis finds no next step. - **A suggestion shows no result**: wait for the task to finish and open **View Agent result** again; the status shows **Processing**, **Completed** or **Needs your input**. For how the assistant searches records, see [Use Memory in an assistant task](https://docs.taku.ai/os/agents/memory/). --- # Models and system AI Choose a connection and shared defaults, then authorize the Agent, keyboard or Memory. > Taku OS research preview. Availability varies by device and version; see current progress. Choose what you want to connect. The assistant needs a model to answer and use tools. Screen suggestions, keyboard replies, Memory analysis and other apps use the model group bound to their scene in Taku AI. An existing working connection is a good place to begin. Magpie, mentioned throughout this section, is a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS runs it on the phone as part of the system to forward Codex requests to model services. A gateway on the phone does not mean the model runs locally. ## [Responsibilities and entry points](https://docs.taku.ai/os/models/overview/#responsibilities-and-entry-points) | Consumer | Settings and permission | Verification scope | | --- | --- | --- | | Main Agent | Model connection; follows the `assistant` scene binding with Magpie; native conversations and the system task service | ChatGPT verified on a physical device; DeepSeek verified on the emulator, not yet on a physical device | | Scene bindings and app permission | Android Settings → Taku AI; bind each scene to a model group and allow each app separately | Component integration and real ordinary-client generation verified on Pixel 9 | | Keyboard replies | Follows the keyboard scene binding (`ime.vision`) unless overridden; separate capture-source selection | [Physical-device guide and limits](https://docs.taku.ai/os/tools/inputmethod/) | | Memory per-record analysis | Follows the Memory scene binding (`memory.text`) unless overridden; independent Memory switches | [Per-record analysis and suggestions](https://docs.taku.ai/os/guides/memory-legacy/) | | Decision models (Jev) | `jev` scene, chosen from the decision catalog in Jev decision model settings; does not replace the main Agent | Verified on the emulator, not yet on a physical device. See [Decision models and Jev](https://docs.taku.ai/os/models/jev/) | Existing explicit consumer overrides remain. Check the master switch and application permission. Catalog visibility does not establish account eligibility or a successful request with image input. ## [Model and device boundaries](https://docs.taku.ai/os/models/overview/#model-and-device-boundaries) Codex `0.161.0` and on-phone Magpie `0.1.1290` are the runtime versions these pages were verified against. DeepSeek real calls and tools, management-page navigation and physical-device system AI calls were verified separately and cannot substitute for each other. The verified DeepSeek catalog is text-only; image support elsewhere does not change that limit. Route groups pass protocol tests; multi-model failover stress tests are not yet verified. Claude Code, OpenClaw, Hermes and Kimi runtimes remain adaptation research. Fully offline models are not verified either. **Next**: [set shared AI](https://docs.taku.ai/os/models/system-ai/) and complete one [bounded phone task](https://docs.taku.ai/os/agents/tasks-sessions/). See [current progress](https://docs.taku.ai/os/releases/current-progress/) for exact versions and ROM status. --- # Choose models by scene Bind each feature's scene to a model group in Taku AI and authorize apps one by one. > Taku OS research preview. Availability varies by device and version; see current progress. Taku AI provides shared model settings on the device. Each feature uses a scene, and each scene is bound to a model group (`group/`). When a feature follows its scene binding, changing the binding in Taku AI switches that feature to the new group. | Feature | Scene | Where you choose the model | | --- | --- | --- | | Main assistant (with a Magpie connection) | `assistant` | Taku AI → **Main assistant connection**, or the main assistant row under **Scenes** | | [Screen suggestions](https://docs.taku.ai/os/models/screen-suggestions/) | `screen` | The screen analysis row under Taku AI → **Scenes**; needs an image-capable model | | [Jev decisions](https://docs.taku.ai/os/models/jev/) | `jev` | **Jev decision model** settings (Assistant settings, or Taku AI → Assistant and decisions); accepts decision models only | | [Keyboard replies](https://docs.taku.ai/os/tools/inputmethod/) | `ime.vision` | The keyboard vision row under Taku AI → **Scenes**; keyboard settings can override it with a specific model | | Memory analysis | `memory.text` | The Memory analysis row under Taku AI → **Scenes**, bound to `group/taku-memory-jev` by default; Memory settings can override it | | Text translation for voice and video translation | `org.agentos.audio.text` | Taku AI → **Scenes**; while unbound, voice translation reports that text translation is not configured | | [Your own app](https://docs.taku.ai/os/extensions/system-ai/) | `.text`, `.image` | Taku AI → **Scenes** → **Add scene binding** | The device's Taku AI page shows the actual scene list. Other apps can have their own scenes. The device UI currently uses Chinese labels: ``` Model groups = 模型组; Add model group = 添加模型组 Scenes = 场景; Add scene binding = 添加场景绑定 Main assistant = 主助手; Screen analysis = 屏幕分析 Keyboard vision = 输入法看图; Memory analysis = 记忆分析; Jev decisions = Jev 决策 Assistant and decisions = 助手与决策; Main assistant connection = 主助手连接 Jev decision model = Jev 决策模型; Follow system = 跟随系统 ``` Saving or reading a record in Taku Memory does not need model analysis. Configure these settings when a feature will actually generate or analyze content. ## [Before you begin](https://docs.taku.ai/os/models/system-ai/#before-you-begin) Use a prepared Taku OS device with working model access. On the phone, shared settings live in Android Settings → Taku AI. Your own account/service supplies the models; the setting does not provide an account. ### [Open the shared settings page](https://docs.taku.ai/os/models/system-ai/#open-the-shared-settings-page) On the phone, open **Android Settings → Taku AI**, or enter from keyboard or Taku Memory settings. Reuse the existing Magpie service or [ChatGPT connection](https://docs.taku.ai/os/models/chatgpt/) under account and model services. Each app does not need a separate model account. **Expected result**: each entry opens the same page with the same model selections and application permissions. A listed model does not establish a successful generation. ### [Bind the scenes to model groups](https://docs.taku.ai/os/models/system-ai/#bind-the-scenes-to-model-groups) Under **Model groups**, select **Add model group** and list the model IDs you can use. Then select a scene under **Scenes** and choose a group. `screen` and `ime.vision` need an image-capable model. Available choices depend on your actual model catalog and account access. Memory uses its own group, `group/taku-memory-jev`, by default. In the keyboard settings, choose **Follow system** to follow the `ime.vision` binding. In Memory, choose the option that follows Taku AI to use the `memory.text` binding. An explicit model you chose earlier stays as an override until you switch the app back to follow the binding. Change providers, models and groups in Taku AI. Edits made in the Magpie management page can be overwritten by the Taku AI settings. **Expected result**: apps that follow a scene binding use the new group. Old requests become invalid; Memory retains queued records. ### [Allow the applications you need](https://docs.taku.ai/os/models/system-ai/#allow-the-applications-you-need) Enable the system AI master switch and separately allow the keyboard, Memory or Assistant. An ordinary new app is registered on its first settings read and starts disabled. Allow it here before generating. Memory still controls capture, model analysis, Agent queries and proactive suggestions separately. AI permission does not enable those switches or give ordinary apps memory access or screenshot capture. ### [Run one bounded check](https://docs.taku.ai/os/models/system-ai/#run-one-bounded-check) Use the [keyboard guide](https://docs.taku.ai/os/tools/inputmethod/) to generate candidates on a synthetic chat, or [per-record analysis](https://docs.taku.ai/os/guides/memory-legacy/) to classify one permitted record. Inspect the actual result and Taku AI call status. A request can incur model-service usage. **Expected result**: the selected model returns the result. Revoking that app's permission rejects new calls; disabling the master switch prevents new requests from starting. ## [Read the bindings from a shell](https://docs.taku.ai/os/models/system-ai/#read-the-bindings-from-a-shell) The bindings and groups are stored in Android `Settings.Global`. Taku AI reads and writes the same values. Read them before you report or change a binding: ``` adb shell settings get global taku_magpie_scene_bindings adb shell settings get global taku_magpie_groups ``` Scene bindings are a JSON object that maps a scene ID to `group/`. A `settings put` replaces the whole value, so keep every other entry when you write one. Do not edit these keys from two places at once, and read the value again after writing. Never put keys, tokens or headers in `Settings.Global`: other apps can read it. ## [Troubleshooting](https://docs.taku.ai/os/models/system-ai/#troubleshooting) | Symptom | First check | | --- | --- | | Model is listed but generation fails | Check actual service authorization, connectivity, image capability and call status | | One app still uses an old model | Check its explicit override, whether it follows the scene binding, and the scene's group in Taku AI | | App is denied | Allow that app in Taku AI, check the master switch, then make a fresh request | | Memory does not capture | Check its capture switch, selected sources and observation-service permission | | App asks you to bind its scene first | Choose a model group for its scene under Taku AI → Scenes | | Development deployment fails after reboot | Temporary runtime mounts do not survive a device reboot; deploy again or use a system image that includes these components | Recent call records contain only consumer, model, time, duration, status and fixed error categories. They do not retain prompts, images or replies. Credentials stay in the existing private Magpie / Codex storage. **Next**: integrate your own Android app through the [system AI client](https://docs.taku.ai/os/extensions/system-ai/). --- # Connect ChatGPT for the first time Authorize the on-device Codex account, confirm the connection, and run a first task. > Taku OS research preview. Availability varies by device and version; see current progress. Use your own ChatGPT account with Codex running inside a prepared Taku OS device. You do not need a computer terminal for the login UI. First confirm the integrated components with [Environment checks](https://docs.taku.ai/os/guides/environment/). For DeepSeek, follow the [Magpie tutorial](https://docs.taku.ai/os/models/magpie-deepseek/) directly. Device-code availability and model access depend on account and workspace permissions. Official guidance requires enabling device-code login in personal security settings or workspace admin permissions. See [OpenAI authentication](https://learn.chatgpt.com/docs/auth#preferred-device-code-authentication-beta), checked 2026-10-21. ## [Connect and verify](https://docs.taku.ai/os/models/chatgpt/#connect-and-verify) The current Android UI uses Chinese labels. Use this mapping while following the steps: ``` 账户与连接 = Account and connection (older UI: ChatGPT 账户) 模型连接 → ChatGPT 登录 = Model connection → ChatGPT sign-in 用 ChatGPT 登录 = Sign in with ChatGPT 打开官方授权页 = Open official authorization page 刷新连接状态 = Refresh connection status 账户已连接 = Account connected 使用浏览器授权 = Use browser authorization 取消本次登录 = Cancel this login ``` ### [Open the account page](https://docs.taku.ai/os/models/chatgpt/#open-the-account-page) Open Taku assistant settings and choose Account and connection. Older builds call it ChatGPT account. If Magpie is active, wait for the task and queue to become idle, select ChatGPT sign-in under Model connection, and open the account page. If Account connected is already shown, proceed to the text check. The assistant reads the actual Codex account state; a browser success page alone is insufficient. ### [Start device-code sign-in](https://docs.taku.ai/os/models/chatgpt/#start-device-code-sign-in) Select Sign in with ChatGPT. Wait for the one-time code and Open official authorization page. Sign in on that official page and enter the current code. If this device has no browser, open the displayed official address on another device and enter the code there. Complete authorization only on `auth.openai.com` or `chatgpt.com`. Taku does not receive your password. Do not screenshot the challenge or share it in chat or logs; this guide includes no valid example code. ### [Return and confirm](https://docs.taku.ai/os/models/chatgpt/#return-and-confirm) Return to the Taku account page and wait for its refresh, or select Refresh connection status. Continue only after Account connected appears. Waiting for authorization and Connecting are intermediate states. If device-code sign-in is unavailable, cancel that attempt and select Use browser authorization, then Open official authorization page. The browser callback must reach this device. If the webpage completes but Taku remains disconnected, use the troubleshooting table below. Copying a desktop auth cache does not authorize the device. ### [Check text and a real tool](https://docs.taku.ai/os/models/chatgpt/#check-text-and-a-real-tool) Return to the conversation and send: “Tell me in one sentence that you are ready.” Verify an actual response without an authentication error. This uses your model service; account connection alone does not prove inference access for that request. Then follow [Your first task](https://docs.taku.ai/os/agents/tasks-sessions/) to request actual device information. Expand the tool item and compare its result. Text inference, device-tool completion and restart recovery are separate checks; a model name does not establish all three. ## [Sign in from your computer on an emulator](https://docs.taku.ai/os/models/chatgpt/#sign-in-from-your-computer-on-an-emulator) On an emulator, you can finish browser authorization in a browser on the same computer, so you do not type your password with the emulator keyboard. Select Use browser authorization, then open the authorization URL that this device just generated. A normal ChatGPT web sign-in does not connect the device. If the URL's `redirect_uri` is `http://127.0.0.1:1455/auth/callback`, forward the callback port to that emulator first. Replace `emulator-5590` with your serial: ``` adb -s emulator-5590 forward --no-rebind tcp:1455 tcp:1455 # After you finish or cancel, remove the forward: adb -s emulator-5590 forward --remove tcp:1455 ``` Do not restart the device while the forward is in place. If port 1455 is already in use, stop and check what holds it; do not take over another sign-in. Enter your password and verification code only on the official page. The authorization link is for this local sign-in only: keep it out of screenshots, chat, logs and repositories. ## [Cancel, expire and retry](https://docs.taku.ai/os/models/chatgpt/#cancel-expire-and-retry) | Symptom | Action and success condition | | --- | --- | | You want to stop authorization | Select Cancel this login; its code and URL are cleared. This is not an account sign-out operation | | Code expired or rejected | Cancel the old request and start again; use only the newly issued challenge | | Device-code login unavailable | Check personal or workspace permissions, or try browser authorization; account availability varies | | Browser succeeded, Taku still waiting | Return and refresh; inspect device networking and the callback. Require Account connected | | Connected but a task fails | Keep the error summary and separate model access, network and tool failures using [Runtime troubleshooting](https://docs.taku.ai/os/help/runtime/) | After the first request succeeds, try [Skills](https://docs.taku.ai/os/extensions/skills/) or another [model connection](https://docs.taku.ai/os/models/overview/). Program paths and read-only diagnostics remain in the [Codex runtime reference](https://docs.taku.ai/os/models/codex/). ## [Authorization verification scope](https://docs.taku.ai/os/models/chatgpt/#authorization-verification-scope) This table describes what has been verified on the authorization path. For current system availability, see [Current progress](https://docs.taku.ai/os/releases/current-progress/). | Environment | Verified | Tutorial boundary | | --- | --- | --- | | Emulator | Real Codex model requests, the native account UI and the optional ChatGPT connection | Device-code and browser instructions follow the implementation; fresh authorization is not covered for every account | | Physical device | Real model requests and restart recovery on Pixel 9 with an existing account | That component update kept the account, so fresh-device login is not verified | | Complete ROM | Earlier build boot and later component tests | First account authorization on a complete ROM is not verified | --- # Use DeepSeek inside Taku OS Configure DeepSeek through on-device Codex and Magpie, then verify text replies and real phone tools. > Taku OS research preview. Availability varies by device and version; see current progress. Connect your DeepSeek service in the Taku assistant, then send a text request and inspect its result. The on-phone connector is Magpie, a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS runs it on the phone as part of the system to forward Codex requests to model services, while the existing assistant handles conversation and tools. A gateway on the phone does not mean the model runs locally; DeepSeek inference stays online. Check the [prepared environment](https://docs.taku.ai/os/guides/environment/) before setup. ![Codex and Magpie run on Android; DeepSeek inference is online](https://docs.taku.ai/media/diagrams/model-chain.en.svg) Explanatory flow; verification scope follows the environments stated in this article. ## [Where the components run](https://docs.taku.ai/os/models/magpie-deepseek/#where-the-components-run) ``` Taku OS native assistant → on-device Codex App Server → on-device Magpie gateway → DeepSeek online API → Codex calls a device tool; results return to the native conversation ``` - **Codex** manages conversations and turns, executes tools, and stops tasks. - **Magpie** manages model services and routing groups, translating and forwarding model requests. - **DeepSeek** generates replies and tool-call requests online. Codex and Magpie both run inside Android. The connection works without a MacBook model relay or a desktop Magpie process. Programs using the [SDK directly](https://docs.taku.ai/os/guides/extensions/) can run independently of this model connection. ## [Prerequisites and verification status](https://docs.taku.ai/os/models/magpie-deepseek/#prerequisites-and-verification-status) You need a Taku OS preview environment with Home, the assistant, the system task service, Codex, and Magpie integrated, network access from that device, and your own authorization for the DeepSeek API service. The interface steps below run on the device and do not require ADB. Start with [installation choices](https://docs.taku.ai/os/install/overview/) if you do not have the preview environment. | Scope | Verification result | | --- | --- | | Emulator | Codex 0.161.0 → Magpie 0.1.1290 → DeepSeek real conversation and device tool are verified, as are management-page return and session/draft restoration. This is the verified path for this tutorial; check your own account and device with the calls below | | Phone | Real Codex models, commands, and restart recovery are verified on Pixel 9. The complete Magpie + DeepSeek path is not yet verified on a physical device; the Codex result does not extend to it | | ROM | Taku OS 1.0 on Pixel includes Magpie and its runtime, with real model calls checked. The full DeepSeek setup on this page has not been re-verified on a ROM. See [Progress](https://docs.taku.ai/os/releases/current-progress/). | Versions and model capabilities Verification used an Android 16 / API 36 / ARM64 emulator. The DeepSeek catalog at that time was text-only; remove images and screenshots for your first task. ## [Configure DeepSeek and make your first call](https://docs.taku.ai/os/models/magpie-deepseek/#configure-deepseek-and-make-your-first-call) ### [Open model connections](https://docs.taku.ai/os/models/magpie-deepseek/#open-model-connections) In the Taku assistant, open **Settings → Model connections**. The page contains **ChatGPT sign-in**, the local gateway's model/routing-group list, **Manage models and routing**, and **Refresh model services**. For the current Chinese device interface, match these labels: ``` Settings → Model connections 设置 → 模型连接 ChatGPT sign-in ChatGPT 登录 Manage models and routing 管理模型与路由 Refresh model services 刷新模型服务 Current: local Magpie 当前:本地 Magpie ``` An empty model list is an expected first-use state; add your service next. If Magpie is missing or unavailable, resolve the component issue with [runtime troubleshooting](https://docs.taku.ai/os/help/runtime/) before continuing. ### [Add DeepSeek on the device](https://docs.taku.ai/os/models/magpie-deepseek/#add-deepseek-on-the-device) Select **Manage models and routing**. In the local Magpie management page, add a DeepSeek API service using its DeepSeek preset, enter your own API key, and save. | Setting | Value used in this tutorial | | --- | --- | | Service | Official DeepSeek API; prefer Magpie's DeepSeek preset | | API base URL | Official OpenAI-compatible base `https://api.deepseek.com`; the preset manages this when used | | API key | A valid key from your DeepSeek API account, entered only in the on-device management page | | Upstream model ID | Verification used `deepseek-flash`; use the models actually available to your account | See the [DeepSeek API documentation](https://api-docs.deepseek.com/) for the official address and key entry point. DeepSeek manages API authorization. Configure this separately from the Taku OS ChatGPT sign-in. Magpie exposes models as “service ID/model ID.” With service ID `deepseek`, the catalog ID is `deepseek/deepseek-flash`, displayed during verification as `DeepSeek-V4.1-Flash · DeepSeek`. If your service has another ID, select the corresponding entry returned in your catalog. **This step is complete when** the service is saved and the model is exposed in Magpie's catalog. A real model request has not been verified yet. Source code, APKs, and generic images do not include your API key or signed-in account. ### [Return to Taku and select the model](https://docs.taku.ai/os/models/magpie-deepseek/#return-to-taku-and-select-the-model) Use Android's system Back action to leave the management page. The assistant returns to **Model connections** for the current conversation and refreshes the catalog. Select **Refresh model services** if needed. Under the local gateway's default model or routing group, select the DeepSeek model you just configured. Confirm the status reads **Current: local Magpie**, then return to the conversation. Conversation history, drafts, and attachments are retained; the next turn uses the new selection. If switching is blocked by running or queued work, finish or stop the active task and check that no queued task remains before switching. ### [Verify a text reply first](https://docs.taku.ai/os/models/magpie-deepseek/#verify-a-text-reply-first) Send a short request with no image attached: ``` Reply with only “Connection successful.” ``` An actual reply, a completed turn, and no authentication or network error establish this model call for your service. A name appearing in the picker only establishes that the catalog can be read. ### [Verify a real device tool](https://docs.taku.ai/os/models/magpie-deepseek/#verify-a-real-device-tool) Send a read-only request: ``` Use the device information tool to read the current Android version and device model. Answer from the tool result. Only query; do not change settings. ``` Expand the conversation's execution log. Check that `taku_phone.device_info` actually completed and its values match your device. The emulator returns Android 16 and an ARM64 emulator model; those are that device's values, not an answer to copy for every device. **Success requires** an actual model reply, a completed tool item, and matching device data. A claim of completion, or a text reply without a tool record, does not establish device execution. Continue with [your first task](https://docs.taku.ai/os/agents/tasks-sessions/) for more result checks. ## [Switching connections and using routing groups](https://docs.taku.ai/os/models/magpie-deepseek/#switching-connections-and-using-routing-groups) To return to the other connection, wait until idle and open **Settings → Model connections → ChatGPT sign-in**. Existing ChatGPT authorization remains in its original location and must still be valid. Both connections share native conversations and tools; model and reasoning-effort preferences are saved separately for each connection. For a routing group, combine already configured models in Magpie's management page, return to the assistant, refresh, and select the group returned by the catalog. Routing groups are integrated and pass protocol tests. Multi-model failover stress tests and long sessions are not yet verified. Complete the single-model text and tool checks above before configuring a group. ## [The same gateway can manage Jev](https://docs.taku.ai/os/models/magpie-deepseek/#the-same-gateway-can-manage-jev) Decision models are also called through on-phone Magpie and reuse service and credential management. Select one separately in **Assistant settings → Jev decision model**. It decides whether to show a hint; after you accept, the original Codex Agent executes the task. See [Decision models and Jev](https://docs.taku.ai/os/models/jev/). This does not change this page's DeepSeek scope or add screenshot support to a text-only model. ## [Common problems](https://docs.taku.ai/os/models/magpie-deepseek/#common-problems) | Symptom | What to check next | | --- | --- | | Gateway ready, but no models | Save an API service and expose the required model, then refresh in the assistant | | Local Magpie temporarily unavailable | Check the on-device Magpie component and service; catalog reads use the device's loopback address | | Model selectable, but authentication fails on send | Check the DeepSeek service's API key and account permission; ChatGPT authorization does not authorize this API | | Network or certificate error after send | Check Android's own network path to DeepSeek and the runtime CA; the computer's network alone is insufficient | | Image or screenshot rejected | The verified catalog is text-only; keep the draft and remove the attachment or select a model that actually supports images | | Connection switch blocked | Finish or stop active work, check queued tasks, and retry while idle | | Leaving management does not return to connections | Check the assistant version; older assistants lack automatic return and draft recovery. You can also return manually and select **Refresh model services** | | Text works, but a device tool fails | Read the actual tool error and device permissions; follow [runtime troubleshooting](https://docs.taku.ai/os/help/runtime/) | ## [Optional read-only developer checks](https://docs.taku.ai/os/models/magpie-deepseek/#optional-read-only-developer-checks) Run these in a **computer terminal**. First use `adb devices -l` to identify an authorized target listed as `device`, then replace `emulator-5634` with its serial: ``` adb devices -l adb -s emulator-5634 shell /system_ext/bin/codex --version adb -s emulator-5634 shell /system_ext/bin/magpie --version adb -s emulator-5634 shell getprop init.svc.taku_magpie ``` The versions verified for this page were Codex `0.161.0` and Magpie `0.1.1290`; your device may differ. The service should report `running`. Version and process checks establish local components, not a working API or tool call. If components are missing, see [Codex device setup](https://docs.taku.ai/os/models/codex/) and [emulator preparation](https://docs.taku.ai/os/install/emulator/). ## [Implementation and references](https://docs.taku.ai/os/models/magpie-deepseek/#implementation-and-references) Protocol checks used an explicitly simulated model upstream. Actual DeepSeek conversation and device-tool execution were verified separately against the real service. Android adaptation for Bun plugins and subscription sign-in is not yet verified. - [Magpie 0.1.1290 upstream reference](https://github.com/yetone/magpie/blob/v0.1.1290/docs/reference.md) See [current progress](https://docs.taku.ai/os/releases/current-progress/) for other device scopes. --- # Generate suggestions from the original screen image Explicitly request screen help, review the suggestion, then hand it to the existing Agent. > Taku OS research preview. Availability varies by device and version; see current progress. On an integrated phone, invoke the system assistant by holding the power button, then choose **Screen suggestions**. This explicit request sends the invocation's original image directly to the image model bound to the `screen` (screen analysis) scene. It does not require Jev first. ## [Distinguish the two paths](https://docs.taku.ai/os/models/screen-suggestions/#distinguish-the-two-paths) | Path | Flow | Verification scope | | --- | --- | --- | | Explicit screen request | Image → `screen` scene model → suggestion → you accept → fresh native Agent conversation and one system task | Real image-model and Agent replies verified on a physical Pixel 9 / Android 17 | | Automatic decision entry | Image → decision model in the `jev` scene → same image to the `screen` scene model → suggestion → you accept → Agent | Implemented in code; continuous physical-device background triggering and real Jev image decisions are not yet verified | Neither path performs OCR, transcription or screenshot-to-text preprocessing. Memory text is not an intermediate input. See [Decision models and Jev](https://docs.taku.ai/os/models/jev/) to configure a decision model. ### [Prepare capture and model permission](https://docs.taku.ai/os/models/screen-suggestions/#prepare-capture-and-model-permission) Use the matching Assistant, system task service, on-phone Magpie and a working image model. In [Taku AI](https://docs.taku.ai/os/models/system-ai/), allow the Assistant and, under **Scenes**, bind screen analysis (`screen`) to a group with an image-capable model. Enable the Assistant option to attach the main-screen capture when sending. ### [Invoke again from the target page](https://docs.taku.ai/os/models/screen-suggestions/#invoke-again-from-the-target-page) Return to the desired page, invoke through the system assistant entry and request screen suggestions. The image belongs to this invocation. Missing capture fails explicitly; this does not bypass Android background screen-access restrictions. **Expected result**: the suggestion relates to the visible page without inventing places, dates or budgets. The image goes to your selected model service; first decide whether the page is appropriate to share with it. ### [Decide whether to hand off](https://docs.taku.ai/os/models/screen-suggestions/#decide-whether-to-hand-off) Review and accept or ignore the suggestion. It remains in memory for at most two minutes. Changes to the image model, permission or configuration revision require regeneration. **Expected result**: no Agent task before you accept; afterward, one task in a fresh conversation carries the image and suggestion. The unrelated original draft remains intact. ### [Verify the follow-up](https://docs.taku.ai/os/models/screen-suggestions/#verify-the-follow-up) The Agent uses the original system task service, tools and native conversations. It should ask about missing conditions. A hint does not authorize sending group messages, booking or payment. Judge completion from actual tool and business state. ## [What is verified on a physical device](https://docs.taku.ai/os/models/screen-suggestions/#what-is-verified-on-a-physical-device) On a Pixel 9 / Android 17, a genuine group-chat image passed through on-phone Magpie and an image model to produce a dining suggestion. After you accept, the real Agent read the image and asked for missing location and time details. Tasks handed off from this entry have not been verified through the full map-and-review continuation. Double-power invocation, continuous background observation, the new revision on an emulator and a complete ROM are also not yet verified. ## [Troubleshooting](https://docs.taku.ai/os/models/screen-suggestions/#troubleshooting) For missing images, check capture settings and invoke through the system again from the target page. For missing suggestions, check the master switch, Assistant permission, the model bound to `screen` and returned content. Do not route through a text transcript to work around an image failure. The automatic path also needs an available decision model in the `jev` scene; a listed model or a passing connection test does not show that image decisions work. **Next**: [inspect the Agent task and actual execution records](https://docs.taku.ai/os/agents/tasks-sessions/). --- # Decision models and Jev A decision model judges whether to show a hint; the existing Agent takes over only after you tap it. > Taku OS research preview. Availability varies by device and version; see current progress. A decision model judges one thing: whether the current page is worth offering help on. It returns a structured answer, not a chat reply. When the answer is yes, the system shows a hint. The existing Agent takes over only after you tap it. Decision models use the `jev` scene. The **Jev decision model** setting accepts any catalog model with `kind: decision` and saves your choice as the `jev` scene binding. Jev is TypeSafe AI's System One decision model and one of the available choices. It is not the main Agent; ordinary conversations keep using the main model selected under [Model connections](https://docs.taku.ai/os/models/overview/). Developer preview After you enable a decision model, hints do not yet appear automatically in everyday use. The automatic entry can currently be triggered only once at a time through a permission-protected development entry point. It does not intercept the physical power button or monitor the screen continuously. For screen help today, use [original-image screen suggestions](https://docs.taku.ai/os/models/screen-suggestions/), which need no decision model. ## [What it does](https://docs.taku.ai/os/models/jev/#what-it-does) The decision model reads the original screen image from this invocation and judges the page type and a useful next step, such as organizing a dinner, planning a trip, pulling out key points, or showing nothing. On-screen text counts as data, never as instructions. For passwords, payment approval or sensitive account details, or when there is no clear next step, the model should choose no hint. Confidence below 0.65 also shows no hint. ``` Original image from this invocation → on-phone Magpie → decision model ↓ worth offering Same image → screen scene image model → hint ↓ you tap existing Agent ``` ## [Stages and responsibilities](https://docs.taku.ai/os/models/jev/#stages-and-responsibilities) | Stage | Who is responsible | What happens | | --- | --- | --- | | Judgment | Decision model | Assess this page and return a structured result; create no Agent task | | Suggestion | Image model in the `screen` scene | Generate a suggestion from the same screenshot; create no Agent task | | Consent | You | When the hint appears, tap **Help me look** or close it; no task exists before you tap | | Execution | Existing Agent and main model | Handle the accepted task through the system task service and a native conversation, with the same screenshot | Decision models and the main model reuse on-phone Magpie's service, credential and model-management facilities, but **the decision model is selected separately**. Enabling it does not switch the main Agent to Jev or require moving an existing ChatGPT connection into the gateway. See [Models and system AI](https://docs.taku.ai/os/models/overview/) for what Magpie is. ## [Check the environment first](https://docs.taku.ai/os/models/jev/#check-the-environment-first) Use a preview environment with the Assistant, system task service, Codex and on-phone Magpie integrated, plus device connectivity to the model services. Start with [Environment checks](https://docs.taku.ai/os/guides/environment/). You also need: - A model service offering a decision model whose catalog entry declares image input. - A working image model bound to the `screen` scene in [Taku AI](https://docs.taku.ai/os/models/system-ai/), with the Assistant allowed to use it. - A valid main Agent connection whose model accepts images. ## [Configure the decision model](https://docs.taku.ai/os/models/jev/#configure-the-decision-model) The current device UI uses Chinese labels: ``` Assistant settings → Jev decision model 助手设置 → Jev 决策模型 Taku AI → Assistant and decisions Taku AI → 助手与决策 Jev decisions (scene row) Jev 决策 Manage models and routes 管理模型与路由 Refresh decision models 刷新决策模型 Enable Jev decision model 启用 Jev 决策模型 Test decision connection 测试决策连接 Help me look 帮我看看 → Close the hint 关闭屏幕建议 ``` ### [Manage the service on the phone](https://docs.taku.ai/os/models/jev/#manage-the-service-on-the-phone) Open **Assistant settings → Jev decision model → Manage models and routes**, or enter through **Taku AI → Assistant and decisions → Jev decision model**. Add a model service supporting the Decisions interface in local Magpie, such as OpenRouter. Existing services and valid credentials can be reused. Enter keys only in the on-device management page. The normal settings flow can migrate an older encrypted Jev credential into Magpie. The old copy is removed only after the gateway confirms storage by reading it back. A failed migration keeps the original configuration for retry. Source, APKs and generic images contain no model authorization. ### [Refresh and select the decision model](https://docs.taku.ai/os/models/jev/#refresh-and-select-the-decision-model) Return to Jev settings, select **Refresh decision models**, choose a model from the actual catalog, then turn on **Enable Jev decision model**. The selected model is written to the `jev` scene binding and appears as the Jev decisions row in the Taku AI scene list. Jev's upstream model ID on OpenRouter is `typesafe/jev-1.14`. The full catalog ID includes your own service ID prefix. Jev Router is a chat model, not a decision model. Only catalog entries with `kind: decision` are accepted, and a service name containing “Jev” does not confirm you picked the right model. A missing selection produces an explicit error rather than a silent model change. ### [Test the decision connection](https://docs.taku.ai/os/models/jev/#test-the-decision-connection) Select **Test decision connection**. This step is optional. It sends fixed synthetic text and incurs a small amount of real model usage. It sends neither the current page nor an unsent draft. **Expected result**: the page reports a successful connection. That shows this decision call works, not that hints or the main Agent do. ### [Tap the hint to hand off to the Agent](https://docs.taku.ai/os/models/jev/#tap-the-hint-to-hand-off-to-the-agent) No Agent task exists while the hint is showing. When you tap **Help me look**, the system rechecks the enabled state, selected model, suggestion age and task availability. A suggestion stays valid for two minutes and is never submitted twice. **Expected result**: the Agent has exactly one new task, and its answer contains information from the screenshot. Unsent text and attachments stay in the original conversation and are not added to the suggested task. A visible hint or a bare “completed” reply is not enough to judge the task finished. ## [Who receives page data](https://docs.taku.ai/os/models/jev/#who-receives-page-data) | Recipient | What it receives | When | | --- | --- | --- | | Decision model service | The original image from this invocation and the foreground app name | During the judgment | | Model service for the `screen` scene | The same image | After the decision model judges it worth offering | | Main Agent's model service | The same image and the suggestion | After you tap the hint | The screenshot is used for this invocation only; this is not continuous screen monitoring or background history collection. The path has no OCR or screenshot-to-text step. A model that does not declare image support fails with an explicit error rather than falling back to text. Images go to the model services you configured, so first decide whether the page is appropriate to share. ## [Availability](https://docs.taku.ai/os/models/jev/#availability) | Environment | Status | | --- | --- | | Code | The original-image path is implemented. Its image protocol has been tested with synthetic data only and has not run end to end with real Jev | | Emulator | Android 16 / API 36 / ARM64 development AVD: the complete path of judgment → hint → tap → existing Agent is verified with real Jev. That judgment read page text rather than the original image, was triggered through the development entry, and did not cover a cold boot | | Physical device | The decision-model path is not yet verified. [Original-image screen suggestions](https://docs.taku.ai/os/models/screen-suggestions/) do not use a decision model and have their own physical-device scope | | Complete ROM | Not yet verified; no flashable or production release claim | An accepted task keeps the current task permissions. Before an action such as submitting a free reservation, the assistant shows the details and waits for your confirmation again. It does not send messages for you. Early emulator verification covered read-only planning only. Automatic triggering on real chats and map services are not available. Memory's [per-record analysis](https://docs.taku.ai/os/guides/memory-legacy/) can also explicitly use a decision model; Memory controls that switch separately. ## [Troubleshooting](https://docs.taku.ai/os/models/jev/#troubleshooting) | Symptom | What to inspect | | --- | --- | | Empty decision catalog | On-phone Magpie availability and whether the service exposes decision models; refresh decision models | | Connection test fails | Device networking, service authorization and the actual selected model; ChatGPT sign-in does not authorize OpenRouter | | Catalog shows unknown image capability or text only | That model declares no image support, so screen judgments fail explicitly; choose a decision model marked for text and images | | Call succeeds but no hint appears | Whether the page has a clear next step and confidence reaches the threshold; suppressing low-confidence hints is expected | | Cannot accept a visible hint | Enabled state, changed model selection, suggestion expiry and a busy task | | Agent misses the original page | Ensure the page is drawn and stable before triggering, the screenshot option is on, and the main model accepts images | --- # Codex device path and authentication prerequisites The tested phone path, pinned program version, and limits of first-time preparation. > Taku OS research preview. Availability varies by device and version; see current progress. The phone executor uses Codex with either a ChatGPT or Magpie model connection. ChatGPT is verified on the emulator and on a physical Pixel 9. Magpie / DeepSeek is verified on the emulator, not yet on a physical device. Both connections share native Codex conversations and tools. Use this page to confirm an already integrated executor and diagnose setup. For ordinary use, configure [a model connection](https://docs.taku.ai/os/models/overview/). For DeepSeek, use the [on-device Magpie tutorial](https://docs.taku.ai/os/models/magpie-deepseek/) to configure and verify calls, then run [your first task](https://docs.taku.ai/os/agents/tasks-sessions/). For a direct [SDK tool](https://docs.taku.ai/os/guides/extensions/), Codex is not a prerequisite. First use: [Connect ChatGPT](https://docs.taku.ai/os/models/chatgpt/) or [use DeepSeek](https://docs.taku.ai/os/models/magpie-deepseek/). For installed versions, start with [Environment checks](https://docs.taku.ai/os/guides/environment/). Understand how Codex relates to the system task service, Magpie and context in the [Agent Harness chapter](https://docs.taku.ai/os/harness/overview/). A [decision model](https://docs.taku.ai/os/models/jev/) makes a separate judgment first. Only after you accept the hint does the system task service and a native Codex conversation create a task. Enabling a decision model does not switch the main Agent to Jev. This path is verified on the emulator, not yet on a physical device, from a cold boot or on a complete ROM. Use [original-image suggestions](https://docs.taku.ai/os/models/screen-suggestions/) for the current explicit screen entry and [Taku AI](https://docs.taku.ai/os/models/system-ai/) for shared models and authorization. They reuse this runtime. ## [Pinned version and device paths](https://docs.taku.ai/os/models/codex/#pinned-version-and-device-paths) | Item | Current value | | --- | --- | | Pinned source version | `rust-v0.161.0` | | Launcher entry | `/system_ext/bin/codex` | | Device runtime directory | Content cache under `/data/local/agentos/runtime-v2/`, keyed by the digests of the runtime archives | Interaction reuses one long-running Codex App Server. Native `thread`, `turn`, and `item` records provide the conversation history. Real models and read-only commands are verified on the emulator and a physical Pixel 9. The CLI download script remains part of development setup, rather than a released universal phone installer. First-time provisioning and installation across devices are not yet verified. ## [Read back version, identity, and tasks](https://docs.taku.ai/os/models/codex/#read-back-version-identity-and-tasks) The development environment must first integrate the runtime and dependencies. The user manages model authentication on the device. Choose an authorized ADB target listed as `device` and replace `emulator-5582`; run the Node commands with Node.js 20+ in the system repository root. These checks are read-only: ``` adb -s emulator-5582 shell /system_ext/bin/codex --version node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` They return the actual program version, execution identity, and existing task metadata, respectively. They do not log in, create tasks, or output authentication caches. `tasks.status` additionally requires UID `0` or `1000` and task-directory access; its failure does not invalidate a successful version check. A version string also does not prove that model authentication works. ## [Submit an actual task](https://docs.taku.ai/os/models/codex/#submit-an-actual-task) Submit a verifiable request through current Home or assistant input, then inspect execution state and actual results. See [Tasks and sessions](https://docs.taku.ai/os/agents/tasks-sessions/) for current steps. For the status of phone-side app generation and background operations, see [Task lifecycle](https://docs.taku.ai/os/agents/lifecycle/) and [Application generation](https://docs.taku.ai/os/tools/app-generation/). ## [Interpret verification scopes](https://docs.taku.ai/os/models/codex/#interpret-verification-scopes) - **Physical Pixel 9**: on-phone networking, real models, and restart recovery have been verified. These results come from component updates and do not cover the latest complete ROM. - **168 client methods**: these describe protocol registration and UI routing coverage, not verified use of all models, MCP services, plugins, or hardware. - **Voice**: PCM capture and playback initialization are verified on a physical device. Cloud realtime voice is unavailable because its API-key authentication requirement failed; these are separate checks. - **Automatic failover**: not verified. Start with [Runtime troubleshooting](https://docs.taku.ai/os/help/runtime/) when execution fails. Replacing the entire Agent runtime must follow the same system task service contract. The Magpie model connection neither replaces that runtime nor adds another queue. --- # Generate reply candidates in the keyboard Generate replies from an allowed app image, insert a candidate, and decide when to send. > Taku OS research preview. Availability varies by device and version; see current progress. Taku's keyboard can generate up to three reply candidates for the current page while retaining normal typing and pinyin input. Tapping a candidate inserts it into the current editor. ## [Prerequisites](https://docs.taku.ai/os/tools/inputmethod/#prerequisites) Typing and pinyin do not require a model and work offline on ordinary Android devices. AI replies additionally need matching Taku Assistant, background services and system AI. Before the first reply, bind the keyboard vision scene (`ime.vision`) in [Taku AI](https://docs.taku.ai/os/models/system-ai/) to a group with an image-capable model. ### [Enable replies and limit sources](https://docs.taku.ai/os/tools/inputmethod/#enable-replies-and-limit-sources) Select Taku as the default keyboard. Under **Keyboard settings → AI reply suggestions**, enable the feature and choose permitted applications. It starts disabled with no default source allowlist. Allow the keyboard in [Taku AI](https://docs.taku.ai/os/models/system-ai/) and check that the model bound to `ime.vision` is available. Keep the keyboard model setting on **Follow system** to use that binding; choosing a specific image model overrides it until you switch back. ### [Open the keyboard in an empty editor](https://docs.taku.ai/os/tools/inputmethod/#open-the-keyboard-in-an-empty-editor) Open synthetic test material in an allowed app and focus an empty editor. The system captures the app's visible area without the status bar or keyboard and sends the image directly to the `ime.vision` scene’s image model. No OCR or screenshot-to-text stage intervenes. **Expected result**: waiting text in the existing 40dp candidate strip is replaced by strictly validated JSON reply candidates. Password editors, protected pages and unapproved sources must not receive candidates. ### [Insert, preview or regenerate](https://docs.taku.ai/os/tools/inputmethod/#insert-preview-or-regenerate) Tap to insert directly, or long-press to preview the full text. Use the next-group control to capture again and request different wording. Failed calls expose retry; expired login opens the existing account connection flow. **Expected result**: the editor contains exactly the selected candidate. No message is sent automatically. Review the text and decide whether to send it yourself. ### [Type and check cancellation](https://docs.taku.ai/os/tools/inputmethod/#type-and-check-cancellation) Pinyin input, candidate selection, selection changes, switching editors or hiding the keyboard cancels that AI round. A late result must not reappear. Reopening an empty editor starts a new round. ## [Troubleshooting and integration limits](https://docs.taku.ai/os/tools/inputmethod/#troubleshooting-and-integration-limits) | Symptom | Check | | --- | --- | | No AI candidates | Default IME, empty editor, source allowlist, master switch, keyboard AI permission and the `ime.vision` binding | | Model denial or expired login | Reconnect through the existing account entry; do not add separate keys to the keyboard | | Unsupported app | Record its actual version and editor type; existing tests do not cover every third-party app | | Pinyin candidates only | Normal while typing; AI should not replace ongoing edits | The keyboard uses dedicated signature, package, UID and default-IME checks. An ordinary app using the [public AI client](https://docs.taku.ai/os/extensions/system-ai/) gains no capture or keyboard permission. Reply generation does not change the main Agent model or connection and creates no Agent task. ## [Preinstalled with the system](https://docs.taku.ai/os/tools/inputmethod/#preinstalled-with-the-system) Taku OS preinstalls the keyboard and its companion components in the read-only system partition. The keyboard keeps its own signing certificate and UID. Its model choice and source allowlist stay in the keyboard’s own data; Taku AI manages model accounts and credentials. --- # Background workspaces Discover phone apps, inspect background screens, and hand control between the agent and user. > Taku OS research preview. Availability varies by device and version; see current progress. Open **Settings → Taku AI → Background workspaces** to manage allocated app screens. Assistant settings has the same entry. Inspect the list, open details, and choose whether to view the screen, pause the agent, or take control. This feature is built into Taku OS. ## [View, take control, and return](https://docs.taku.ai/os/tools/background-workspaces/#view-take-control-and-return) 1. Open Background workspaces. The home page counts workspaces and distinct actual task `threadId` values, then lists each app's management state. Three independent tasks remain three tasks; the UI does not invent a parent task. 2. Select an app to open **Workspace details**. Check its task label, state, and input owner. **Task** is the label saved when bound, not a live business-step description or proof of completion. 3. Choose **View live screen** when needed. Viewing is read-only by default and sends no input to the app. It is optional when managing a workspace. 4. Choose **Take control**. The system stops the associated agent execution and confirms that tools and processes have stopped before enabling taps, swipes, and **Back in app**. An unconfirmed stop does not grant input control. 5. Choose **Return to agent**, then explicitly continue the original task. Returning control does not replay interrupted actions. The task stays in `awaiting_resume` and does not start a model turn automatically. 6. Choose **Close workspace** in details when finished. Closing a screen does not reverse bookings, cancel orders, or delete app data. ## [Ready does not confirm login](https://docs.taku.ai/os/tools/background-workspaces/#ready-does-not-confirm-login) **Ready describes workspace management state only.** For example, a Pixel 9 workspace was ready while the rednote live screen showed a logout notice after another device login reached the device limit, so the user had to sign in again. An app that launches, an allocated workspace, and a valid app login are separate facts. Before business actions, check login and other requirements through the actual screen or an authorized interface. Ready alone does not establish route lookup, booking, or task completion. ## [App discovery and concurrency preferences](https://docs.taku.ai/os/tools/background-workspaces/#app-discovery-and-concurrency-preferences) During preparation, the agent receives an app summary with at most 12 entries. An omitted app may still be installed. The read-only `taku_phone.apps` tool can query the current Android user's app catalog by name or package. It returns the app catalog only and creates no screen. Login, background compatibility, and business capabilities return `unknown` until checked separately. Preferences enable new background allocations, set a limit of 1–3 workspaces, and select apps the agent may use. Disabling background work or lowering the limit preserves existing screens. Revoking app access blocks subsequent managed operations and attempts to stop the app's existing branch; verify the result. Reaching the limit does not establish automatic queueing. The same app package cannot be allocated to two background branches at once. Workspaces share Android, app processes, accounts, and data; they do not provide separate accounts or app-data isolation. Control handoff governs managed phone tools, not arbitrary root shells, external ADB, or other accessibility services. ## [Verified scope](https://docs.taku.ai/os/tools/background-workspaces/#verified-scope) | Environment | Verified scope | | --- | --- | | Emulator | List, details, live view, pause, takeover with a real tap, and return are verified, across English/Chinese, light/dark, 130%/150% fonts, and landscape. Model inference was not included. | | Pixel 9 | Home, details, read-only live view, pause, takeover, and return are verified. The three existing rednote, Amap, and Meituan workspaces kept running afterward. Only English and dark settings were checked, not every font and display combination covered on the emulator. | | Still needs separate verification | Cancellation during a live model turn, cross-app business behavior, parent-task decomposition and aggregation, automatic queueing, cloud update delivery, and stable publication. | These components run from the read-only system partition. After a reboot, existing workspace references are kept but need an explicit rebind, and tasks do not replay automatically. ## [Next steps](https://docs.taku.ai/os/tools/background-workspaces/#next-steps) Continue to [Current progress](https://docs.taku.ai/os/releases/current-progress/), [App troubleshooting](https://docs.taku.ai/os/help/apps/), or the developer [independent-display experiment](https://docs.taku.ai/os/tools/background-display/). Background workspaces and the assistant's plan/node view are different features. The native tools described here do not grant ordinary third-party apps a new public SDK or permissions. --- # Independent background display Real VirtualDisplay, dynamic IDs, targeted operations, and mirroring on the main screen. > Taku OS research preview. Availability varies by device and version; see current progress. A VirtualDisplay is a logical display created by Android. In an authorized system environment, create a background display, launch an app, inspect actual frames and release the display when finished. It shares the system and app data with the main screen. ![Main display, independent background display and mirror viewer](https://docs.taku.ai/media/diagrams/background-display.en.svg) Explanatory flow; this article states the actual verified scope. ## [Choose the entry point](https://docs.taku.ai/os/tools/background-display/#choose-the-entry-point) Use [Background workspaces](https://docs.taku.ai/os/tools/background-workspaces/) to inspect, pause, or take over an allocated task screen. Managed takeover confirms agent execution has stopped before granting input control. The low-level developer experiment below remains separate: direct shell input does not perform that handoff or imply the agent is paused. ## [Prerequisites](https://docs.taku.ai/os/tools/background-display/#prerequisites) Taku OS integrates `phone-display` and the independent-display JAR. Current root/system privileges satisfy display creation and input requirements. MediaProjection (the screen-capture API) in an ordinary app is not equivalent to this trusted system-display implementation. Run the steps in one device root shell so `agent_display_id` remains available. The example opens the development image’s Clock activity, `com.android.deskclock/.DeskClock`. For another image or app, resolve its actual launcher first; see [App integration checks](https://docs.taku.ai/os/integrations/overview/). ## [Run the experiment](https://docs.taku.ai/os/tools/background-display/#run-the-experiment) ### [Create a display and obtain its dynamic ID](https://docs.taku.ai/os/tools/background-display/#create-a-display-and-obtain-its-dynamic-id) In a device root shell: ``` phone-display start agent_display_id=$(phone-display id) phone-display status ``` Success returns JSON, and Android's display list includes a new logical display. The ID may change on each creation, so do not hardcode it. ### [Launch an existing app on that display](https://docs.taku.ai/os/tools/background-display/#launch-an-existing-app-on-that-display) ``` am start --display "$agent_display_id" -n com.android.deskclock/.DeskClock phone-display capture ``` `capture` returns a frame record and the path `/data/local/agentos/virtual-display/screen.png`. The main and background displays share the same Android system and app data; it is not another VM. ### [Targeted input and native mirroring](https://docs.taku.ai/os/tools/background-display/#targeted-input-and-native-mirroring) ``` input -d "$agent_display_id" keyevent KEYCODE_BACK ``` For coordinate operations, inspect the current actual screenshot before choosing coordinates. Fixed coordinates from another screen size are not a UI-automation guarantee. The main screen's native mirror viewer receives frames through the `taku-mirror` Unix socket and maps touch with FIT_CENTER letterboxing. Collapsing the viewer does not stop the background app. ### [End this display session](https://docs.taku.ai/os/tools/background-display/#end-this-display-session) ``` phone-display stop ``` The `stop` command waits for display cleanup and host exit; run `start` again to obtain a new ID. Automatic start at boot, staying stopped after an explicit stop, and starting again are verified on a fresh emulator. App content and physical hardware each need separate verification. ## [Verify the result](https://docs.taku.ai/os/tools/background-display/#verify-the-result) Clock renders on the independent display, Home remains usable on the main screen, actual frames are captured, and input targets only the selected display. Logical display IDs differ from SurfaceFlinger screencap IDs. ## [Limits and troubleshooting](https://docs.taku.ai/os/tools/background-display/#limits-and-troubleshooting) Apps can reject multiple displays or use single-instance tasks. The same app is not guaranteed to maintain independent main/background data. Douyin video abnormalities remain unresolved. Manual input in this low-level mirror/shell path does not automatically pause the agent. Use [workspace management](https://docs.taku.ai/os/tools/background-workspaces/) for control handoff, and avoid concurrent writers. ## [Next steps](https://docs.taku.ai/os/tools/background-display/#next-steps) [Tasks and sessions](https://docs.taku.ai/os/agents/tasks-sessions/) and [app compatibility](https://docs.taku.ai/os/platforms/apps/). --- # Generate standalone apps on the phone Have an agent write full business code, then separately verify preview, APK, and callable interfaces. > Taku OS research preview. Availability varies by device and version; see current progress. Reproduce the app-generation experiment on a prepared device. An APK is an Android installation package. Verify code preview, independent installation and business interfaces as separate results. For a step-by-step native Java path, use [Develop a native APK on the device](https://docs.taku.ai/os/tools/native-app/). This page continues with React/WebView. ## [Choose the generation path](https://docs.taku.ai/os/tools/app-generation/#choose-the-generation-path) **Follow this page for the React/WebView scoring experiment.** WebView embeds web content inside an app; this path writes `App.jsx` and `api.mjs`, then packages them using the prepared preview host and APK shell. **For native Java, use the separate tutorial.** The agent writes MainActivity/Manifest on the device and uses ECJ/D8/aapt (Java compilation, bytecode conversion and resource packaging) to compile, sign and install an APK. A same-signature update preserves data; ContentProvider and UI share state, and invalid parameters and unauthorized calls are rejected. This path is verified on an emulator and not yet on physical devices. It uses no precompiled business shell or web assets, but its toolchain must be provisioned separately and does not ship with the system. See [Current progress](https://docs.taku.ai/os/releases/current-progress/); the commands below do not reproduce that native path. ## [Prerequisites](https://docs.taku.ai/os/tools/app-generation/#prerequisites) The prepared experimental device has Codex, native Android Node, esbuild, React, a precompiled APK shell, Android packaging/signing tools, and an app API service. They are not provisioned automatically. This path is not computer-free first-time setup or an offline model. The model writes complete core code in `App.jsx` and `api.mjs`, not just template configuration. Arbitrary native hardware permissions still require an extended shell or system interfaces. Arbitrary JSX does not imply arbitrary Android APIs. All commands below run in the same prepared device shell, not in a terminal at the computer’s repository checkout. This example uses app ID `my_score`, package `org.agentos.myscore`, and a Chinese display name meaning “My score” (shown in the packaging command). Keep these identifiers separate; the next [API tutorial](https://docs.taku.ai/os/tools/app-interfaces/) continues with `my_score`. ## [Run the experiment](https://docs.taku.ai/os/tools/app-generation/#run-the-experiment) ### [Provide an app request](https://docs.taku.ai/os/tools/app-generation/#provide-an-app-request) Run the following in the prepared device shell. Use a new experimental appId to avoid confusing old data: ``` cd /data/local/agentos/light-app-lab/free-app-kit cat > /data/local/tmp/my-score-request.txt <<'REQUEST' 做一个双队计分应用。界面有两队分数、加分、减分、历史和撤销。 API 自行定义 score.state、score.add、score.undo;界面与外部调用共享状态。 拒绝未知队伍、零分变更及非安全整数。要写完整业务代码。 REQUEST sh generate.sh my_score /data/local/tmp/my-score-request.txt ``` The reproducible request above is preserved in Chinese: create a two-team score app with scores, increment/decrement, history, undo, and shared-state `score.state`, `score.add`, and `score.undo` APIs; reject unknown teams, zero changes, and non-safe integers; write full business code. The generator calls the model configured on the phone, writes core code, builds, and starts preview. Output records generation time, and total time from the start of generation until the preview command returns. Neither is a visible-first-frame or complete-install time. ### [Preview quickly after editing code](https://docs.taku.ai/os/tools/app-generation/#preview-quickly-after-editing-code) ``` sh build.sh my_score ``` This re-bundles JSX rather than rebuilding the full ROM. Business-module entry changes reload according to current app-service rules. Hot updates across the dependency-file graph are not implemented. ### [Generate and open a standalone APK](https://docs.taku.ai/os/tools/app-generation/#generate-and-open-a-standalone-apk) ``` sh package-app.sh my_score org.agentos.myscore 我的计分 pm path org.agentos.myscore ``` The script packages, verifies signing, installs, and launches the app. Confirm the independent package, launcher, actual window, and business result together. A host-page preview alone is not sufficient. ## [Verify the result](https://docs.taku.ai/os/tools/app-generation/#verify-the-result) In the two-team scoring example verified on an emulator, the model generated complete JSX and business modules, the standalone APK installed and opened, and external API score changes appeared in the UI. APK packaging took 770 ms in that run, **excluding the model, installation, and first frame**. This is not a general performance guarantee. ## [Limits and troubleshooting](https://docs.taku.ai/os/tools/app-generation/#limits-and-troubleshooting) Missing preview hosts, unprovisioned toolchains, signing errors, or an unavailable API service cause failure. API-using APKs still depend on the experimental Node backend; not every app is a self-contained offline native app. ## [Next steps](https://docs.taku.ai/os/tools/app-generation/#next-steps) [Call app interfaces](https://docs.taku.ai/os/tools/app-interfaces/), then check the UI, APK and API of the new version separately. --- # Develop a native Java APK on the device Compile, sign, install and update a native score app in the prepared experimental environment. > Taku OS research preview. Availability varies by device and version; see current progress. This experimental path lets the Agent write Java and a Manifest on Android, then compile an actual native APK. The UI uses Android Views, without React, WebView or a precompiled business shell. For web-based application logic use the [React/WebView tutorial](https://docs.taku.ai/os/tools/app-generation/). ![Native Java source, on-device build, installation and update](https://docs.taku.ai/media/diagrams/native-build.en.svg) Explanatory flow; this article states the actual verified scope. ## [Environment and prerequisites](https://docs.taku.ai/os/tools/native-app/#environment-and-prerequisites) Verified on a dedicated Android 16 / API 36 / ARM64 emulator: creation, on-device compilation/signing/installation, volume API checks, persistence, data retention across a same-signature update, shared Provider/UI state and permission rejection. **This path is not yet verified on physical devices or the latest complete system.** Its toolchain is a separately provisioned experimental environment and does not ship with the system. The environment maintainer must prepare ECJ, D8, Android SDK stubs, aapt2/aapt, zipalign, apksigner and a dedicated development signature, and deploy source `tooling/app-kit/build-native.sh` to `/data/local/agentos/light-app-lab/build-native.sh`. This guide does not provide a cross-device dependency installer or distribute keys or APKs. Requires the system source `tooling/app-kit/build-native.sh` comes from the `taku-os` system source. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Confirm the target and assistant/Codex versions with [Environment checks](https://docs.taku.ai/os/guides/environment/). The [independent display](https://docs.taku.ai/os/tools/background-display/) must be ready. Read its current display ID. Do not hardcode it, and do not operate main display `0`. ## [Develop and verify](https://docs.taku.ai/os/tools/native-app/#develop-and-verify) ### [Request a specific app](https://docs.taku.ai/os/tools/native-app/#request-a-specific-app) Use a new experimental directory and package to avoid overwriting an existing app. Adapt these example identifiers for your environment: ``` Create a native Java score app inside this prepared Android development device. Project: /data/local/agentos/light-app-lab/generated/my-native-score Package: org.taku.example.nativescore; MainActivity: .MainActivity Write src/org/taku/example/nativescore/MainActivity.java and AndroidManifest.xml. Use native Views, version 1 / 1.0, minSdk 30, targetSdk 35. A/B each have an increment button, with undo and SharedPreferences persistence. Show actual Android API, app UID, battery and sensor count; never hard-code them. If adding a media-volume experiment, request only MODIFY_AUDIO_SETTINGS and add restore. Check the existing toolchain and current independent background display ID first. Build with the on-device build-native.sh and operate only the designated display. Keep build logs, report failures accurately, and leave other apps alone. ``` This request creates files and installs an app. The optional volume experiment changes media volume and must restore the original value. Confirm the directory, package and display belong to this development experiment. ### [Build and install on Android](https://docs.taku.ai/os/tools/native-app/#build-and-install-on-android) The Agent or developer runs this in the **prepared device shell**. Replace the placeholder with the actual background display ID; the script checks that it exists. ``` TAKU_APP_DISPLAY= sh /data/local/agentos/light-app-lab/build-native.sh /data/local/agentos/light-app-lab/generated/my-native-score ``` The script compiles Java, converts DEX, packages, aligns, signs, verifies the signature, runs `pm install -r`, and launches on that display. The project output is `build/app.apk`, followed by its file hash. On failure, inspect the first actual tool error and fix the source or prerequisites. An APK file alone does not prove successful installation or launch. ### [Check the package, UI and persistence](https://docs.taku.ai/os/tools/native-app/#check-the-package-ui-and-persistence) In the same device shell run: ``` pm path org.taku.example.nativescore dumpsys package org.taku.example.nativescore ``` Check the actual path, version and app UID, then view the app on the designated background display. Record initial scores, increment and undo, reopen the app, and verify persisted state. System values must come from actual APIs. For the volume experiment, read the original level, change one step, restore and read back. Emulator sensor counts do not establish physical hardware support. ### [Update and verify retained data](https://docs.taku.ai/os/tools/native-app/#update-and-verify-retained-data) Ask the Agent to retain the package, signature and storage, raise `versionCode=2` / `versionName=1.1`, and rerun the on-device build script. `pm install -r` should replace the existing package. Do not uninstall to bypass a signature error. Verify both the new version and the previous scores/history. For an advanced experiment add a `ContentProvider` guarded by `android.permission.DUMP`. Let `query`, `score.add`, `score.undo` and the Activity use one state implementation. Check nonzero-parameter validation, unchanged data after errors, unauthorized-call rejection and UI refresh through `ContentObserver`. This is a native app interface, not another HTTP server. ## [Record results and resolve failures](https://docs.taku.ai/os/tools/native-app/#record-results-and-resolve-failures) Record source revision, actual device version, app version, signature consistency, build logs, APK hash and background-display screenshots. Build time and APK size describe this example rather than arbitrary Android projects. Missing tools require completing environment provisioning. Signature mismatches require checking the installed package and dedicated development key. For Provider failures inspect Android permissions and actual error text, not just the `content` command exit code. See [Update and recovery](https://docs.taku.ai/os/install/update-recovery/) for version boundaries. Continue to [App interfaces and shared state](https://docs.taku.ai/os/tools/app-interfaces/) and record emulator and physical-device results separately using the [contribution guide](https://docs.taku.ai/os/contributing/overview/). --- # Call app interfaces CLI, HTTP, and app UI operate on the same real business state. > Taku OS research preview. Availability varies by device and version; see current progress. An app business interface lets another program call the app’s methods. Use the CLI (command-line interface) and HTTP examples below to verify that service results and the app UI share the same state. ## [Prerequisites](https://docs.taku.ai/os/tools/app-interfaces/#prerequisites) Continue from [App generation](https://docs.taku.ai/os/tools/app-generation/) with your `my_score` test app, or choose an existing test app that exposes the same methods. The app must provide `api.mjs`, and the device Node service must listen on `127.0.0.1:8765`. This tutorial uses the experimental React/WebView service; native Java apps using a ContentProvider have a different interface. The first two steps run in the **same device shell**. The third runs on your **computer**. `my_score` is the service app ID, while `org.agentos.myscore` is the Android package name; they are not interchangeable. Replace the ID consistently when using another app. This service executes trusted business code. It does not provide cross-app sandboxing or system-wide authorization isolation. Start with discovery and a read-only method. ## [Call and verify](https://docs.taku.ai/os/tools/app-interfaces/#call-and-verify) ### [Discover and read state](https://docs.taku.ai/os/tools/app-interfaces/#discover-and-read-state) ``` /data/local/agentos/light-app-lab/free-app-kit/mini-app list app_id=my_score /data/local/agentos/light-app-lab/free-app-kit/mini-app describe "$app_id" /data/local/agentos/light-app-lab/free-app-kit/mini-app call "$app_id" score.state '{}' ``` Confirm that `describe` lists `score.state`, `score.add`, and `score.undo`, then save the initial score returned by `score.state`. If the app or methods are missing, resolve that mismatch before writing. ### [Change your test app state](https://docs.taku.ai/os/tools/app-interfaces/#change-your-test-app-state) Open your test app before calling these methods. `score.add` changes the score; check the UI and query `score.state` again before undoing. Use a new request key for a new change. Reuse a key only when deliberately testing replay of the same request. The payload below assumes `describe` declares team `A`, integer `delta`, and an empty parameter object for undo. Generated apps can define a different contract; adjust the parameters to the discovered schema before using this example. ``` /data/local/agentos/light-app-lab/free-app-kit/mini-app call "$app_id" score.add '{"team":"A","delta":5}' --key docs-score-new-1 /data/local/agentos/light-app-lab/free-app-kit/mini-app call "$app_id" score.state '{}' ``` After checking the UI against the returned state, undo and verify the score returns to its initial value: ``` /data/local/agentos/light-app-lab/free-app-kit/mini-app call "$app_id" score.undo '{}' /data/local/agentos/light-app-lab/free-app-kit/mini-app call "$app_id" score.state '{}' ``` ### [Connect from a computer](https://docs.taku.ai/os/tools/app-interfaces/#connect-from-a-computer) ``` adb -s emulator-5582 forward --no-rebind tcp:8765 tcp:8765 curl http://127.0.0.1:8765/v1/apps curl http://127.0.0.1:8765/v1/apps/my_score ``` Replace `emulator-5582` with the serial from `adb devices`. The HTTP example targets the same `my_score` app. After inspection, remove the forward created by this step with `adb -s emulator-5582 forward --remove tcp:8765`. The experimental HTTP service has `/v1/openapi.json`. It describes app business interfaces only. The system SDK's JSON Schema is not this HTTP OpenAPI. Neither establishes that the complete OS API is publicly available. ## [Verify the result](https://docs.taku.ai/os/tools/app-interfaces/#verify-the-result) JSON returns the business result, revision, and replay marker. The open app updates automatically. For example, team A goes from 3 to 8 and back to 3 after undo. Idempotent replay, which repeats the same request without applying the change again, does not add points again. ## [Method contract](https://docs.taku.ai/os/tools/app-interfaces/#method-contract) Apps define their own method names, parameter schemas (data-shape constraints), result descriptions, mutates flags, and handlers. The UI queries and changes state through the same methods. The current hook refreshes by polling, not event push. Result schemas support discovery and documentation; result validation is not yet enforced. ## [Limits and troubleshooting](https://docs.taku.ai/os/tools/app-interfaces/#limits-and-troubleshooting) Unknown methods, invalid parameters, and conflicts involving repeated keys need actual errors. The service retains the latest 100 completed-call receipts for idempotent replay. It does not guarantee strict exactly-once execution if business execution crashes. A `--no-rebind` failure means a local port is occupied; do not replace an unrelated service. ## [Next steps](https://docs.taku.ai/os/tools/app-interfaces/#next-steps) [Extension development](https://docs.taku.ai/os/guides/extensions/) or [API troubleshooting](https://docs.taku.ai/os/help/troubleshooting/). --- # Execute system commands The actual Android permissions and execution locations behind bash-style operations. > Taku OS research preview. Availability varies by device and version; see current progress. A shell executes commands. Read the device identity and system information first, then choose write operations based on actual access. Distinguish commands running on the phone from those running on a computer. ## [Prerequisites](https://docs.taku.ai/os/tools/system-shell/#prerequisites) The current device runtime can launch Android `/system/bin/sh` on a development userdebug device. Actual authority depends on UID (Linux user identity), file permissions, SELinux mandatory-access policy, and Android service checks together. The two entry points below are alternatives. If you are at a computer, use `adb devices` to find the target serial and replace `emulator-5582`; `adb -s SERIAL shell` opens that device’s shell. The phone commands then run on Android, while the `adb` command itself runs on the computer. ## [Read system state](https://docs.taku.ai/os/tools/system-shell/#read-system-state) ### [Read from the phone shell](https://docs.taku.ai/os/tools/system-shell/#read-from-the-phone-shell) In the phone shell: ``` id getprop ro.build.version.sdk getprop ro.product.cpu.abi getenforce cmd display get-displays --ids-only ``` ### [Choose a target from the computer](https://docs.taku.ai/os/tools/system-shell/#choose-a-target-from-the-computer) When connected from a computer, select the target explicitly: ``` adb -s emulator-5582 shell id adb -s emulator-5582 shell getenforce ``` ## [Verify the result](https://docs.taku.ai/os/tools/system-shell/#verify-the-result) Read back execution identity, system information, and logical display IDs. The SDK wraps the same kind of device probes; a model can also invoke commands directly. ## [Verify writes separately](https://docs.taku.ai/os/tools/system-shell/#verify-writes-separately) `am start` launches activities; `input -d` injects events into a selected display; `pm install` installs APKs; `cmd notification` posts notifications subject to Android identity checks. Successful command exit does not always prove that a notification appeared. Read back state or observe the native result. Android shell is not a full desktop bash environment. Previous model runs encountered missing `rg` and Node absent from the default PATH. Recover using actual device tools and absolute paths rather than assuming desktop dependencies exist. ## [Limits and troubleshooting](https://docs.taku.ai/os/tools/system-shell/#limits-and-troubleshooting) Root and platform signing are different qualifications. SELinux Enforcing may still reject UID 0. Do not disable SELinux, modify third-party apps, or guess interfaces to bypass test boundaries. ## [Next steps](https://docs.taku.ai/os/tools/system-shell/#next-steps) [Permission layers](https://docs.taku.ai/os/security/permissions/) and [error reference](https://docs.taku.ai/os/reference/errors/). --- # Android Apps and integrations Choose an App check by tested version and distinguish launch, display, and business results. > Taku OS research preview. Availability varies by device and version; see current progress. Judge whether the Agent can open, observe, and operate an existing App, and which permissions it needs. This is an Android integration directory, not a messaging-bot channel gateway. Installing WeChat does not implement a WeChat messaging channel. ## [Choose an interface path first](https://docs.taku.ai/os/integrations/overview/#choose-an-interface-path-first) | Path | Current meaning | | --- | --- | | System SDK | Device status queries and audio session methods; see the [generated method reference](https://docs.taku.ai/os/reference/generated/sdk-protocol/) for the full list | | Public App Intent / launcher | Startup entry point, not proof that internal business operations are callable | | Targeted display and input | Trusted display/shell operations in a prepared development image | | App-exposed API | Experimental Node business service for generated applications | | Third-party business APIs / messaging channels | Require real implementation and authorization; not currently claimed as provided | ## [Current integration records](https://docs.taku.ai/os/integrations/overview/#current-integration-records) ### [WeChat](https://docs.taku.ai/os/integrations/wechat/) 8.0.79: welcome and phone-number login screens; post-login behavior unverified. ### [Douyin](https://docs.taku.ai/os/integrations/douyin/) 40.7.0: partial UI checks; video rendering failures remain. ### [Xiaohongshu](https://docs.taku.ai/os/integrations/xiaohongshu/) 9.49.1: some public guest image-feed behavior. These records are a **2026-10-10 emulator snapshot**, using Android 16 / API 36 / ARM64 userdebug, Root and SELinux Enforcing. They are not claims about the latest app versions. This app-compatibility batch is verified on an emulator and not on physical devices. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for other physical-device results. ## [Test another app](https://docs.taku.ai/os/integrations/overview/#test-another-app) 1. Confirm that the app is installed and record its version, package name and launcher activity. Run the commands below on your computer, replacing the sample serial. 2. Start with one visible action on the main screen, then repeat it on the [background display](https://docs.taku.ai/os/tools/background-display/). Record launch, frame capture and input separately. 3. If you need a business action such as sending a message or playing a video, define and verify that result separately. A launch check does not cover it. ## [Verify metadata before business behavior](https://docs.taku.ai/os/integrations/overview/#verify-metadata-before-business-behavior) ``` adb -s emulator-5582 shell pm list packages adb -s emulator-5582 shell cmd package resolve-activity --brief com.tencent.mm ``` **Result**: Installation and launcher can be confirmed. Chat, payment, video, and long-running background behavior each need their own success criteria and checks. **Failures**: Single-instance behavior, multiple-display policy, login, networking, and media paths can fail independently. Do not hide Root, modify original APKs, or disable SELinux to claim compatibility. **Next**: [Background display tutorial](https://docs.taku.ai/os/tools/background-display/) and [Compatibility feedback requirements](https://docs.taku.ai/os/contributing/overview/). --- # WeChat: verification and entry points WeChat experimental version, permissions, verified scenarios, and failure boundaries. > Taku OS research preview. Availability varies by device and version; see current progress. This page checks whether WeChat opens and reaches its login form. It does not establish chat, messaging or payment support, and it does not provide a messaging-bot API. ## [Recorded emulator result](https://docs.taku.ai/os/integrations/wechat/#recorded-emulator-result) | Field | Experimental snapshot | | --- | --- | | package | `com.tencent.mm` | | versionName | 8.0.79 | | targetSdk | 34 | | Device | Android 16 / API 36 / ARM64 emulator | | Status | Limited emulator record; physical devices unverified | **Observed**: Welcome screen and phone-number login form; targeted main/background taps reached the actual login page. **Not covered / failures**: Not logged in. Chat, payment, calls, long-running notifications, and account workflows are not verified. ## [Prerequisites](https://docs.taku.ai/os/integrations/wechat/#prerequisites) Use an unmodified package from an official source on a device running Taku OS. The launcher and display host must actually exist. Root, ADB, and App login are different kinds of authorization. This page does not provide login caches or private accounts. ## [Reproduce the check](https://docs.taku.ai/os/integrations/wechat/#reproduce-the-check) ### [Confirm version and startup entry point](https://docs.taku.ai/os/integrations/wechat/#confirm-version-and-startup-entry-point) Run these commands on your computer. Replace `emulator-5582` with the serial reported by `adb devices`. ``` adb -s emulator-5582 shell dumpsys package com.tencent.mm adb -s emulator-5582 shell cmd package resolve-activity --brief com.tencent.mm ``` **Result**: Actual versionName, signing/package state, and Activity are read back. Record a different version separately; do not apply this table to it. ### [Operate through the actual launcher](https://docs.taku.ai/os/integrations/wechat/#operate-through-the-actual-launcher) Follow [Background display](https://docs.taku.ai/os/tools/background-display/) to create a display and read its dynamic ID, then start the Activity resolved above. The display ID can change each time, so do not hardcode it. Do not omit the target serial. ### [Check each part separately](https://docs.taku.ai/os/integrations/wechat/#check-each-part-separately) | Check | What to record | | --- | --- | | Welcome screen → phone-number form | Whether targeted input reaches the actual form on the intended display. | | Main and background displays | Whether both can be observed and operated; retain separate screenshots. | | Post-login behavior | Not covered. It requires your authorized account and a separate check. | Visible UI, successful command exit and completed business behavior remain distinct results. **Next**: When reproducing a failure, follow [Apps and generation troubleshooting](https://docs.taku.ai/os/help/apps/) and attach version, permissions, input, and native frames or logs. --- # Xiaohongshu: verification and entry points Xiaohongshu experimental version, permissions, verified scenarios, and failure boundaries. > Taku OS research preview. Availability varies by device and version; see current progress. This page records public image-feed viewing and background scrolling without login. It is a frame/input check, not a guide to search, account management or automated publishing. ## [Recorded emulator result](https://docs.taku.ai/os/integrations/xiaohongshu/#recorded-emulator-result) | Field | Experimental snapshot | | --- | --- | | package | `com.xingin.xhs` | | versionName | 9.49.1 | | targetSdk | 36 | | Device | Android 16 / API 36 / ARM64 emulator | | Status | Limited emulator record; physical devices unverified | **Observed**: Some public guest two-column image feeds, independent-display scrolling, and native mirror observation. **Not covered / failures**: Account behavior, complete search, video, and other workflows are not covered. A public feed pass does not prove authenticated capabilities. ## [Prerequisites](https://docs.taku.ai/os/integrations/xiaohongshu/#prerequisites) Use an unmodified package from an official source on a device running Taku OS. The launcher and display host must actually exist. Root, ADB, and App login are different kinds of authorization. This page does not provide login caches or private accounts. ## [Reproduce the check](https://docs.taku.ai/os/integrations/xiaohongshu/#reproduce-the-check) ### [Confirm version and startup entry point](https://docs.taku.ai/os/integrations/xiaohongshu/#confirm-version-and-startup-entry-point) Run these commands on your computer. Replace `emulator-5582` with the serial reported by `adb devices`. ``` adb -s emulator-5582 shell dumpsys package com.xingin.xhs adb -s emulator-5582 shell cmd package resolve-activity --brief com.xingin.xhs ``` **Result**: Actual versionName, signing/package state, and Activity are read back. Record a different version separately; do not apply this table to it. ### [Operate through the actual launcher](https://docs.taku.ai/os/integrations/xiaohongshu/#operate-through-the-actual-launcher) Follow [Background display](https://docs.taku.ai/os/tools/background-display/) to create a display and read its dynamic ID, then start the Activity resolved above. The display ID can change each time, so do not hardcode it. Do not omit the target serial. ### [Check each part separately](https://docs.taku.ai/os/integrations/xiaohongshu/#check-each-part-separately) | Check | What to record | | --- | --- | | Public guest image feed | Actual images and page state; record unavailable network content separately. | | Background scrolling and mirroring | Whether input changes the captured frame and the main screen remains usable. | | Search, video, login and publishing | Outside the verified scope; reproduce each separately instead of extending the image-feed result. | Visible UI, successful command exit and completed business behavior remain distinct results. **Next**: When reproducing a failure, follow [Apps and generation troubleshooting](https://docs.taku.ai/os/help/apps/) and attach version, permissions, input, and native frames or logs. --- # Douyin: verification and entry points Douyin experimental version, permissions, verified scenarios, and failure boundaries. > Taku OS research preview. Availability varies by device and version; see current progress. Use this page to separate Douyin UI behavior from video rendering. Recorded checks could operate some screens, but video artifacts appeared on both main and background displays. Opening the app and playing video correctly are separate results. ## [Recorded emulator result](https://docs.taku.ai/os/integrations/douyin/#recorded-emulator-result) | Field | Experimental snapshot | | --- | --- | | package | `com.ss.android.ugc.aweme` | | versionName | 40.7.0 | | targetSdk | 34 | | Device | Android 16 / API 36 / ARM64 emulator | | Status | Limited emulator record; physical devices unverified | **Observed**: Installation, UI, and some scrolling/switching. **Not covered / failures**: Some videos show green or colored artifacts on both main and independent displays. Overall compatibility cannot be claimed. ## [Prerequisites](https://docs.taku.ai/os/integrations/douyin/#prerequisites) Use an unmodified package from an official source on a device running Taku OS. The launcher and display host must actually exist. Root, ADB, and App login are different kinds of authorization. This page does not provide login caches or private accounts. ## [Reproduce the check](https://docs.taku.ai/os/integrations/douyin/#reproduce-the-check) ### [Confirm version and startup entry point](https://docs.taku.ai/os/integrations/douyin/#confirm-version-and-startup-entry-point) Run these commands on your computer. Replace `emulator-5582` with the serial reported by `adb devices`. ``` adb -s emulator-5582 shell dumpsys package com.ss.android.ugc.aweme adb -s emulator-5582 shell cmd package resolve-activity --brief com.ss.android.ugc.aweme ``` **Result**: Actual versionName, signing/package state, and Activity are read back. Record a different version separately; do not apply this table to it. ### [Operate through the actual launcher](https://docs.taku.ai/os/integrations/douyin/#operate-through-the-actual-launcher) Follow [Background display](https://docs.taku.ai/os/tools/background-display/) to create a display and read its dynamic ID, then start the Activity resolved above. The display ID can change each time, so do not hardcode it. Do not omit the target serial. ### [Check each part separately](https://docs.taku.ai/os/integrations/douyin/#check-each-part-separately) | Check | What to record | | --- | --- | | UI scrolling and switching | The actual destination screen and whether input targets only the selected display. | | The same video on each display | Green or colored artifacts separately on the main and background display, with app version and test material. | | Mirror versus original frames | Compare capture with the viewer before attributing the failure to one layer. | | Decode cause | Passing a synthetic probe does not prove real media works; no general root cause is confirmed. | Visible UI, successful command exit and completed business behavior remain distinct results. **Next**: When reproducing a failure, follow [Apps and generation troubleshooting](https://docs.taku.ai/os/help/apps/) and attach version, permissions, input, and native frames or logs. --- # Traditional App compatibility Check an installed App version and distinguish installation, launch, display and business outcomes. > Taku OS research preview. Availability varies by device and version; see current progress. To decide whether an existing Android App can complete your task, check installation, launch, display and business outcomes separately. This page uses WeChat's package name for read-only checks, then explains how to choose the next validation. ## [Prerequisites](https://docs.taku.ai/os/platforms/apps/#prerequisites) - Select a development device using the [connection check](https://docs.taku.ai/os/install/emulator/), with `adb` available on the computer. Run the commands on the computer and replace the example serial. - The target App is already installed from an official source in an authorized environment. Record APK ABI, Android requirements, signing and actual version. Do not modify the original App or hide root to claim compatibility. - Obtain separate authorization for App login or business data when required; ADB and root do not supply account access. The table below contains bounded development-emulator App records, not certification of every App or device. Pixel 9 physical-device scope appears in [Current progress](https://docs.taku.ai/os/releases/current-progress/). ## [Verify installation and startup first](https://docs.taku.ai/os/platforms/apps/#verify-installation-and-startup-first) `com.tencent.mm` is WeChat's Android package name. For another App, use its actual package name rather than changing only its display label: ``` adb -s emulator-5582 shell pm list packages adb -s emulator-5582 shell dumpsys package com.tencent.mm adb -s emulator-5582 shell cmd package resolve-activity --brief com.tencent.mm ``` **Expected result:** the target appears in the package list; package metadata provides its version and state; the last command resolves a launch Activity (an Android entry point for an application screen). These commands inspect information; they do not open the App. If the package is absent, check the target device and installation. If no launcher entry resolves, do not guess an Activity name. Current Home opens installed Apps from **All apps**; the older Messages, Camera, Gallery and Browser bottom dock has been removed. Once the entry exists, choose a test from the corresponding [integration record](https://docs.taku.ai/os/integrations/overview/). ## [Current known scope](https://docs.taku.ai/os/platforms/apps/#current-known-scope) | App | Observed | Not passed / not covered | | --- | --- | --- | | [WeChat](https://docs.taku.ai/os/integrations/wechat/) | Official-version installation, welcome screen through phone-number login form | Post-login workflows, messaging and payment | | [Douyin](https://docs.taku.ai/os/integrations/douyin/) | Installation, UI and some scrolling | Some green/colored video artifacts remain unresolved and also occur on the main screen | | [Xiaohongshu](https://docs.taku.ai/os/integrations/xiaohongshu/) | Some public guest image feeds, independent-display scrolling and mirror viewing | Complete account, search, video and other paths | Each integration page lists tested versions and results. Revalidate after changing App versions. A successful APK installation does not establish successful login, payment, video or messaging. ## [Verify background-display behavior separately](https://docs.taku.ai/os/platforms/apps/#verify-background-display-behavior-separately) The background and main displays share Android and App data; this is not another virtual phone. An App may also enforce a single instance or use a specialized player. Record these outcomes separately: 1. **Main screen:** the selected interface and business task work. 2. **Independent display:** the App starts on the actual dynamic display ID and completes the selected action. 3. **Mirror and input:** actual frames are captured and input targets the correct display. 4. **Simultaneous main-screen use:** a separate main-screen action remains possible during background work. A background-only failure differs from one also occurring on the main screen. Existing diagnostics ruled out some frame-copy paths and generic synthetic HEVC decoding issues, but did not establish the cause in actual failing Douyin content or its private renderer. One passing probe does not resolve the video issue. **Next:** for a first display experiment, follow [Background display](https://docs.taku.ai/os/tools/background-display/). Record outcomes using [Verification boundaries](https://docs.taku.ai/os/guides/validation/); submit failures under the [contribution guide](https://docs.taku.ai/os/contributing/overview/) and consult [App troubleshooting](https://docs.taku.ai/os/help/apps/). --- # Development environment operations Use connection, identity, services, logs, and recovery to form the shortest check chain. > Taku OS research preview. Availability varies by device and version; see current progress. Locate the failing layer, preserve the observed state, and select the relevant recovery procedure for a prepared development emulator. **Prerequisites**: A device running Taku OS and an explicit serial. Start with read-only checks; direct writes only to a confirmed test target. ### [Connection and identity](https://docs.taku.ai/os/help/connection/) ADB authorization, target serial, UID and SELinux. ### [Runtime checklist](https://docs.taku.ai/os/operations/runbook/) Inspect task metadata, dynamic displays, model program and application service. ### [Choose a symptom](https://docs.taku.ai/os/help/overview/) Match the observed error to the relevant diagnostic path. ### [Update and recover](https://docs.taku.ai/os/install/update-recovery/) Separate component changes, display recovery and full images. Requires the system source The SDK commands below run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Read the device state](https://docs.taku.ai/os/operations/overview/#read-the-device-state) ``` node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 node sdk/cli/taku.mjs call displays.status --transport adb --serial emulator-5582 ``` **Result**: Read current device state before locating services. A successful registry read is not a health check; successful frame capture is not a passed business task. ## [Current boundaries](https://docs.taku.ai/os/operations/overview/#current-boundaries) There is no unified `taku doctor`, automatic production-service migration, lossless OTA, or complete event stream. Multi-model failover stress testing is not complete. Shared app data, long-task power consumption, input takeover, and version-specific restart recovery each need separate checks. **Next**: [Shortest operations runbook](https://docs.taku.ai/os/operations/runbook/). --- # Emulator operations runbook Go from read-only inspection to targeted recovery while preserving output and attribution. > Taku OS research preview. Availability varies by device and version; see current progress. Run the relevant read-only checks after an update or when a prepared emulator behaves unexpectedly. If you already know the symptom, start in [Help](https://docs.taku.ai/os/help/overview/) and use only the matching steps here. Successful checks do not require a restart. Requires the system source The SDK commands on this page run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Goal and prerequisites](https://docs.taku.ai/os/operations/runbook/#goal-and-prerequisites) Use a prepared development emulator with an explicit serial. This article inspects existing state, without scanning account caches, all task prompts, or unrelated App data. A serial identifies the ADB target. Replace `emulator-5582` with the device shown by `adb devices`. Steps 1–2 run on the computer, with SDK commands run from the system repository. Steps 3–4 run in the selected device shell. The app-service step applies only to the experimental React/WebView path. ## [Check the running environment](https://docs.taku.ai/os/operations/runbook/#check-the-running-environment) ### [Connection and identity](https://docs.taku.ai/os/operations/runbook/#connection-and-identity) ``` adb devices adb -s emulator-5582 shell id adb -s emulator-5582 shell getenforce ``` **Result**: The target is online, and actual UID and Enforcing state are readable. Resolve unauthorized/offline connections first; do not select another device automatically. ### [Task snapshot and runtime](https://docs.taku.ai/os/operations/runbook/#task-snapshot-and-runtime) ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 adb -s emulator-5582 shell /system_ext/bin/codex --version ``` **Result**: Existing task IDs/state and program version. An ordinary shell may be denied. Version output does not prove account authentication or successful model requests. Home verifies state and results after a bounded task is submitted. ### [Independent display](https://docs.taku.ai/os/operations/runbook/#independent-display) In an integrated device shell: ``` phone-display status phone-display id phone-display capture ``` **Result**: Actual dynamic display ID, display list, and capture record. An old display.json does not prove a live host. A logical ID is not a SurfaceFlinger capture ID. ### [Application business service](https://docs.taku.ai/os/operations/runbook/#application-business-service) ``` cd /data/local/agentos/light-app-lab/free-app-kit sh api/service.sh status /data/local/agentos/light-app-lab/free-app-kit/mini-app list ``` **Result**: The current localhost service and actual method discovery. This process is not a system_server API, and startup-at-boot has not been verified. ### [Recover only the identified failing component](https://docs.taku.ai/os/operations/runbook/#recover-only-the-identified-failing-component) Skip this step when checks are normal. Display recovery interrupts the current background view; first stop or finish the task using it and retain the failure record. After confirming a display-host failure, run `phone-display stop` in the test environment, wait for exit, then run `phone-display start` and read the new ID. This does not uninstall Apps or clear accounts. Know which background UI will be affected before execution. Verify component rollback, phone reboot, and image recovery separately; do not blindly kill all services. ## [Required inspection record](https://docs.taku.ai/os/operations/runbook/#required-inspection-record) Version, serial, UID, SELinux, entry point, exit code, necessary JSON, native screenshot, and executor. Limit logs to the affected failure. Authentication, private keys, raw chats, and unrelated tasks are not public attachments. **Next**: [Error reference](https://docs.taku.ai/os/reference/errors/) or [Submit a reproduction](https://docs.taku.ai/os/contributing/overview/). --- # Use cases and design notes See how system actions, business processing and completion criteria form a task. > Taku OS research preview. Availability varies by device and version; see current progress. These articles start with a concrete need and explain which system actions it requires, which layer handles each part and how to verify the result. They are design notes, not ready-to-run automation templates. ## [How to read a scenario](https://docs.taku.ai/os/capabilities/cases/#how-to-read-a-scenario) ### [Identify the input and result](https://docs.taku.ai/os/capabilities/cases/#identify-the-input-and-result) Establish what the task reads, what it delivers and how a person can check the result. ### [Find system and business entry points](https://docs.taku.ai/os/capabilities/cases/#find-system-and-business-entry-points) Distinguish Android primitives, Taku's execution environment and processing provided by apps or extensions. Identify the missing implementation before adding code. ### [Use evidence to assess completion](https://docs.taku.ai/os/capabilities/cases/#use-evidence-to-assess-completion) A successful primitive does not validate a complete flow. Open the generated references and [capability status](https://docs.taku.ai/os/capabilities/status/) to check access, devices and verification scope. Design scope The articles describe intended flows and completion criteria. Emulator, physical-device and complete-ROM validation are separate; the number of scenarios is not a shipped-feature count. See [Available features](https://docs.taku.ai/os/releases/current-progress/) for what works today. ## [Similar topics, different outcomes](https://docs.taku.ai/os/capabilities/cases/#similar-topics-different-outcomes) | You want to… | Read… | | --- | --- | | Turn a chat agreement into an event | [Chat to calendar](https://docs.taku.ai/os/capabilities/cases/meeting/) | | Record a meeting and produce notes | [Meeting notes](https://docs.taku.ai/os/capabilities/cases/meeting-notes/) | | Plan departure for an existing event | [Calendar to ride](https://docs.taku.ai/os/capabilities/cases/calendar-ride/) | | Save the page currently on screen | [Save context](https://docs.taku.ai/os/capabilities/cases/save-context/) | | Explain a particular video segment | [Video learning](https://docs.taku.ai/os/capabilities/cases/video-learning/) | | Build an app now in a prepared environment | Follow the [app tutorial](https://docs.taku.ai/os/tools/app-generation/); [the design note](https://docs.taku.ai/os/capabilities/cases/make/) explains the intended result. | ## [Find a design note](https://docs.taku.ai/os/capabilities/cases/#find-a-design-note) Filter by scenario category. Each article includes its full explanation, completion criteria and capability references. ### [Turn a favorite picture into your wallpaper](https://docs.taku.ai/os/capabilities/cases/wallpaper/) Setting wallpaper is straightforward once the right picture is available. Finding the liked content, obtaining an image and choosing a frame are often the longer part. ### [From a travel screenshot to an editable itinerary](https://docs.taku.ai/os/capabilities/cases/trip/) Saving travel advice is easy. Before leaving, places, dates and transport still need arranging. A saved screenshot is not yet a usable plan. ### [Connect the steps that make a conversation understandable](https://docs.taku.ai/os/capabilities/cases/translate/) Someone listening to an unfamiliar language needs timely help with what is being said. For developers, audio capture, recognition, translation and output must work in sequence. ### [Record a run and know when to stay quiet](https://docs.taku.ai/os/capabilities/cases/run/) During a run, people may want records and useful cues without repeatedly checking the phone. That involves measurement, background work and the timing of prompts. ### [Move a chat agreement into the calendar](https://docs.taku.ai/os/capabilities/cases/meeting/) An agreement such as “Friday afternoon” can remain buried in messages. Helping turn it into a calendar entry requires more than detecting a few time words. ### [Describe a need and build your own app on the phone](https://docs.taku.ai/os/capabilities/cases/make/) Sometimes an existing app does not quite fit the tool someone needs. We want to explore whether an on-phone agent can write it and make it usable. ### [Why video-call filters need system work](https://docs.taku.ai/os/capabilities/cases/camera-beauty/) People may want the camera effect they like to appear in the video-call app they already use. That is the interesting part of this request for Taku OS. ### [After the meeting, keep the notes and the next steps](https://docs.taku.ai/os/capabilities/cases/meeting-notes/) A meeting can settle a question and agree on what happens next. Turning that discussion into useful notes often takes another pass through the recording and messages. ### [Before the next meeting, help arrange departure](https://docs.taku.ai/os/capabilities/cases/calendar-ride/) The calendar knows the next meeting time and the phone knows our location. Turning that information into a timely departure still requires routes, timing and a ride app. ### [Keep the content you are viewing in your own library](https://docs.taku.ai/os/capabilities/cases/save-context/) Saving useful content often means interrupting browsing, copying a link, switching apps andorganizing the source. We want saving to continue from the current page. ### [After a price matches, the order still needs completing](https://docs.taku.ai/os/capabilities/cases/price-order/) Watching a product or ticket and acting at a chosen price sounds like scheduling plus a click. The actual goal is a real order for the correct item. ### [Ask about a video segment and keep a useful note](https://docs.taku.ai/os/capabilities/cases/video-learning/) Questions while watching usually concern one short segment. Re-describing the content and finding its timestamp can interrupt learning. ### [Follow desktop coding work from the phone](https://docs.taku.ai/os/capabilities/cases/remote-coding/) A desktop build or test can keep running after someone leaves the desk. The phone should show real progress, explain errors and send the next instruction to that task. ### [Bring work from several apps into traceable progress](https://docs.taku.ai/os/capabilities/cases/work-followup/) Work may live in Microsoft Teams, Slack and Linear at the same time. Notifications alone make it hard to know what finished, changed or awaits a response. ### [Let AI communicate and keep the real reply](https://docs.taku.ai/os/capabilities/cases/multilingual-service/) Language can add effort to a restaurant booking or support email. We want help with understanding and expression while preserving the actual reply and outcome. ### [Turn daily updates into your own brief](https://docs.taku.ai/os/capabilities/cases/daily-intel/) Useful updates may come from X, design sites and other sources. Opening each takes time; a summary without links makes further reading difficult. ### [Continue from materials to actual post links](https://docs.taku.ai/os/capabilities/cases/social-publishing/) After a trip, pictures and ideas may already exist. Text, media and posting methods still need arranging for different platforms. ## [Start with an existing tool](https://docs.taku.ai/os/capabilities/cases/#start-with-an-existing-tool) ### [Build an app on the phone](https://docs.taku.ai/os/tools/app-generation/) Use the scoring experiment to verify preview, APK and API results. ### [Independent background display](https://docs.taku.ai/os/tools/background-display/) Use dynamic display IDs to operate existing apps. --- # Before the next meeting, help arrange departure The calendar knows the next meeting time and the phone knows our location. Turning that information into a timely departure still requires routes, timing and a ride app. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. The calendar knows the next meeting time and the phone knows our location. Turning that information into a timely departure still requires routes, timing and a ride app. We want to connect those actions while keeping destination, time and order status tied to the same task. ![Concept illustration of location and calendar informing travel](https://docs.taku.ai/media/cases/travel.jpg) AI-generated scenario illustration, not an actual running screen. ## [Begin with the calendar agreement](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#story-part-1) The request is to find the next meeting, plan departure and prepare a ride. First, identify the event, current location and a usable destination address. Only then look up routes and quotes. A travel card should make destination, departure time, ride choice and current state easy to inspect. ## [Location does not place an order](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#story-part-2) Location, calendar, notifications and opening apps are Android primitives. They provide the starting information, not prices or orders. Maps and ride services supply routes, quotes and orders. Region, login and available interfaces determine how the next actions work. ## [Let the OS keep the task moving](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#story-part-3) Taku should run the task and show progress and results alongside normal phone use. A service failure needs an explanation of where work stopped. Service connections and choice rules can be scripts or plugins. Available app operations can also be used directly; a dedicated ride plugin is not mandatory. ## [Verify what the service actually did](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#story-part-4) An event address may be incomplete and quotes may change. Ordering still follows the service’s verification and payment flow. Opening a ride page is not booking a car. This is a design case. Verification needs a correct destination and route, timely cues and a real order result behind the displayed status. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#completion-criteria) Correct destination, timely reminder and a clear result for the ride request. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/calendar-ride/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read location and movement](https://docs.taku.ai/os/capabilities/overview/#action-sense) ### [Open and use apps](https://docs.taku.ai/os/capabilities/overview/#action-act) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) - [Location and location context](https://docs.taku.ai/os/reference/generated/environment-location/) · `environment.location` - [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/) · `data.calendar` - [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/) · `apps.launch` - [Semantic actions and gestures without flashing](https://docs.taku.ai/os/reference/generated/input-accessibility/) · `input.accessibility` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # From a travel screenshot to an editable itinerary Saving travel advice is easy. Before leaving, places, dates and transport still need arranging. A saved screenshot is not yet a usable plan. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Saving travel advice is easy. Before leaving, places, dates and transport still need arranging. A saved screenshot is not yet a usable plan. We want Taku to continue that work while leaving the plan open to changes. ## [Find what the picture really says](https://docs.taku.ai/os/capabilities/cases/trip/#story-part-1) AI can read the image, identify places and plan around dates supplied by the user. If the image omits a date or place, it must not pretend that information is known. The result should be editable, with sources, openable routes, adjustable times and useful reminders. ## [System actions supply material, not the whole plan](https://docs.taku.ai/os/capabilities/cases/trip/#story-part-2) Photos, location, calendar and notifications are basic Android actions. They do not decide how to arrange two attractions. Place recognition, maps, transport information and timing need programs or services that can be changed independently. ## [Keep using the same plan after editing](https://docs.taku.ai/os/capabilities/cases/trip/#story-part-3) Taku should pass material to AI, run the task and provide editable results. Cards, map connections and reminder rules can be extensions or code written for this request. Changing the plan must update both the interface and reminders. An edited time with an old reminder is not a useful plan. ## [Keep evidence for the proposed trip](https://docs.taku.ai/os/capabilities/cases/trip/#story-part-4) This remains a concept. Images may be incomplete and service queries may fail. Preserve sources and indicate uncertain details. Verification checks correct places and dates, working routes and effective edits. Producing a long paragraph is not proof of a usable itinerary. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/trip/#completion-criteria) Correct places and dates, openable routes and an editable plan. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/trip/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read the screen](https://docs.taku.ai/os/capabilities/overview/#action-see) ### [Read location and movement](https://docs.taku.ai/os/capabilities/overview/#action-sense) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) - [Photo library and file locations](https://docs.taku.ai/os/reference/generated/data-photos/) · `data.photos` - [Location and location context](https://docs.taku.ai/os/reference/generated/environment-location/) · `environment.location` - [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/) · `data.calendar` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Custom home screen, task cards, and traditional-app entry points](https://docs.taku.ai/os/reference/generated/home-launcher/) · `home.launcher` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Turn a favorite picture into your wallpaper Setting wallpaper is straightforward once the right picture is available. Finding the liked content, obtaining an image and choosing a frame are often the longer part. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Setting wallpaper is straightforward once the right picture is available. Finding the liked content, obtaining an image and choosing a frame are often the longer part. That makes this case useful for separating existing phone actions from missing information and decisions. ## [Go from the content to the home screen](https://docs.taku.ai/os/capabilities/cases/wallpaper/#story-part-1) The proposed agent identifies liked content, obtains usable media, produces a wallpaper preview and sets it. The selected picture must actually appear on the home screen. A like event and content shared directly with AI are different starting points. Choose the path the app actually supports. ## [Wallpaper already has an entry point](https://docs.taku.ai/os/capabilities/cases/wallpaper/#story-part-2) Android already offers static wallpaper actions. With a usable image and the right access, the agent can call an existing command or API without a dedicated wallpaper plugin. The missing part is often identifying the like, its content and a usable image. Capture, sharing and page reading each provide different material and have different limits. ## [Connect the parts that are missing](https://docs.taku.ai/os/capabilities/cases/wallpaper/#story-part-3) Taku provides execution and visible previews, task state and results. App-specific observation, media retrieval and frame choice can be temporary code or community extensions. Retain an observation rule when it becomes useful repeatedly. A one-off task can simply use available tools. ## [Separate static images from video wallpapers](https://docs.taku.ai/os/capabilities/cases/wallpaper/#story-part-4) Video wallpaper also needs a player and tests for power use, recovery and display behavior. The complete case is not verified. Check the selected content and the actual wallpaper change. If media retrieval fails, explain it rather than choose an unrelated image. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/wallpaper/#completion-criteria) Choose the correct image and verify the wallpaper changed. Explain failures. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/wallpaper/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read the screen](https://docs.taku.ai/os/capabilities/overview/#action-see) ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) - [Custom home screen, task cards, and traditional-app entry points](https://docs.taku.ai/os/reference/generated/home-launcher/) · `home.launcher` - [Photo library and file locations](https://docs.taku.ai/os/reference/generated/data-photos/) · `data.photos` - [Screen capture without flashing](https://docs.taku.ai/os/reference/generated/screen-capture-public/) · `screen.capture.public` - [Read accessible UI trees from an ordinary app](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/) · `ui.tree.accessibility` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Move a chat agreement into the calendar An agreement such as “Friday afternoon” can remain buried in messages. Helping turn it into a calendar entry requires more than detecting a few time words. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. An agreement such as “Friday afternoon” can remain buried in messages. Helping turn it into a calendar entry requires more than detecting a few time words. Earlier context, the place and later changes can all affect the result. ## [Show an event the user can review](https://docs.taku.ai/os/capabilities/cases/meeting/#story-part-1) The proposed agent reads allowed message content, drafts the time and place, then writes the reviewed event and checks duplicates. A notification may lack earlier context. Reading one notification is not access to the whole conversation. ## [Messages and calendar use separate entry points](https://docs.taku.ai/os/capabilities/cases/meeting/#story-part-2) Android offers notification and calendar capabilities with their own access conditions. WhatsApp Desktop also requires a desktop connection program; phone rights do not extend to the computer. The OS should give AI source-aware information and make the proposed action and result visible. ## [Keep interpretation and connections replaceable](https://docs.taku.ai/os/capabilities/cases/meeting/#story-part-3) Date parsing, context, rescheduling and duplicate checks can be scripts or plugins. Service connections can be maintained separately too. Use available entry points for one request; retain connections and rules for repeated use. ## [Check the actual calendar entry](https://docs.taku.ai/os/capabilities/cases/meeting/#story-part-4) The complete case is not verified. Verification needs correct time and place, no duplicates and an observable calendar result. “We arranged it” is not proof. Explain missing information or write failures. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/meeting/#completion-criteria) Use the correct time and place, ask me to review it and avoid duplicate events. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/meeting/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) ### [Check and adjust the phone](https://docs.taku.ai/os/capabilities/overview/#action-system) - [Listen for notification changes](https://docs.taku.ai/os/reference/generated/notifications-listen/) · `notifications.listen` - [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/) · `data.calendar` - [On-device task execution and state queue](https://docs.taku.ai/os/reference/generated/runtime-broker/) · `runtime.broker` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Turn daily updates into your own brief Useful updates may come from X, design sites and other sources. Opening each takes time; a summary without links makes further reading difficult. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Useful updates may come from X, design sites and other sources. Opening each takes time; a summary without links makes further reading difficult. We want selected-source updates that are quick to scan and easy to trace. ## [Begin with the chosen sources](https://docs.taku.ai/os/capabilities/cases/daily-intel/#story-part-1) With topics and timing specified, AI reads new content, classifies it and keeps publication dates and links. Report unavailable sources. The brief represents this collection, not a promise to include everything that happened today. ## [Separate scheduling from content methods](https://docs.taku.ai/os/capabilities/cases/daily-intel/#story-part-2) Network, storage, scheduling and notifications are Android actions. Taku should start tasks, expose failure and save results. Site connections, RSS, classification, duplicate checks and ranking can be replaceable software. ## [Remember what has already been processed](https://docs.taku.ai/os/capabilities/cases/daily-intel/#story-part-3) Avoid sending the same item daily. If several sources cover one event, preserve their relationships and links. Run temporary code for a one-off brief and retain sources and rules that are useful repeatedly. ## [Make dates and gaps visible](https://docs.taku.ai/os/capabilities/cases/daily-intel/#story-part-4) The complete case still needs testing. Login, access limits and site changes affect collection. Check sources, publication and collection dates, duplicates and gaps. Explain empty results instead of inventing a complete-looking brief. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/daily-intel/#completion-criteria) Keep sources and dates, avoid repeated items and show unavailable sources. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/daily-intel/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) · `tasks.status` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Bring work from several apps into traceable progress Work may live in Microsoft Teams, Slack and Linear at the same time. Notifications alone make it hard to know what finished, changed or awaits a response. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Work may live in Microsoft Teams, Slack and Linear at the same time. Notifications alone make it hard to know what finished, changed or awaits a response. We want a combined view while preserving a path back to each original service. ## [Connect actual task sources](https://docs.taku.ai/os/capabilities/cases/work-followup/#story-part-1) Read authorized tasks and updates, then identify due dates, changes and blockers. Messages and calendar can supplement records, not replace a complete task database. A work card or review should link to the original task and current state. ## [Notifications are not the full work collection](https://docs.taku.ai/os/capabilities/cases/work-followup/#story-part-2) Android supplies notifications, calendar and background execution. Taku can schedule checks and show results. Reading, updating or communicating through each work service requires its own connection and access. Fields and outcomes may differ. ## [Keep connections and follow-up rules separate](https://docs.taku.ai/os/capabilities/cases/work-followup/#story-part-3) Plugins can provide service access. Scripts or rules can decide when to remind, how to deduplicate and how to summarize. One connector can serve many tasks; not every workflow needs to be fixed inside it. ## [Match the original services](https://docs.taku.ai/os/capabilities/cases/work-followup/#story-part-4) Verification needs matching task data, no duplicate reminders and real results for writes or communications. When a source cannot update, report the gap rather than present yesterday’s state as complete current progress. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/work-followup/#completion-criteria) Match the original service, avoid duplicate reminders and verify writes or communications. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/work-followup/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Listen for notification changes](https://docs.taku.ai/os/reference/generated/notifications-listen/) · `notifications.listen` - [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/) · `data.calendar` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) · `tasks.status` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Follow desktop coding work from the phone A desktop build or test can keep running after someone leaves the desk. The phone should show real progress, explain errors and send the next instruction to that task. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. A desktop build or test can keep running after someone leaves the desk. The phone should show real progress, explain errors and send the next instruction to that task. This also separates phone permissions from the computer’s own access rules. ## [Read the computer’s actual output](https://docs.taku.ai/os/capabilities/cases/remote-coding/#story-part-1) Connect to the chosen computer executor, read the right task and send instructions back to the same session. Phone status must reflect the computer. Report when new information is unavailable after disconnection. ## [Phone privileges do not open a computer](https://docs.taku.ai/os/capabilities/cases/remote-coding/#story-part-2) Android provides network, background work and notifications. A desktop program and authorization are still needed; phone Root does not grant remote access. Taku displays connection and task state. Desktop companions and coding-tool connections can be separate extensions. ## [Locate the task again after disconnection](https://docs.taku.ai/os/capabilities/cases/remote-coding/#story-part-3) On reconnect, determine whether work continues, has finished or needs attention. Resending an instruction is not proof of recovery. Retain a reusable connection as a plugin and let the agent organize each task around the current need. ## [Verify actual output and delivery](https://docs.taku.ai/os/capabilities/cases/remote-coding/#story-part-4) This complete case still needs tests for output, completion, correct-session delivery and interruption detection. A “running” label without fresh output or provenance is insufficient evidence. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/remote-coding/#completion-criteria) Show real output and results, deliver instructions to the right task and detect disconnections. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/remote-coding/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) ### [Check and adjust the phone](https://docs.taku.ai/os/capabilities/overview/#action-system) - [Research: cross-device agent collaboration](https://docs.taku.ai/os/reference/generated/runtime-cross-device/) · `runtime.cross-device` - [On-device Codex CLI and low-level shell](https://docs.taku.ai/os/reference/generated/agent-cli/) · `agent.cli` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) · `tasks.status` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Continue from materials to actual post links After a trip, pictures and ideas may already exist. Text, media and posting methods still need arranging for different platforms. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. After a trip, pictures and ideas may already exist. Text, media and posting methods still need arranging for different platforms. Generating content and publishing it are two different completion checks. ## [Make materials reviewable first](https://docs.taku.ai/os/capabilities/cases/social-publishing/#story-part-1) AI reads selected materials and account/platform requirements, then prepares the text and images. The preview should clearly show what is to be posted. After publication, keep the actual platform link for edits and future planning. ## [Basic phone actions provide the start](https://docs.taku.ai/os/capabilities/cases/social-publishing/#story-part-2) Files, photos, sharing, apps, input and networking are existing capabilities. They do not automatically know platform-specific posting rules. Taku can manage materials, tasks and results. Connections, formatting, asset creation and account rules can be replaceable programs. ## [Follow the actual publishing entry](https://docs.taku.ai/os/capabilities/cases/social-publishing/#story-part-3) Use APIs when available or the app’s real interface when required. Retain useful adaptations as plugins without requiring a plugin before every task. Creation and publication tools can improve independently. ## [Open and check the actual post](https://docs.taku.ai/os/capabilities/cases/social-publishing/#story-part-4) This complete case still needs verification. Check account, text, images and the final link, not just the Publish click. After interruption, check whether a post exists before retrying. Show real success or failure and avoid duplicates. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/social-publishing/#completion-criteria) Match the preview, provide an openable post link and explain failures. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/social-publishing/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Open and use apps](https://docs.taku.ai/os/capabilities/overview/#action-act) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Create new apps](https://docs.taku.ai/os/capabilities/overview/#action-create) - [Photo library and file locations](https://docs.taku.ai/os/reference/generated/data-photos/) · `data.photos` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` - [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/) · `apps.launch` - [Semantic actions and gestures without flashing](https://docs.taku.ai/os/reference/generated/input-accessibility/) · `input.accessibility` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Keep the content you are viewing in your own library Saving useful content often means interrupting browsing, copying a link, switching apps andorganizing the source. We want saving to continue from the current page. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Saving useful content often means interrupting browsing, copying a link, switching apps andorganizing the source. We want saving to continue from the current page. AI needs to know what “this” refers to when the user asks it to remember something. ## [Bring the current page to AI](https://docs.taku.ai/os/capabilities/cases/save-context/#story-part-1) The system should obtain available pictures, text or shared material at invocation time, rather than ask AI to guess the subject. After saving, show where the content went and let the original app remain usable. ## [Existing actions provide different material](https://docs.taku.ai/os/capabilities/cases/save-context/#story-part-2) Capture, accessible page text, shares and storage are Android actions, but they do not return identical content. A screenshot may be one frame; a share may be only a link. Taku should pass actual material with its provenance. ## [Let people choose how to organize it](https://docs.taku.ai/os/capabilities/cases/save-context/#story-part-3) Titles, summaries, categories and destinations can be scripts or plugins. App-specific reading can be adapted separately. Use temporary code for one task and retain a useful connection or rule for later. ## [Preserve sources and expose gaps](https://docs.taku.ai/os/capabilities/cases/save-context/#story-part-4) The full case still needs testing. Saved content should link back to its source and avoid duplicates. One screenshot is not a saved video. Report protected pictures or missing text. Continuing to browse is also part of verification. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/save-context/#completion-criteria) Save sources and links, avoid duplicates and let me keep browsing. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/save-context/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read the screen](https://docs.taku.ai/os/capabilities/overview/#action-see) ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) - [Default digital assistant and global invocation](https://docs.taku.ai/os/reference/generated/assistant-entry/) · `assistant.entry` - [Screen capture without flashing](https://docs.taku.ai/os/reference/generated/screen-capture-public/) · `screen.capture.public` - [Read accessible UI trees from an ordinary app](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/) · `ui.tree.accessibility` - [Foreground clipboard / share entry point](https://docs.taku.ai/os/reference/generated/context-clipboard/) · `context.clipboard` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Let AI communicate and keep the real reply Language can add effort to a restaurant booking or support email. We want help with understanding and expression while preserving the actual reply and outcome. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Language can add effort to a restaurant booking or support email. We want help with understanding and expression while preserving the actual reply and outcome. This involves channels, facts and follow-up, beyond translating a sentence. ## [Establish what should be communicated](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#story-part-1) AI needs the goal, language and known facts before using an available phone or email channel. Keep replies and next actions. The user should be able to inspect progress and take over. Without a definite response, do not mark a booking confirmed or a dispute resolved. ## [Dialing and reading audio are separate](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#story-part-2) Android can record microphones, play audio and open a dialer. That does not grant both sides of calls; specific audio paths need adaptation. Mail also needs a service connection. The OS owns task visibility while channels, translation and expression software remain replaceable. ## [Connect communication to outcomes](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#story-part-3) Preserve replies and distinguish sent, waiting, confirmed and unfinished. Check prior records before repeated contact. Scripts, plugins or existing tools can supply these actions. ## [Verify the other party’s reply](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#story-part-4) This is a design case. Verification requires a checkable booking or email reply matching the request. Explain unavailable audio, missing responses or handoffs. A model-generated success claim is not evidence. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#completion-criteria) Obtain a booking confirmation or email reply; explain failures and next steps. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/multilingual-service/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Record and play sound](https://docs.taku.ai/os/capabilities/overview/#action-hear) ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Open and use apps](https://docs.taku.ai/os/capabilities/overview/#action-act) - [Microphone and voice capture](https://docs.taku.ai/os/reference/generated/audio-microphone/) · `audio.microphone` - [Research: both sides of cellular / VoIP audio](https://docs.taku.ai/os/reference/generated/audio-calls/) · `audio.calls` - [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/) · `apps.launch` - [On-device task execution and state queue](https://docs.taku.ai/os/reference/generated/runtime-broker/) · `runtime.broker` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # After a price matches, the order still needs completing Watching a product or ticket and acting at a chosen price sounds like scheduling plus a click. The actual goal is a real order for the correct item. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Watching a product or ticket and acting at a chosen price sounds like scheduling plus a click. The actual goal is a real order for the correct item. Options, stock, queues and payment can all change the outcome. ## [Make the rule specific](https://docs.taku.ai/os/capabilities/cases/price-order/#story-part-1) AI needs the item, option, quantity, price range and timing. Each price check must refer to the same item. After a match, record order progress and results, permit stopping and expose failures. ## [The OS runs work; the platform provides transaction data](https://docs.taku.ai/os/capabilities/cases/price-order/#story-part-2) Network, scheduling, notifications and app use are Android actions. Taku should connect them into a task that keeps running and has visible results. Product connections, quote comparisons and buying rules need software adapted to each service. ## [Use the entry point that exists](https://docs.taku.ai/os/capabilities/cases/price-order/#story-part-3) Call available APIs directly, or follow the app’s real flow. Plugins can retain connections and rules, but are not a mandatory first step. Queues, verification, rate limits and payment remain part of the platform process. System privileges do not remove them. ## [Submitted is not purchased](https://docs.taku.ai/os/capabilities/cases/price-order/#story-part-4) This is still a concept. Verify item, option, price and a real receipt or explicit failure. Check for existing orders before retrying. Reaching checkout is not successful purchase. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/price-order/#completion-criteria) Correct item, option and price; a real order result; the task can be stopped. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/price-order/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Open and use apps](https://docs.taku.ai/os/capabilities/overview/#action-act) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/) · `apps.launch` - [Semantic actions and gestures without flashing](https://docs.taku.ai/os/reference/generated/input-accessibility/) · `input.accessibility` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) · `tasks.status` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Describe a need and build your own app on the phone Sometimes an existing app does not quite fit the tool someone needs. We want to explore whether an on-phone agent can write it and make it usable. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Sometimes an existing app does not quite fit the tool someone needs. We want to explore whether an on-phone agent can write it and make it usable. Generating files is only one part of that work. To try the existing implementation, follow [App generation](https://docs.taku.ai/os/tools/app-generation/) in a prepared development environment, then [call its API](https://docs.taku.ai/os/tools/app-interfaces/). This note explains the design and completion goals; it does not replace the tutorial prerequisites. ## [Let the need determine the features](https://docs.taku.ai/os/capabilities/cases/make/#story-part-1) For an expense tool, the agent must write actual features and UI, including storage, edits and queries. It must not be limited to changing labels in a fixed template. Reusable components can save work. Preview should run the actual application code. ## [Add the tools Android does not include](https://docs.taku.ai/os/capabilities/cases/make/#story-part-2) Android can save files and install or open apps. It does not provide the full request-to-code, build, signing and installation workflow. Taku needs to prepare those tools for the agent. Both coding and building must succeed. ## [Let people and AI use the same data](https://docs.taku.ai/os/capabilities/cases/make/#story-part-3) An app with APIs can become a tool for future agent tasks. An API is a method another program can call with the required information. An edit through the interface must appear in API results, and an API edit must appear in the interface. Otherwise they are separate tools. ## [Verify more than a preview](https://docs.taku.ai/os/capabilities/cases/make/#story-part-4) On-phone app creation has emulator experiments, not a guarantee that every app is automatically completed. A standalone app needs an actual APK build, installation, launch and feature/API tests. A webpage preview alone does not satisfy that claim. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/make/#completion-criteria) An installable app with working features and correct results from its APIs. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/make/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) ### [Create new apps](https://docs.taku.ai/os/capabilities/overview/#action-create) - [On-device Codex CLI and low-level shell](https://docs.taku.ai/os/reference/generated/agent-cli/) · `agent.cli` - [Generate, preview, and export standalone APKs on the phone](https://docs.taku.ai/os/reference/generated/apps-generate/) · `apps.generate` - [Install, update, and remove standalone APKs](https://docs.taku.ai/os/reference/generated/apps-install/) · `apps.install` - [Expose generated-app business functions / external calls](https://docs.taku.ai/os/reference/generated/apps-business-api/) · `apps.business-api` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Record a run and know when to stay quiet During a run, people may want records and useful cues without repeatedly checking the phone. That involves measurement, background work and the timing of prompts. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. During a run, people may want records and useful cues without repeatedly checking the phone. That involves measurement, background work and the timing of prompts. Sensor measurements still need processing before they become a trustworthy activity record. ## [Start a definite task](https://docs.taku.ai/os/capabilities/cases/run/#story-part-1) A user can ask to record a run. Detecting its start automatically from motion is another option, with separate accuracy tests. The task should show progress and leave a record when stopped, rather than continue indefinitely. ## [Use location and sensors first](https://docs.taku.ai/os/capabilities/cases/run/#story-part-2) Location, motion sensors, media control and notifications are Android primitives. Hardware and access determine which measurements are available. Movement does not always mean running. Activity detection and statistics require software. ## [Separate recording from coaching methods](https://docs.taku.ai/os/capabilities/cases/run/#story-part-3) The system should manage continued execution, state and stopping. Coaching logic, calculations, music rules and cues can be replaceable code. Keep a plugin or generate code for this task. The interface and agent should use the same activity record. ## [Test on an actual run](https://docs.taku.ai/os/capabilities/cases/run/#story-part-4) Emulator sensors cannot establish real running behavior. Routes, screen-lock operation and battery effects need real devices. This case is a concept. Verify accurate records, appropriate cues and that stopping ends recording. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/run/#completion-criteria) Match records to the activity, deliver timely cues and stop recording when asked. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/run/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Record and play sound](https://docs.taku.ai/os/capabilities/overview/#action-hear) ### [Read location and movement](https://docs.taku.ai/os/capabilities/overview/#action-sense) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Location and location context](https://docs.taku.ai/os/reference/generated/environment-location/) · `environment.location` - [Sensors and activity recognition](https://docs.taku.ai/os/reference/generated/environment-sensors/) · `environment.sensors` - [Media-session state and playback control](https://docs.taku.ai/os/reference/generated/context-media/) · `context.media` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # After the meeting, keep the notes and the next steps A meeting can settle a question and agree on what happens next. Turning that discussion into useful notes often takes another pass through the recording and messages. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. A meeting can settle a question and agree on what happens next. Turning that discussion into useful notes often takes another pass through the recording and messages. We want Taku OS to continue that work: keep the audio, make the discussion easy to revisit, and show the next actions. This is a design note, not a report of a complete flow working on a real phone. ![Concept illustration of meeting audio becoming notes and actions](https://docs.taku.ai/media/cases/meeting.jpg) AI-generated scenario illustration, not an actual running screen. ## [Start with “record this meeting”](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#story-part-1) In the proposed experience, you ask the phone to record the meeting and return decisions and tasks. Recording starts with a visible state, so you can tell whether it is still running. You can pause and stop it. When processing finishes, you get editable notes. A decision or task should link back to the relevant audio, rather than exist only as a sentence generated by AI. ## [First, keep the sound reliably](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#story-part-2) This first step does not need elaborate AI. Android already provides microphone recording and file storage. These are primitives: basic system actions that a program can use with the right access. But recording a short clip is different from keeping a whole meeting. Screen locking, interruption and the final audio file all need testing. A successful test with the screen on is not proof that the entire recording task works. ## [Give the recording task a beginning and an end](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#story-part-3) Ordinary Android apps can record too. We design continued recording and state as shared Taku capabilities so AI, the home screen and different note processors can use one task instead of each creating its own recording flow. The interface and agent must use the same state. If the interface says recording stopped, it must actually stop. If AI says processing finished, the notes and original audio must open. A click or a partially generated file is not a completed result. ## [Keep the interpretation replaceable](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#story-part-4) Transcription, speaker identification, summaries and task extraction belong in scripts, apps or plugins. Authors can choose models, note formats and task services without rebuilding the whole system whenever the summarizer changes. A first attempt can be temporary code. Retain it when the method becomes useful repeatedly. When writing to a notes or task app, check that the destination actually received it; generating text alone does not complete that step. ## [Results need a path back to what was said](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#story-part-5) Room recording, capturing another app’s playback and recording calls are separate access paths. Microphone permission does not grant both sides of every call. Noise and overlapping voices also affect recognition. Verification must check audio-text alignment, the evidence behind tasks, pause and stop, and what remains after failure. This case is still a concept, not a physical-device verification report. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#completion-criteria) Notes link to the right audio, tasks are grounded in what was said and pause/stop work. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/meeting-notes/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Record and play sound](https://docs.taku.ai/os/capabilities/overview/#action-hear) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Microphone and voice capture](https://docs.taku.ai/os/reference/generated/audio-microphone/) · `audio.microphone` - [Research: both sides of cellular / VoIP audio](https://docs.taku.ai/os/reference/generated/audio-calls/) · `audio.calls` - [Capture other apps’ playback through ordinary APIs](https://docs.taku.ai/os/reference/generated/audio-playback/) · `audio.playback` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` - [Power, WakeLock, and task scheduling](https://docs.taku.ai/os/reference/generated/runtime-power/) · `runtime.power` - [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/) · `notifications.post` - [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/) · `tasks.status` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Connect the steps that make a conversation understandable Someone listening to an unfamiliar language needs timely help with what is being said. For developers, audio capture, recognition, translation and output must work in sequence. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Someone listening to an unfamiliar language needs timely help with what is being said. For developers, audio capture, recognition, translation and output must work in sequence. Delays or mismatched results can make even an accurate translation hard to use. ## [Identify the sound being translated](https://docs.taku.ai/os/capabilities/cases/translate/#story-part-1) After the request, the phone captures allowed microphone audio and sends recognized text to translation. Results may appear as captions or be read through earbuds. Recording and translation need visible state and pause or stop controls. ## [Recording is a primitive; understanding is processing](https://docs.taku.ai/os/capabilities/cases/translate/#story-part-2) Android already records, plays and displays. Recognition, translation and spoken output still need software. The OS should provide reliable task execution and state. Models and output methods should remain replaceable. ## [Preserve the order of the conversation](https://docs.taku.ai/os/capabilities/cases/translate/#story-part-3) Software must link text to the right audio segment and distinguish waiting from finished work. A late result for an earlier sentence must not appear as the latest translation. Start with a script if useful; retain it as a plugin for repeated use. Trying another model should not require a new system image. ## [Do not promise access to every call](https://docs.taku.ai/os/capabilities/cases/translate/#story-part-4) Microphone access is not universal call or app-audio access. Each source needs its own access and tests. The full case still needs testing for matching results, acceptable delays and effective pause and stop. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/translate/#completion-criteria) Match the translation to the conversation and allow pause and stop. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/translate/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Record and play sound](https://docs.taku.ai/os/capabilities/overview/#action-hear) ### [Change the home screen](https://docs.taku.ai/os/capabilities/overview/#action-surface) ### [Keep working in the background](https://docs.taku.ai/os/capabilities/overview/#action-background) - [Microphone and voice capture](https://docs.taku.ai/os/reference/generated/audio-microphone/) · `audio.microphone` - [Capture other apps’ playback through ordinary APIs](https://docs.taku.ai/os/reference/generated/audio-playback/) · `audio.playback` - [Default digital assistant and global invocation](https://docs.taku.ai/os/reference/generated/assistant-entry/) · `assistant.entry` - [Global assistance layer / floating window](https://docs.taku.ai/os/reference/generated/home-overlay/) · `home.overlay` - [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/) · `runtime.background-public` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Why video-call filters need system work Use a preferred camera effect in the video-call app you already use. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. People may want the camera effect they like to appear in the video-call app they already use. That is the interesting part of this request for Taku OS. “Camera permission” is not enough to explain it. We need to separate what Android provides, where the system must change and what a filter author can contribute. ![Concept illustration of camera processing in a video call](https://docs.taku.ai/media/cases/camera.jpg) AI-generated scenario illustration, not an actual running screen. ## [Decide where the effect must appear](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#story-part-1) An app we create can receive camera pictures and filter its own preview. That proves an effect inside our app, not inside WhatsApp. The video-call request goes further: the call app must receive processed pictures too. Making our preview look better does not prove that the person on the other end sees that effect. ## [The existing camera action is only the start](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#story-part-2) Android provides camera access, subject to permission and hardware support. To process pictures for other apps, we must find the appropriate point before those pictures reach the target app. Phones and apps may use different paths. CAMERA permission by itself does not add a universal processing stage. ## [The OS provides the place; replaceable programs provide effects](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#story-part-3) Our design puts the shared processing entry, state and restoration behavior in the system. Changes to Android or device-specific implementation need image builds and new tests. Beauty algorithms, AI filters and controls can be replaceable programs. Authors can improve effects without each rebuilding a camera system of their own. ## [Test the pictures inside the actual call](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#story-part-4) Lens switching, rotation and processing speed matter. An attractive effect that lags or fails on the front camera is not a completed feature. This remains research. A named phone and call app must show that the other party receives filtered pictures, disabling restores the original, and the call stays responsive. Other camera paths may need separate work. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#completion-criteria) See the filter in a real WhatsApp call, restore the original picture when disabled and avoid noticeable lag. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/camera-beauty/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read the screen](https://docs.taku.ai/os/capabilities/overview/#action-see) ### [Check and adjust the phone](https://docs.taku.ai/os/capabilities/overview/#action-system) - [Ordinary camera preview / real-time understanding](https://docs.taku.ai/os/reference/generated/camera-read/) · `camera.read` - [Research: cross-app camera beautification / image-pipeline replacement](https://docs.taku.ai/os/reference/generated/camera-global-filter/) · `camera.global-filter` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Ask about a video segment and keep a useful note Questions while watching usually concern one short segment. Re-describing the content and finding its timestamp can interrupt learning. > Taku OS research preview. Availability varies by device and version; see current progress. Design note This article explains an intended flow. The complete scenario has not been verified end to end. Questions while watching usually concern one short segment. Re-describing the content and finding its timestamp can interrupt learning. We want invocation-time context to connect the question, explanation and note. ## [Find the material the question refers to](https://docs.taku.ai/os/capabilities/cases/video-learning/#story-part-1) The phone needs the available frame, time and captions or audio. The explanation must refer to that actual material. Save results with sources so a note can return to the video and position. ## [Basic actions do not provide the whole video](https://docs.taku.ai/os/capabilities/cases/video-learning/#story-part-2) Capture, sharing, allowed audio and storage are Android primitives. One frame does not reveal an entire video. Caption access, recognition and explanation need programs of their own. ## [Separate current context from interpretation](https://docs.taku.ai/os/capabilities/cases/video-learning/#story-part-3) Taku should pass current content to the task and show the result. Caption connections, audio recognition, explanation and notes services can be scripts or plugins. Generate missing code for one request or retain useful methods. Saving should leave playback usable. ## [Explain what the answer is based on](https://docs.taku.ai/os/capabilities/cases/video-learning/#story-part-4) The full flow needs tests for segment relevance, source preservation and playback continuity. Do not invent missing quotations. Identify what was actually obtained when context is insufficient. ## [Completion criteria](https://docs.taku.ai/os/capabilities/cases/video-learning/#completion-criteria) Explain the requested segment, keep sources in the notes and preserve playback. ## [Related capabilities and references](https://docs.taku.ai/os/capabilities/cases/video-learning/#related-capabilities-and-references) These actions are also called system primitives. Browse them by purpose or open the generated references for permissions, examples and evidence. ### [Read the screen](https://docs.taku.ai/os/capabilities/overview/#action-see) ### [Record and play sound](https://docs.taku.ai/os/capabilities/overview/#action-hear) ### [Read current information](https://docs.taku.ai/os/capabilities/overview/#action-context) ### [Read and save information](https://docs.taku.ai/os/capabilities/overview/#action-organize) - [Screen capture without flashing](https://docs.taku.ai/os/reference/generated/screen-capture-public/) · `screen.capture.public` - [Capture other apps’ playback through ordinary APIs](https://docs.taku.ai/os/reference/generated/audio-playback/) · `audio.playback` - [Default digital assistant and global invocation](https://docs.taku.ai/os/reference/generated/assistant-entry/) · `assistant.entry` - [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/) · `data.files` - [Media-session state and playback control](https://docs.taku.ai/os/reference/generated/context-media/) · `context.media` The interface list comes from the Taku OS specification. [Check capability status and evidence](https://docs.taku.ai/os/capabilities/status/). [All design notes](https://docs.taku.ai/os/capabilities/cases/) · [System and extension roles](https://docs.taku.ai/os/capabilities/layers/) --- # Understanding the Taku OS Harness Place the agent execution system within Taku OS and distinguish it from the Taku context module. > Taku OS research preview. Availability varies by device and version; see current progress. **The Taku OS Agent Harness organizes models, context, tools and task execution. It is one part of the operating system.** Android, system services, Home, applications and image delivery make up the broader Taku OS. This chapter explains how those parts cooperate, then covers the implemented context module and how to inspect it. No source knowledge is required. To try a phone task first, go to [Complete your first task](https://docs.taku.ai/os/agents/tasks-sessions/). ## [Two meanings of Harness](https://docs.taku.ai/os/harness/overview/#two-meanings-of-harness) | Name | Meaning in this chapter | | --- | --- | | Agent Harness, the broader execution system | The mechanisms organizing model calls, tool execution, context, task coordination and feedback; responsibility is spread across existing components | | Taku Harness module | The part named Harness in the source and settings, managing Taku background instructions, environment snapshots, updates and trace records | The View Harness context setting exposes the second scope. It is not a console for the whole execution system and does not store another chat history. The broader grouping explains responsibilities; it does not imply a single process implements everything. ![Android and Home support the Taku OS execution system, with separate responsibilities for the system task service, Codex, context, model gateway and tools](https://docs.taku.ai/media/diagrams/harness-system.en.svg) System relationship diagram. Boxes describe responsibilities, not process isolation or a verified security sandbox. ## [How it relates to the operating system](https://docs.taku.ai/os/harness/overview/#how-it-relates-to-the-operating-system) Android supplies system services, the application environment and permissions. Home and the assistant interface accept goals and show tasks. The Agent Harness puts a goal into execution: the system task service coordinates the task, Codex calls the model and handles tool exchanges, Taku Harness prepares background context, and tools actually access the device. This execution system depends on Android capabilities and the caller's real permissions. Providing instructions, installing a Skill or enabling Magpie does not grant new Android permissions. Background displays and ordinary apps also have their own system implementations; they are not all part of the context module. ## [Models, Codex and Magpie](https://docs.taku.ai/os/harness/overview/#models-codex-and-magpie) | Part | Responsibility | Read next | | --- | --- | --- | | DeepSeek and other model services | Infer from input and return text or tool-call requests; the current DeepSeek path uses an online API | [Model connections](https://docs.taku.ai/os/models/overview/) | | Codex App Server | Manage native conversations, turns, items and the model/tool loop | [Components and responsibilities](https://docs.taku.ai/os/harness/components/) | | Magpie | Third-party open-source model gateway; provides an on-device gateway and catalog, routing requests to configured upstream services | [On-device DeepSeek tutorial](https://docs.taku.ai/os/models/magpie-deepseek/) | | Taku Harness module | Supply versioned background, append changes and link execution trace information | [Context and recovery](https://docs.taku.ai/os/harness/context/) | ChatGPT and Magpie connections share the existing Codex conversation system. Magpie adds no second task queue, and a model service is not the whole Harness. ## [Read this chapter in order](https://docs.taku.ai/os/harness/overview/#read-this-chapter-in-order) ### [1. Components and responsibilities](https://docs.taku.ai/os/harness/components/) Locate the owners of queues, conversations, background, Skills and device operations. ### [2. How a task executes](https://docs.taku.ai/os/harness/task-flow/) Follow a read-only query through input, context, model and tools. ### [3. Context, updates and recovery](https://docs.taku.ai/os/harness/context/) Understand stable background, appended updates, snapshots and unconfirmed delivery. ### [4. Inspect and troubleshoot](https://docs.taku.ai/os/harness/inspect/) Inspect the seven background modules and interpret common states in an existing preview. ## [Scope of this chapter](https://docs.taku.ai/os/harness/overview/#scope-of-this-chapter) Harness and Skills are verified on a dedicated emulator. The Pixel 9 Codex component results do not mean this module is verified on a physical device, and the latest complete ROM still needs separate verification. See [Current progress](https://docs.taku.ai/os/releases/current-progress/). --- # Components and responsibilities Separate task scheduling, native conversations, model connections, context, Skills and Android tools. > Taku OS research preview. Availability varies by device and version; see current progress. Several components cooperate on a Taku OS task. Knowing which component owns each state avoids confusing the interface, task queue and background records. ## [Shared services and separate data](https://docs.taku.ai/os/harness/components/#shared-services-and-separate-data) [Taku AI](https://docs.taku.ai/os/models/system-ai/) binds each feature’s scene to a model group and manages per-app permission. [Memory](https://docs.taku.ai/os/guides/memory/) owns saved records and exposes queries through the original Assistant. [Surfaces](https://docs.taku.ai/os/extensions/surfaces/) presents content and reports actions. [Explicit image suggestions](https://docs.taku.ai/os/models/screen-suggestions/) skip Jev and use the `screen` scene’s image model; the automatic code first asks the decision model in the `jev` scene, then sends the same image to the `screen` scene model. An accepted suggestion still enters the original system task service. ## [Parts of the execution system](https://docs.taku.ai/os/harness/components/#parts-of-the-execution-system) | Part | Core responsibility | What to inspect | | --- | --- | --- | | Home / assistant interface | Accept requests and show conversations, work logs and results | The actual interface and corresponding execution records; UI state is a projection | | Decision models and hints | Assess this invocation through on-phone Magpie with the `jev` scene’s model; hand off only after you accept | Decision receipt, user consent and one task; see [Decision models and Jev](https://docs.taku.ai/os/models/jev/) | | System task service | Coordinate the existing local task queue and lifecycle | Existing task directories and task states; no parallel queue | | Codex App Server | Call models and handle tools, interruption and native conversations | Native `thread`, `turn`, `item` and events | | Model connections and Magpie | Select connections, provide a catalog and route requests to the model group bound to each scene | Selected connection, gateway and actual calls; ChatGPT account status cannot substitute for Magpie status | | Taku Harness | Assemble background, append changes and preserve snapshots and trace links | Taku-managed context versions, hashes and receipts | | Skills | Supply task-related instructions and resources to the native runtime | Native recognition, enablement, conversation selection and actual adoption | | Android tool entry points | Execute real commands, SDK calls or application business interfaces | Tool results, device state and actual permissions | A model tool-call request still needs a tool to execute and return a result. A model's “done” response is only part of the answer; actual output or device results must support success. ## [Inside the Taku Harness module](https://docs.taku.ai/os/harness/components/#inside-the-taku-harness-module) These implementation names mark responsibilities and help developers locate code. They serve existing conversations and do not start a second Agent. | Implementation module | Responsibility | | --- | --- | | `HarnessCatalog` | Read versioned policy modules from the APK and assemble Taku background | | `HarnessEnvironment` | Observe OS, displays and toolchains using allowlisted probes, excluding serial numbers and authentication material | | `HarnessStore` | Preserve content-addressed immutable snapshots, receipt chains and rebuildable state projections | | `HarnessContext` | Manage conversation background and updates, linking native turns/items and actual usage | | `AgentSkills` | Discover native skills, manage enablement and conversation selection, and supply the built-in development skill | | `SkillCommunity` | Browse public GitHub sources and install from fixed commits through bounded downloads | | `AgentHarnessView` / `AgentSkillsView` | Present context and Skills in the native drawer while reusing existing conversations | ## [The seven background modules](https://docs.taku.ai/os/harness/components/#the-seven-background-modules) The seven background modules are data supplied to a conversation. They are a different grouping from the implementation classes above. | Background ID | What it helps the model understand | Source | | --- | --- | --- | | `identity` | Taku identity and response conventions | Versioned APK module | | `execution` | How to execute and verify tasks | Versioned APK module | | `boundaries` | Current behavioral boundaries | Versioned APK module | | `development` | Application and extension development conventions | Versioned APK module | | `context-policy` | Rules for background, changes and context | Versioned APK module | | `os-environment` | Observed device environment | Allowlisted device probes | | `skills-catalog` | Natively recognized skill catalog | Native Skills interface on the device | Each module carries an ID, version, source, body, structured data and hash. See [Inspect and troubleshoot](https://docs.taku.ai/os/harness/inspect/) to view them. ## [How Skills connect](https://docs.taku.ai/os/harness/components/#how-skills-connect) A Skill contains reusable instructions and resources. Native `skills/list` determines recognition, and `skills/config/write` controls enablement. A user can explicitly select up to four per conversation, passed through native turn input. Enabled skills that were not explicitly selected may still be adopted by the runtime based on relevance. Skill bodies load as needed and are not promoted to Taku developer policy. A completed download also does not configure external services, MCP, tools or authentication. The [Skills tutorial](https://docs.taku.ai/os/extensions/skills/) owns the full procedure; this chapter does not duplicate installation steps. ## [Where each record belongs](https://docs.taku.ai/os/harness/components/#where-each-record-belongs) The system task service owns task lifecycles. Codex native records are authoritative for chat history. Taku Harness preserves the background and delivery traces it manages. UI `agent-view` and Harness `state.json` are both rebuildable projections. This determines troubleshooting: inspect the system task service and native turns for a stalled task, Harness receipts for a background update issue, and the relevant connection for model failures. Rebuilding UI caches does not establish that underlying execution has been repaired. **Next**: [Follow the cooperation through one task](https://docs.taku.ai/os/harness/task-flow/). --- # How a task executes Follow an Android version query through the task queue, background, model, tools and result verification. > Taku OS research preview. Availability varies by device and version; see current progress. For a request such as “read the current Android version,” the Harness lets a model use real tools with appropriate background and returns results to the existing task and conversation. The following explains responsibilities. To perform it, the device needs the components and a working model connection; see [Your first task](https://docs.taku.ai/os/agents/tasks-sessions/). ## [Current image and memory entry points](https://docs.taku.ai/os/harness/task-flow/#current-image-and-memory-entry-points) An explicit [screen suggestion](https://docs.taku.ai/os/models/screen-suggestions/) sends the image directly to the image model bound to the `screen` scene; automatic code first asks the decision model in the `jev` scene to assess that image. Both scenes are bound to model groups in [Taku AI](https://docs.taku.ai/os/models/system-ai/). Neither uses OCR or text preprocessing. Accepting a suggestion creates one system task in a fresh native conversation. A [legacy Memory suggestion](https://docs.taku.ai/os/guides/memory-legacy/) instead carries a record ID for on-demand reads, without a screen image or old draft. Neither adds a new execution queue. ## [From input to completion](https://docs.taku.ai/os/harness/task-flow/#from-input-to-completion) ### [Submit a bounded goal](https://docs.taku.ai/os/harness/task-flow/#submit-a-bounded-goal) Enter a read-only request in Home or the assistant. The system task service coordinates it through the existing lifecycle while the interface shows queue and running states. Keeping this scheduling entry point avoids a separate queue in a tool or model gateway. ### [Prepare and confirm this turn's background](https://docs.taku.ai/os/harness/task-flow/#prepare-and-confirm-this-turns-background) Taku Harness assembles stable background for a new conversation. Existing conversations retain their initial background and receive changes before a subsequent turn when needed. Context delivery must be confirmed before the model starts. An active turn uses its confirmed snapshot, with later settings changes reserved for subsequent turns. ### [Codex calls the selected model](https://docs.taku.ai/os/harness/task-flow/#codex-calls-the-selected-model) The same Codex App Server manages native conversations and turns. With a Magpie connection, requests pass through the on-device gateway to the configured online model service; ChatGPT uses its corresponding connection. Magpie routes model requests while tools and conversations remain in the native execution system. ### [A tool queries Android and returns](https://docs.taku.ai/os/harness/task-flow/#a-tool-queries-android-and-returns) The model requests an existing read-only device tool or command. The tool executes in the actual Android environment and returns a version value or explicit error. A task may include multiple model/tool exchanges. Background instructions and model text cannot substitute for this step. ### [Verify the result and finish](https://docs.taku.ai/os/harness/task-flow/#verify-the-result-and-finish) Codex preserves native execution items, the system task service manages the terminal task state, and the interface shows the result. Check that actual query output matches the answer. Harness links its managed context with native execution identifiers so the background version can later be traced. ## [Decision models and hints](https://docs.taku.ai/os/harness/task-flow/#decision-models-and-hints) A decision model judges before any task starts: this page → on-phone Magpie → decision model → hint. Only after you accept does the original system task service and Codex Agent receive the original screenshot. This adds no second queue and does not replace the main model connection. Verified on the emulator with real Jev: no task exists before you accept, duplicate triggers add none, exactly one read-only task completes afterward, and the main Agent keeps its connection. See [Decision models and Jev](https://docs.taku.ai/os/models/jev/) for setup and scope. Physical devices, complete ROMs and the physical power button are not yet verified. ## [Which operations use a model](https://docs.taku.ai/os/harness/task-flow/#which-operations-use-a-model) | Path | Model required? | Example | | --- | --- | --- | | Request a task from the phone Agent | A working connection is required | Ask the model to read and explain the version | | Call an implemented SDK method directly | Does not depend on Codex | Use `system.info` to read device identity and version | | Inspect Harness background in the interface | Reading local records does not mean making a model request | Expand environment modules and receipts | The Agent Harness describes task execution, not a requirement to route every system action through a model. Developers can still call trusted tools directly; see [Your first device tool](https://docs.taku.ai/os/guides/extensions/). ## [Interpreting failures](https://docs.taku.ai/os/harness/task-flow/#interpreting-failures) If background delivery is unconfirmed, inspect the [pending state](https://docs.taku.ai/os/harness/context/) before repeating an injection. If the connection fails, check networking and the selected model's authentication. If a tool reports a permission error, investigate its actual caller identity. An answer without a real query record also does not establish successful device reading. Stopping uses the existing task and Codex interruption path. Receipt-recording errors and model execution failures are different conditions; see [Inspect and troubleshoot](https://docs.taku.ai/os/harness/inspect/). Cancellation, timeouts and process cleanup are covered by [Task lifecycle](https://docs.taku.ai/os/agents/lifecycle/). **Next**: [Understand background updates, storage and recovery](https://docs.taku.ai/os/harness/context/). --- # Context, updates and recovery Understand stable background, appended updates, immutable snapshots and unconfirmed delivery without confusing traces with long-term memory. > Taku OS research preview. Availability varies by device and version; see current progress. Taku Harness records which background was supplied to a conversation and when it changed. Codex native conversations still preserve chat and tool execution. The context window, conversation history and Harness traces serve different purposes and cannot substitute for one another. ## [Task-scoped Memory references](https://docs.taku.ai/os/harness/context/#task-scoped-memory-references) With Agent memory access on, the assistant's background includes the whole board and the parts of the user card picked for each message. After the user deletes or edits memory, existing conversations get a note on their next turn that earlier memory may be void. See [Use Memory in an assistant task](https://docs.taku.ai/os/agents/memory/). ## [Retrieve memories on demand](https://docs.taku.ai/os/harness/context/#retrieve-memories-on-demand) [Taku Memory](https://docs.taku.ai/os/guides/memory/) has a separate APK, private storage and protected Agent retrieval tools. Harness supplies retrieval policy; the model searches for the task and reads content, source and revision on demand. The whole database is not injected into developer background. Context receipts are not a memory database, and ordinary system AI permission does not grant memory access. ## [Background for a new conversation](https://docs.taku.ai/os/harness/context/#background-for-a-new-conversation) A new conversation receives its initially assembled stable background through `thread/start.developerInstructions`. Five APK modules plus the device environment and native skill catalog form the [seven background modules](https://docs.taku.ai/os/harness/components/#the-seven-background-modules). The conversation preserves the actual initial bytes and reuses them on resume. This keeps a stable prefix but does not promise a cache hit. Actual cached input comes from `cachedInputTokens` in native `thread/tokenUsage/updated` events. Those values alone cannot establish how much benefit Harness caused. ## [When changes enter a conversation](https://docs.taku.ai/os/harness/context/#when-changes-enter-a-conversation) When environment, response style, skill catalog or explicit selection changes, Harness uses `thread/inject_items` **before the next turn** to append a developer message containing only changed fields. Old background and messages remain intact. An active turn continues using its confirmed snapshot. ![A new conversation preserves stable background; confirmed updates made while idle affect the next turn, while the previous turn keeps its snapshot](https://docs.taku.ai/media/diagrams/harness-context.en.svg) Context sequence diagram. Appended updates preserve history; delivery is not automatically retried without confirmation. Manual appending also requires an idle conversation. For an older conversation not yet managed by Harness, background is appended after existing history and the panel identifies that placement. It is not backfilled as initial background. Develop against the device's actual protocol The locked Codex 0.161.0 schema does not accept `developerInstructions` in `turn/start`. Do not use that field for updates. Runtime upgrades require renewed checks of schema, delivery and recovery behavior. ## [Snapshots, receipts and state projections](https://docs.taku.ai/os/harness/context/#snapshots-receipts-and-state-projections) | Record | Purpose | | --- | --- | | Immutable content objects | Store background or changes by content hash | | Conversation receipt chain | Link records with previous hashes and associate context with native execution identifiers | | `state.json` | Rebuildable projection of the current head, snapshot and skill selection | Objects and references are written before the projection. Startup validates the chain and can recover stale state from stored records. Hash checking detects corruption and checks consistency; it does not provide independent security attestation against tampering. ## [When delivery is unconfirmed](https://docs.taku.ai/os/harness/context/#when-delivery-is-unconfirmed) Injection receipts have planned and confirmed stages. If sending receives no confirmation, the state becomes pending. Automatic replay is blocked, and native history must be checked to determine whether delivery occurred. This avoids blind duplication but **does not guarantee end-to-end exactly-once delivery**. If delivery was confirmed but the projection was not saved, receipts can recover it. When the model is already running, later observation-recording failures set `auditIncomplete`; these should not leave the executing task without a terminal state. Pre-model context delivery must still be confirmed. These two timings must remain distinct. ## [What traces do and do not show](https://docs.taku.ai/os/harness/context/#what-traces-do-and-do-not-show) The panel shows Taku-managed background, environment, the latest 100 receipts, native turn/item IDs, sanitized commands and actual usage. Historical receipts remain stored, with chain validation on reading. It does not expose hidden runtime system instructions, record reasoning or raw tool output, or explain model-internal causality. Check actual tool output in native execution records. Background and receipts are not a general long-term memory or cross-device synchronization service; those need their own implementation and verification. **Next**: [Open the panel and inspect real background and states](https://docs.taku.ai/os/harness/inspect/). --- # Inspect Harness and troubleshoot states Inspect background, environment, skills and receipts in an existing preview, including pending and auditIncomplete. > Taku OS research preview. Availability varies by device and version; see current progress. This tutorial requires installed preview components containing the Harness module. Its entry points are verified on a dedicated emulator; do not assume every older physical-device component includes them. Without a preview, start with [Installation choices](https://docs.taku.ai/os/install/overview/). Inspection reads existing data and does not require a computer or a runtime-directory export. ## [Inspect conversation background](https://docs.taku.ai/os/harness/inspect/#inspect-conversation-background) ### [Open the context entry point](https://docs.taku.ai/os/harness/inspect/#open-the-context-entry-point) In assistant settings, open **View Harness context**. To inspect a particular conversation, open that conversation first and wait until its task is idle, then inspect the relevant background and receipts. If the entry is absent, check the installed component version before concluding the entire Agent is unimplemented. ### [Check background and environment](https://docs.taku.ai/os/harness/inspect/#check-background-and-environment) Start with the background version, prefix information and OS summary, then expand the relevant modules. Normally, identity, execution, boundaries, development, context-policy, os-environment and skills-catalog expose their sources, hashes, bodies and JSON. Check actual fields such as Android, API and ABI in `os-environment`. These are observations from controlled probes. Device permissions and tool availability still require the relevant tools' actual checks. ### [Compare receipts with native execution](https://docs.taku.ai/os/harness/inspect/#compare-receipts-with-native-execution) Expand recent receipts to see background versions, associated native turns/items and states. To determine task success, return to the conversation work log and check actual tool output. The panel does not contain complete raw tool output or model-internal reasoning. ## [Reloading and appending updates](https://docs.taku.ai/os/harness/inspect/#reloading-and-appending-updates) Reload and append actions are in the top-bar menu. Distinguish rereading panel data from appending changes to a conversation: a successful reload does not establish that an update was sent to the model. Manual appending requires an idle conversation and delivery confirmation. Existing history remains intact. Install, enable and select skills through **Skills and community**. Selecting up to four skills supplies explicit input; check native execution records to establish actual adoption. Follow the [Skills tutorial](https://docs.taku.ai/os/extensions/skills/) for the procedure. ## [Troubleshoot by symptom](https://docs.taku.ai/os/harness/inspect/#troubleshoot-by-symptom) | What you see | Meaning and next step | | --- | --- | | `pending` | A context send received no confirmation. Check native history and avoid manually injecting the same update again; developers should inspect receipts | | `auditIncomplete` | Execution observations are incomplete. Compare native task termination and output; missing traces establish neither success nor certain failure | | A new selection is absent from background | Check whether the conversation is active and whether the update is confirmed; changes take effect in subsequent turns | | A skill is installed but an external service fails | Check native recognition, enablement, external dependencies and actual authentication | | Model replies or tools fail | Use [Runtime troubleshooting](https://docs.taku.ai/os/help/runtime/) to inspect the actual connection, network, tool errors and permissions | For unresolved pending states, record the component version, error summary and sanitized receipt status for a developer. Do not try recovery by clearing chat, deleting receipt chains or copying account caches. ## [Before sharing diagnostics](https://docs.taku.ai/os/harness/inspect/#before-sharing-diagnostics) Share only relevant versions, module IDs, error summaries and sanitized state. Do not upload account credentials, authorization codes, private task content, the whole runtime directory or phone userdata. The trace scope is explained in [Context and recovery](https://docs.taku.ai/os/harness/context/). **Next**: [Check available features and device scopes](https://docs.taku.ai/os/releases/current-progress/). --- # Choose a development path Choose a script, Android app, Skill or community plugin for the problem you want to solve. > Taku OS research preview. Availability varies by device and version; see current progress. Start with one useful feature and choose its development path. Your first contribution need not begin with a system image or the entire Agent architecture. | What you need | Start here | | --- | --- | | Combine device queries into a tool | [Device-summary script](https://docs.taku.ai/os/guides/extensions/) | | Register a tool with the existing CLI | [Local extension format](https://docs.taku.ai/os/extensions/contract/) | | Control what Taku Memory remembers from your app | [Make your app work with Taku Memory](https://docs.taku.ai/os/extensions/memory/) | | Reuse task instructions | [Install and use Skills](https://docs.taku.ai/os/extensions/skills/) | | Package Skills or MCP tools to share with others | [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format) | | Expose business operations from an app | [App interfaces](https://docs.taku.ai/os/tools/app-interfaces/) | Requires the system source Device scripts, local extensions, the Surfaces client and the system AI client all depend on the `taku-os` system source. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. The community plugin format and submission process are in a public repository. ## [A connected example](https://docs.taku.ai/os/extensions/overview/#a-connected-example) A chat app receives a dinner plan, Taku Memory remembers it and organizes it into the user card that night, and the assistant uses the plan when helping the user reply. App developers decide which page content may be remembered; see [Make your app work with Taku Memory](https://docs.taku.ai/os/extensions/memory/) for the rules. Reuse [system AI](https://docs.taku.ai/os/extensions/system-ai/) for generation without a second set of model accounts in your app. Trusted system components can present hints/choices with [Surfaces](https://docs.taku.ai/os/extensions/surfaces/), which requires matching trusted signing rather than ordinary app consent. ## [Scripts, extensions and Skills](https://docs.taku.ai/os/extensions/overview/#scripts-extensions-and-skills) | Form | What it is | When to use it | | --- | --- | --- | | Script | A program you run directly | A working script already solves the problem | | Local extension | A program registered as a discoverable CLI tool | You need to find and run it by name | | Skill | Instructions for the assistant | The same kind of task comes up repeatedly | | Community plugin | A folder the Agent can load, containing Skills, MCP servers or both | You want to share a finished capability with others | Start with a script, then decide whether to register or package it. Local extensions run as trusted local code. Community plugins run with the Agent's own privileges, and a plugin's permission list is only a declaration. Neither has an execution sandbox, so run only code you have read or trust. A general third-party marketplace and online upgrades are not available. ## [After building](https://docs.taku.ai/os/extensions/overview/#after-building) Check inputs, results, permissions and failure behavior, and retain an example someone else can run. - To share a Skill or MCP tool, submit it to the public [Taku-OS/taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins) repository. See [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format) for the steps. - See [Development collaboration](https://docs.taku.ai/os/contributing/overview/) for system contributions. --- # Build your first plugin Create a Skill/MCP greeting plugin, install it, call it through the Agent, and remove it. > Taku OS research preview. Availability varies by device and version; see current progress. This tutorial uses the **community Skill/MCP format**, separate from God Mode's `manifest.json`. You need a Taku development version that provides `taku-plugin`, plus a connected model for the Agent call. All files are public: [source](https://github.com/Taku-OS/taku-os-plugins/tree/b783b226424217ceca700f3444e64a26ef8149d3/examples/taku-hello-world), [ZIP](https://github.com/Taku-OS/taku-os-plugins/blob/b783b226424217ceca700f3444e64a26ef8149d3/packages/taku-hello-world-1.0.1.zip), and [SHA-256](https://github.com/Taku-OS/taku-os-plugins/blob/b783b226424217ceca700f3444e64a26ef8149d3/index/taku-hello-world/1.0.1.json). You can also copy the four files below. Validation scope The example passes host MCP protocol and package checks. The existing create/package/install and host-assisted PR flow was verified on a dedicated development emulator. Check this example's Agent/UI behavior on your release ROM using the steps below. ## [Create the files](https://docs.taku.ai/os/extensions/first-plugin/#create-the-files) Create `taku-hello-world/` and add the following files. Keep credentials and personal data outside the plugin. ### [`.codex-plugin/plugin.json`](https://docs.taku.ai/os/extensions/first-plugin/#codex-pluginpluginjson) ``` { "name": "taku-hello-world", "version": "1.0.1", "description": "Return a local greeting through the Agent. No network or personal data.", "author": { "name": "Taku OS" }, "license": "Apache-2.0", "skills": "./skills/", "mcpServers": "./.mcp.json", "taku": { "capabilities": [ "return a local greeting" ], "permissions": [] } } ``` ### [`.mcp.json`](https://docs.taku.ai/os/extensions/first-plugin/#mcpjson) ``` { "mcpServers": { "hello-world": { "command": "/system/bin/sh", "args": [ "./server.sh" ], "cwd": "." } } } ``` ### [`server.sh`](https://docs.taku.ai/os/extensions/first-plugin/#serversh) ``` #!/system/bin/sh while IFS= read -r line; do id=$(printf '%s' "$line" | sed -n 's/.*"id"[[:space:]]*:[[:space:]]*\([0-9][0-9]*\).*/\1/p') [ -n "$id" ] || continue case "$line" in *'"initialize"'*) printf '{"jsonrpc":"2.0","id":%s,"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"taku-hello-world","version":"1.0.1"}}}\n' "$id" ;; *'"tools/list"'*) printf '{"jsonrpc":"2.0","id":%s,"result":{"tools":[{"name":"hello_world","description":"Return the first Taku OS plugin greeting","inputSchema":{"type":"object","properties":{},"additionalProperties":false}}]}}\n' "$id" ;; *'"tools/call"'*) printf '{"jsonrpc":"2.0","id":%s,"result":{"content":[{"type":"text","text":"Hello from Taku!"}],"structuredContent":{"message":"Hello from Taku!","runtime":"on-device","plugin":"taku-hello-world"}}}\n' "$id" ;; *) printf '{"jsonrpc":"2.0","id":%s,"error":{"code":-32601,"message":"Method not found"}}\n' "$id" ;; esac done ``` ### [`skills/hello-world/SKILL.md`](https://docs.taku.ai/os/extensions/first-plugin/#skillshello-worldskillmd) ``` --- name: hello-world description: Call the local hello_world tool when the user asks for the Taku plugin greeting. --- Call `hello_world` and relay its actual result. Do not invent a successful call. The expected result is `Hello from Taku!`. ``` ## [Validate, install and call](https://docs.taku.ai/os/extensions/first-plugin/#validate-install-and-call) Copy the folder from your computer to your own device. Replace `SERIAL` with the serial from `adb devices -l`: This computer-assisted route requires a Taku userdebug development image with root ADB; the work directory is root-owned. Stop if `adb root` is refused. Do not use this route on a stock production image. The `id` output must show `uid=0(root)`. ``` adb -s SERIAL root adb -s SERIAL wait-for-device adb -s SERIAL shell id adb -s SERIAL push taku-hello-world /data/local/agentos/work/ adb -s SERIAL shell ``` Then run in the device shell: ``` taku-plugin validate /data/local/agentos/work/taku-hello-world taku-plugin pack /data/local/agentos/work/taku-hello-world /data/local/agentos/work/hello-world-package taku-plugin catalog-add /data/local/agentos/work/hello-world-package ``` Use the returned marketplace path for installation: ``` taku-plugin install MARKETPLACE_PATH taku-hello-world taku-plugin list taku-plugin status ``` Ask the connected Agent: **Call the Hello World plugin and show its actual greeting.** Success means the execution record contains a `hello_world` call returning `Hello from Taku!`. Chat text alone does not prove a call. If no call occurs, check the model connection, `taku-plugin status` and MCP loading. ## [Remove the test installation](https://docs.taku.ai/os/extensions/first-plugin/#remove-the-test-installation) Use the exact plugin ID returned by `taku-plugin list`: ``` taku-plugin uninstall PLUGIN_ID ``` Exit code 2 means installation or removal completed but MCP reload failed. Read the actual status before retrying. ## [Share a plugin](https://docs.taku.ai/os/extensions/first-plugin/#share-a-plugin) Ask the Agent to package a working task, or run `taku-plugin publish DIR OUTPUT_DIR`. Opening a community PR needs authenticated `gh` and `git`; when Android lacks them, use the publishing helper on an authorized computer. A PR URL confirms submission. A local package path does not. Get the [host publishing helper](https://github.com/Taku-OS/taku-os-plugins/blob/b783b226424217ceca700f3444e64a26ef8149d3/scripts/publish-from-device.py) from the public community repository. On a computer connected to your device and signed in to your own GitHub account, run: This block uses Bash (macOS/Linux; WSL on Windows) and Python 3. Inspect the pinned helper above first; it imports only Python standard-library modules. Verification and execution use the same bytes in one process. A failed download, hash mismatch or oversized file stops execution; `-I` prevents current-directory modules from affecting verification. ``` python3 -I - SERIAL OUTPUT_DIR <<'PY_HELPER' import hashlib import sys import urllib.request if len(sys.argv) != 3: raise SystemExit("Provide your device serial and packed output directory") url = "https://raw.githubusercontent.com/Taku-OS/taku-os-plugins/b783b226424217ceca700f3444e64a26ef8149d3/scripts/publish-from-device.py" expected = "a566dcca0fa39f7fc5f851d0e1b47a7980b8b06abd737c451d37a3ff881a120f" with urllib.request.urlopen(url, timeout=30) as response: source = response.read(65537) if len(source) > 65536 or hashlib.sha256(source).hexdigest() != expected: raise SystemExit("Helper verification failed; nothing was executed") sys.argv = ["publish-from-device.py", "--serial", sys.argv[1], "--packed", sys.argv[2]] exec(compile(source, "", "exec"), {"__name__": "__main__"}) PY_HELPER ``` It transfers only the plugin package, not your computer credentials. See the [community contract and publishing flow](https://docs.taku.ai/os/extensions/contract/). Plugins run with the Agent's privileges. `capabilities` and `permissions` are declarations, not a sandbox. This example does not use the network or read user data; review other plugins' actual behavior and source before installing them. --- # Build a device-summary tool Combine Android version and display queries in your own JavaScript tool. > Taku OS research preview. Availability varies by device and version; see current progress. Build a JavaScript tool that reports the selected device's Android API level, SELinux state and display IDs. It queries the device directly without starting a model task. > **Requires the system source:** This tutorial's script runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ## [Before you begin](https://docs.taku.ai/os/guides/extensions/#before-you-begin) Complete [Your first call](https://docs.taku.ai/os/guides/getting-started/) and prepare a connected development device. Install Android's `adb` debugging tool on the computer; it sends commands to the device you choose. ## [1. Select a device](https://docs.taku.ai/os/guides/extensions/#1-select-a-device) Run in a computer terminal: ``` adb devices -l ``` Find the target whose state is `device`. Its first column is the device serial. Replace the example `emulator-5582` below with yours. For `offline` or `unauthorized`, use [Connection troubleshooting](https://docs.taku.ai/os/help/connection/) first. ## [2. Create the script](https://docs.taku.ai/os/guides/extensions/#2-create-the-script) Create `my-device-summary.mjs` in the `taku-os` system repository root: ``` import { TakuClient } from './sdk/client.mjs'; const serial = process.argv[2]; if (!serial) throw new Error('Pass your Android device serial'); const client = new TakuClient({ transport: 'adb', serial }); const system = await client.call('system.info'); const displays = await client.call('displays.status'); console.log(JSON.stringify({ apiLevel: system.apiLevel, selinux: system.selinux, displayIds: displays.displayIds, }, null, 2)); ``` `client.call()` returns query data and throws on failure, so missing data cannot become a successful-looking report. ## [3. Run it](https://docs.taku.ai/os/guides/extensions/#3-run-it) ``` node my-device-summary.mjs emulator-5582 ``` Expect JSON containing `apiLevel`, `selinux` and `displayIds`. Values come from your device; display 0 may not be the only display. Add a field or change the output format and run it again. For example, show the API level in an “Android API …” sentence. Start by changing output rather than device settings. ## [Make it a discoverable extension](https://docs.taku.ai/os/guides/extensions/#make-it-a-discoverable-extension) The script is already useful on its own. To let the existing CLI find and run it by name, see [Register a local extension](https://docs.taku.ai/os/extensions/contract/) for its entry function, inputs, results and permissions. The repository's [device-report example](https://docs.taku.ai/os/extensions/device-report/) adds task status, which has stronger directory-access requirements. Read it when you need partial-success handling. ## [Troubleshooting](https://docs.taku.ai/os/guides/extensions/#troubleshooting) If `adb` is missing, install Android platform-tools and add it to PATH. Preserve specific device permission errors and check the [permission guide](https://docs.taku.ai/os/security/permissions/). Do not disable SELinux to make a report succeed. Interface details are in the [SDK and CLI reference](https://docs.taku.ai/os/reference/cli/). --- # Extension format and lifecycle Use the device-report declaration to register a trusted local extension, define its call scope and Android permissions, and learn the community plugin format. > Taku OS research preview. Availability varies by device and version; see current progress. Use this reference after [writing a working device tool](https://docs.taku.ai/os/guides/extensions/), when you want the existing CLI to discover and call it. A standalone script does not need registration. Taku OS has two forms that are easy to confuse. The first part of this page covers local extensions. To share with others, go straight to [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format). | | Local extension | Community plugin | | --- | --- | --- | | What it is | A Node module registered in the system repository and run by the CLI | A folder the Agent can load, containing Skills, MCP servers or both | | Who calls it | A developer, through the CLI | The Agent on the phone | | Declaration file | `spec/extensions.json` | `.codex-plugin/plugin.json` | | Needs system source | Yes | No | | Execution boundary | Trusted local code with no process sandbox | Runs with the Agent's own privileges, with no sandbox | ## [Goal and prerequisites](https://docs.taku.ai/os/extensions/contract/#goal-and-prerequisites) The current registry is `spec/extensions.json` in the system repository. Create `examples/extensions//index.mjs` and export `run(client)`; the CLI accepts only entry points in that pattern. IDs use lowercase letters, digits, and hyphens. You need Node.js 20+; device permissions depend on the methods you call. `client.call()` invokes an SDK method and returns its result, throwing on failure. This entry point keeps per-method errors so that one failed query does not discard the others: ``` export async function run(client) { const report = { extension: 'my-report', observations: {}, errors: {} }; for (const method of ['system.info', 'displays.status']) { try { report.observations[method] = await client.call(method); } catch (error) { report.errors[method] = { code: error.code, message: error.message, retryable: error.retryable }; } } return report; } ``` ## [What callable interfaces should deliver](https://docs.taku.ai/os/extensions/contract/#what-callable-interfaces-should-deliver) Document the tool's purpose, required Android identity and permissions, actual output, failure behavior, and one reproducible example. Keep implementation, declaration, and on-device results together. Interfaces with UI should share the same business state so that either path can verify the result. The current CLI runs the extension's `run(client)` without a separate business-parameter argument. Do not add undocumented flags as if a general extension-input API already existed. New parameters, event callbacks, or hardware methods need an implementation and tests before they become part of the contract. ## [Example declaration](https://docs.taku.ai/os/extensions/contract/#example-declaration) ``` { "id": "device-report", "title": "设备能力实况报告", "entrypoint": "examples/extensions/device-report/index.mjs", "capabilities": [ "system.info", "displays.status", "tasks.status" ], "permissions": [ "authorized-adb-shell-or-on-device-shell", "root-for-task-metadata" ], "status": "experimental", "version": "0.1.0" } ``` This is the actual `device-report` declaration, not a remote-install manifest. Method names and permission descriptions should agree with the implementation and actual Android privileges. The Chinese title is preserved from the source declaration. | Field | Meaning | | --- | --- | | `id` | Extension ID: lowercase letters, digits, and hyphens | | `title` | Display name | | `entrypoint` | Entry file, in the form `examples/extensions//index.mjs` | | `capabilities` | SDK methods the extension may call; methods not listed are rejected | | `permissions` | Documents prerequisites without granting Android access | | `status` | Extension status, `experimental` here | | `version` | Declared version; it does not arrange updates | ## [Invocation lifecycle](https://docs.taku.ai/os/extensions/contract/#invocation-lifecycle) 1. The CLI reads the same registry and locates the extension. 2. It validates the entry-point path, imports the trusted local module, and calls `run(client)`. 3. The scoped client rejects undeclared capabilities, then passes allowed methods to the existing SDK call path. 4. The extension returns its result. The CLI wraps that report in a protocol response. Nonempty `result.errors` makes it exit with `1`, even when the outer response has `ok:true`. ## [Outputs, errors, and events](https://docs.taku.ai/os/extensions/contract/#outputs-errors-and-events) `device-report` returns `generatedAt`, `observations`, `errors`, and `boundaries` inside the CLI response's `result`. Check both the per-method errors and the exit code; see [the walkthrough](https://docs.taku.ai/os/extensions/device-report/). | Error code | Meaning | | --- | --- | | `EXTENSION_NOT_FOUND` | The extension is not in the registry | | `INVALID_EXTENSION` | The entry point is invalid | | `CAPABILITY_NOT_DECLARED` | An undeclared method was called | The scoped client restricts calls made through that SDK object. The module itself runs in the same trusted Node process; this does not isolate arbitrary third-party code. Unified event subscriptions, marketplace installation/removal, and dependency upgrades are not available. **Next:** [Reproduce the example](https://docs.taku.ai/os/extensions/device-report/), then add implementation and tests according to the [contribution standard](https://docs.taku.ai/os/contributing/overview/). ## [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format) Community plugins are shared in the public [Taku-OS/taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins) repository and do not need the system source. This section summarizes that repository's documentation; its [manifest format](https://github.com/Taku-OS/taku-os-plugins/blob/main/plugins/README.md) and [contributing guide](https://github.com/Taku-OS/taku-os-plugins/blob/main/CONTRIBUTING.md) are authoritative for details. ### [What a plugin contains](https://docs.taku.ai/os/extensions/contract/#what-a-plugin-contains) A plugin is a folder containing at least one of Skills (one `SKILL.md` per skill) or MCP servers (tools the Agent can call). Its manifest is `.codex-plugin/plugin.json`: ``` { "name": "status-tip", "version": "1.0.0", "description": "Shows a short reminder", "skills": "./skills/", "taku": { "capabilities": ["show a reminder"], "permissions": [] } } ``` | Field | Rule | | --- | --- | | `name` | Lowercase letters, digits, and hyphens; 1–64 characters, starting with a letter or digit | | `version` | `major.minor.patch` | | `description` | Must not be empty | | `skills` | Relative path inside the plugin to a folder with at least one subfolder containing `SKILL.md` | | `mcpServers` | Relative path inside the plugin to a JSON file with an `mcpServers` object | | `taku.capabilities` | What the plugin can do | | `taku.permissions` | What access it needs; use an empty array if none | At least one of `skills` or `mcpServers` is required, and paths must stay inside the plugin folder. ### [Install a plugin](https://docs.taku.ai/os/extensions/contract/#install-a-plugin) On Taku OS, download the plugin ZIP, check it against the SHA-256 in the matching file under `index/`, unzip it into a working folder under `/data/local/agentos/work`, and read through it. Then run: ``` taku-plugin validate taku-plugin pack taku-plugin catalog-add taku-plugin install ``` Plugins run with the Agent's own privileges. The permission list is an honest declaration, not a sandbox, so install only plugins you have read or trust. ### [Share a plugin](https://docs.taku.ai/os/extensions/contract/#share-a-plugin) You can ask the Agent on your phone to publish it, for example “Turn what we just did into a plugin and publish it to the community.” To submit by hand: 1. Run `taku-plugin validate` and `pack`, install the plugin, use it once for real, then uninstall it. 2. Commit what `pack` produced, unchanged: `packages/-.zip` and `index//.json`. Do not edit the hash or strip executable bits. 3. Submit one version per PR. Never overwrite a released version; bump the version instead. 4. List every capability and permission in the manifest. If the plugin uses the network or depends on an external service, say so in the PR. 5. Do not include credentials, tokens, private keys, personal data, build caches, or unrelated files. CI checks the package structure, paths, and that the ZIP matches its index record. Passing CI is required, and maintainers also review usefulness, origin, and whether declared permissions match what the code does. They may ask for changes or decline a submission. --- # End-to-end example — device-report Run three read-only probes from the registry and distinguish complete success from partial failure. > Taku OS research preview. Availability varies by device and version; see current progress. After [your first device tool](https://docs.taku.ai/os/guides/extensions/), use this example to learn extension registration and partial-failure handling. It reads system, display, and existing-task metadata directly, without creating an app or submitting a model task. ## [Prerequisites](https://docs.taku.ai/os/extensions/device-report/#prerequisites) Requires the system source This example runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run from the system repository root with Node.js 20+, ADB, and an explicitly selected device running Taku OS. Use `adb devices -l` to confirm the target is `device`, then replace the example serial `emulator-5582` with that target. `system.info` and `displays.status` require the relevant shell-query privileges. `tasks.status` additionally needs UID `0` or `1000`. Reading existing tasks also depends on directory and file access. An ordinary shell can therefore produce a partial failure. An allowed UID may receive an empty task list when no readable task records exist. ## [Steps](https://docs.taku.ai/os/extensions/device-report/#steps) ### [Discover the extension](https://docs.taku.ai/os/extensions/device-report/#discover-the-extension) ``` node sdk/cli/taku.mjs call extensions.list ``` Confirm that the registry contains `device-report` with entry point `examples/extensions/device-report/index.mjs`. This reads local metadata without connecting to a device. ### [Run it on the selected device](https://docs.taku.ai/os/extensions/device-report/#run-it-on-the-selected-device) ``` node sdk/cli/taku.mjs extension device-report --transport adb --serial emulator-5582 echo $? ``` Run `echo $?` immediately after the command to see its exit code. If ADB is not on PATH, add `--adb /path/to/android-sdk/platform-tools/adb` to the first command. **Complete success:** exit code `0`, `result.extension` equal to `device-report`, all three keys (`system.info`, `displays.status`, `tasks.status`) present in `result.observations`, and empty `result.errors`. `generatedAt` is the execution time, not a build or release version. A successful `tasks.status` with `tasks:[]` means no readable task entries were returned; it does not prove that the system task service is installed or that a historical task exists. A development device may return API 36, ARM64, UID 0, Enforcing, display `0` plus a dynamic background display, and existing `completed` task metadata. Values differ by device, so check your actual readback and do not turn them into assertions. ### [Check partial failures](https://docs.taku.ai/os/extensions/device-report/#check-partial-failures) If an ordinary shell cannot read the task directory, the report preserves other successful observations and records `code`, `message`, and `retryable` in `result.errors["tasks.status"]`. Any error makes the CLI exit with `1`. **Do not check only outer `ok:true`:** it means the extension function returned a report, which may still contain failed probes. A failure in the outer process, such as loading the extension, produces `ok:false` with a top-level `error` instead. A nonexistent serial should leave a transport failure, not select another device. Unknown or undeclared methods should be rejected without an implicit Root Shell fallback. Confirm the target and identity, then follow the [error reference](https://docs.taku.ai/os/reference/errors/); do not remove errors to turn partial data into a pass. ## [Use it as a new-extension template](https://docs.taku.ai/os/extensions/device-report/#use-it-as-a-new-extension-template) Turn working business code into `export async function run(client)`, declare its methods in the same registry, then invoke it through the existing CLI. See the [extension contract](https://docs.taku.ai/os/extensions/contract/) for fields. The passed client restricts SDK methods, but the module remains trusted local code without process sandboxing. Reuse existing probes and task metadata instead of adding a separate queue. When submitting a [reproduction scenario](https://docs.taku.ai/os/contributing/overview/), retain only necessary reproduction details; do not export prompts, result bodies, or authentication directories. --- # Reuse system AI in an Android app Make one real text request through the source client and per-app user authorization. > Taku OS research preview. Availability varies by device and version; see current progress. Ordinary Android apps can use the device's existing model connection through `AiClient`, retaining their own package, UID and signing certificate. The client holds no model key and grants no Agent tools, memory access or screenshot capture. ## [Prepare your project](https://docs.taku.ai/os/extensions/system-ai/#prepare-your-project) Use a development device with [shared Taku AI](https://docs.taku.ai/os/models/system-ai/) and an existing Android Java project. This example targets Java 17, compileSdk / minSdk 36. Work in your own project on the computer; the snippets are not device shell commands. Requires the system source `AiClient.java` comes from the `taku-os` system source. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Obtain `system/ai/client/org/agentos/ai/AiClient.java` from the system source and copy it into the matching package directory in your app sources. This is a source client, not a published Maven dependency. ## [Minimal runnable screen](https://docs.taku.ai/os/extensions/system-ai/#minimal-runnable-screen) Merge the permission and Activity declarations into your Manifest; use `org.example.takuai` for the project namespace and application ID if desired. Save the Java as `MainActivity.java`. The first background settings read registers the actual Binder caller, initially disabled. “Open Taku AI” opens user authorization; “Generate example” makes one model request. ``` ``` ``` package org.example.takuai; import android.app.Activity; import android.os.Bundle; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.agentos.ai.AiClient; public final class MainActivity extends Activity { private final ExecutorService worker = Executors.newSingleThreadExecutor(); private AiClient ai; private TextView status; @Override public void onCreate(Bundle state) { super.onCreate(state); ai = new AiClient(this); LinearLayout layout = new LinearLayout(this); layout.setOrientation(LinearLayout.VERTICAL); status = new TextView(this); Button settings = new Button(this); settings.setText("Open Taku AI"); settings.setOnClickListener(v -> ai.openSettings()); Button generate = new Button(this); generate.setText("Generate example"); generate.setOnClickListener(v -> worker.execute(() -> { try { String text = ai.text("Reply with: System AI connected").getString("text"); show(text); } catch (Exception error) { show(error.getMessage()); } })); layout.addView(settings); layout.addView(generate); layout.addView(status); setContentView(layout); worker.execute(() -> { try { ai.settings(); show("Registered; allow this app in Taku AI."); } catch (Exception error) { show(error.getMessage()); } }); } private void show(String text) { runOnUiThread(() -> { if (!isDestroyed()) status.setText(text); }); } @Override public void onDestroy() { worker.shutdown(); super.onDestroy(); } } ``` ### [Install and authorize](https://docs.taku.ai/os/extensions/system-ai/#install-and-authorize) Build with your existing Android project tooling, install your APK on a device running Taku OS and open it. Once registration is shown, open Taku AI, enable the master switch and allow this app. Under **Scenes**, select **Add scene binding**, enter `org.example.takuai.text` (your package name plus `.text`) and choose a model group. `image()` uses the `.image` scene, which needs a group with an image-capable model. While the scene is unbound, calls return an error asking you to bind it. The device UI currently uses Chinese labels: ``` Scenes = 场景; Add scene binding = 添加场景绑定 ``` Declaring the normal `USE_AI` permission does not itself authorize model use. Do not change system files or copy the host certificate to bypass user authorization. ### [Generate and inspect the result](https://docs.taku.ai/os/extensions/system-ai/#generate-and-inspect-the-result) Tap “Generate example” and inspect the actual return. The model is not guaranteed to follow the example prompt verbatim. Taku AI should record your app as the consumer. Disable it and try again to observe rejection. Blocking client calls belong on a background thread. The example returns only UI updates to the main thread. This makes a real model call and can incur usage. ## [Images and runtime limits](https://docs.taku.ai/os/extensions/system-ai/#images-and-runtime-limits) `image(prompt, dataUrl)` accepts explicitly provided JPEG / PNG base64 data URLs. It accepts no remote image URL and does not capture a screen for you. Ordinary apps use the model group bound to their own scene. They cannot forge consumer identity or name a model in the request. The public client currently allows at most two simultaneous public generations and 12 requests per app per minute. Prompts are bounded to 8000 characters, image data URLs to 300000 characters and generation to 1000 tokens. Calls may be rejected by switches, per-app permission, an unbound scene, rate limits, capability or service failures. Display the client error; do not assume automatic retries. ## [Verification scope](https://docs.taku.ai/os/extensions/system-ai/#verification-scope) Verified on Pixel 9: a separately signed app completed an actual model call after user authorization, and forged identity and model overrides were rejected. This minimal screen is compile-checked against the client source and has not been run separately on a device. Temporary development deployment does not ensure the runtime survives a device reboot. **Next**: for hints and click callbacks, first check the [Surfaces matching-certificate requirement](https://docs.taku.ai/os/extensions/surfaces/). It is a separate authorization path. ## [Runtime built into the system](https://docs.taku.ai/os/extensions/system-ai/#runtime-built-into-the-system) Taku OS builds the matching assistant, system task service, Codex and Magpie into read-only system components. Magpie is a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS runs it on the phone as part of the system to forward requests to model services. A gateway on the phone does not mean the model runs locally. Existing accounts and Taku AI settings persist across a device reboot. --- # Publish a system hint and receive its action Use the existing Surfaces SDK to display one hint and inspect a real callback. > Taku OS research preview. Availability varies by device and version; see current progress. Surfaces is the system presentation host. A caller publishes a hint, choice or result and receives user actions. Models, background work and file resolution remain the responsibility of the caller, the system task service and each data component. ## [Access requirements](https://docs.taku.ai/os/extensions/surfaces/#access-requirements) SDK 0.2 / wire protocol v2 requires Android API 36+ and Java 17+. Install the host `TakuSurfaces.apk` with overlay permission. **The caller must have the same signing certificate as the host** and declare: ``` ``` This integrates trusted components, not arbitrary separately signed apps. The system integrator manages product signing; do not distribute or request platform private keys. An ordinary app can use the [system AI client](https://docs.taku.ai/os/extensions/system-ai/), whose authorization does not satisfy this permission. ## [Prepare the client](https://docs.taku.ai/os/extensions/surfaces/#prepare-the-client) Requires the system source Building the client runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. In the `taku-os` source root on your computer, run: ``` bash system/surfaces/build.sh ``` Add `system/surfaces/out/taku-surfaces-client.jar` to your Android project's local dependencies. Soong projects use `static_libs: ["taku-surfaces-client"]`. The JAR contains neither host UI nor an executor, and building does not install it. Add this Activity and declare it as an entry point in your own project: ``` package org.example.takusurface; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import org.agentos.surfaces.SurfaceSpec; import org.agentos.surfaces.client.SurfaceClient; public final class MainActivity extends Activity { private SurfaceClient client; private TextView status; @Override public void onCreate(Bundle state) { super.onCreate(state); status = new TextView(this); setContentView(status); client = new SurfaceClient(this, new SurfaceClient.Listener() { @Override public void onConnected() { try { client.showHint("example-hint", 1, "View the example?", "Demo content", new SurfaceSpec.Action("accept", "View", true)); } catch (Exception error) { status.setText(error.getMessage()); } } @Override public void onEvent(String type, String id, long revision, String value) { status.setText(type + ": " + id + " / " + value); } @Override public void onAction(SurfaceClient.ActionEvent event) { // Handle the action here only; onEvent also reports it. if ("accept".equals(event.actionId())) status.setText("Accepted example"); } }); try { client.connect(); } catch (Exception error) { status.setText(error.getMessage()); } } @Override public void onDestroy() { if (client != null) client.close(); super.onDestroy(); } } ``` ## [Verify publication and actions](https://docs.taku.ai/os/extensions/surfaces/#verify-publication-and-actions) Install host and caller on a dedicated development device meeting the signature requirement, then open the example. `published` means the host accepted the request. The hint waits while the device is locked or the screen is off, so it does not mean the user saw it. Tapping the hint body should deliver one `accept` action and show “Accepted example”. The arrow expands the hint without accepting it. Client calls and callbacks run on the main thread. This example calls `close()` when its Activity is destroyed, removing that connection's presentation. Work needing later callbacks requires a sufficiently long-lived owner; do not close every connection merely because an Activity goes to the background. Update an ID with a greater `revision`. Each revision accepts at most one action; publish a new revision to offer it again. Handle business work in either `onAction` or generic `onEvent`, since both report the same action. ## [Extend the example](https://docs.taku.ai/os/extensions/surfaces/#extend-the-example) `showChoice` returns the selected option ID. `showResult` returns caller-owned `artifact.ref/mediaType/title`. A reference transfers no file and does not open details automatically. Download the original v1 / v2 schemas from the [generated reference](https://docs.taku.ai/os/reference/generated/sdk-protocol/#native-android-component-contracts). `SurfaceClient` defines the complete call signatures. Users can drag a capsule or card header. The host saves position preferences; keyboard avoidance and rotation do not rewrite them. Long-press to reset. Presentation content remains temporary in-memory state and is not replayed after process exit. ## [Failures and verified scope](https://docs.taku.ai/os/extensions/surfaces/#failures-and-verified-scope) For binding failure, check host installation, signing and permission. For protocol errors, check version, fields and revision. There is no offline queue or hidden retry. Publication ACK and user action do not establish business completion. The three presentation types, actual callbacks, dragging and position recovery are verified on an API 36 emulator. They are not yet verified on physical devices, a complete system, across a device reboot or with accessibility services. This example is compile-checked against the source and has not been run separately on a device. ## [Current contract and ROM component](https://docs.taku.ai/os/extensions/surfaces/#current-contract-and-rom-component) The current v1/v2 schemas support `text`, `field`, `fact`, and `notice`. The latter three require a nonempty label; consult the [original schemas](https://docs.taku.ai/os/reference/generated/sdk-protocol/#native-android-component-contracts) for complete constraints. The Surfaces host is built into the system. --- # Memory switches and access Which switches control capture, organizing, reminders and assistant access, and when content goes to a model. > Taku OS research preview. Availability varies by device and version; see current progress. Each Taku Memory feature has its own switch. Turning on capture does not turn on model analysis, and allowing the assistant does not let other apps read memories. This page is organized by who can get the content. ## [Android permissions](https://docs.taku.ai/os/extensions/memory-permissions/#android-permissions) | Permission | What it allows | Where to turn it on | | --- | --- | --- | | Accessibility: Observation service | Reading accessible text on pages of chosen apps | Android accessibility settings | | Notification access | Reading the title and text of notifications from chosen apps | Android notification access settings | Revoking either stops that kind of capture; saved records stay. ## [Switches in Taku Memory](https://docs.taku.ai/os/extensions/memory-permissions/#switches-in-taku-memory) | Switch | Location | Default | Where content goes when on | | --- | --- | --- | --- | | Auto capture, Apps to remember | Settings → Capture | Off | Stays on the phone | | Model analysis | Settings → Analysis & assistance | Off | Queued records go to the analysis model in batches | | Agent memory access | Settings → Analysis & assistance | Off | The assistant can search records and use the board and user card | | Proactive suggestions | Settings → Analysis & assistance | On | A next step is offered; a read-only task starts only when you accept | | Organize nightly | Settings → Organizing and assistant | On | New content goes to the organizing model to build the board and user card | | Assistant uses the board, Assistant uses the user card | Settings → Organizing and assistant | On | Apply only while Agent memory access is on | | Speak up first | Settings → Organizing and assistant | Off | The user card and related notifications go to the organizing model to write reminders | | Show on the home feed | Settings → Organizing and assistant (shown when Speak up first is on and a home with the card feed is installed) | Off | Reminders appear as cards on the Taku home; other apps on the phone can read home feed cards | | Let the home feed's AI design cards | Under Show on the home feed | Off | Card content and buttons go to the home feed's AI for layout, one more model call per card | Taku Memory has no internet permission of its own. Every model call goes through the system assistant and Taku AI, using the model account configured there. ## [Taku AI](https://docs.taku.ai/os/extensions/memory-permissions/#taku-ai) In **Android Settings → Taku AI**, you can pause all system AI or turn off Taku Memory's AI permission on its own. Model analysis, nightly organizing and Speak up first then stop; capture, search and deletion keep working. If the setting changes while organizing is running, that run's results are discarded. ## [Data interface](https://docs.taku.ai/os/extensions/memory-permissions/#data-interface) Taku Memory's data interface is protected by the signature permission `org.agentos.memory.ACCESS_MEMORY`, so only system components signed with the same platform key can call it. The assistant searches records through it, only while **Agent memory access** is on. Ordinary apps cannot read or write memories directly. ## [Deletion and recall](https://docs.taku.ai/os/extensions/memory-permissions/#deletion-and-recall) After you delete or edit a record, whatever the board and user card drew from it is voided and reorganized. Assistant conversations already in progress get a note on their next turn that memory they read earlier may be void. Content already sent to a model provider cannot be recalled, and content on a home feed card can be read by other local apps until the card is taken down. For step-by-step use of each switch, see [Use Taku Memory](https://docs.taku.ai/os/guides/memory/). --- # Make your app work with Taku Memory What Taku Memory remembers from your app, and how to keep sensitive content out. > Taku OS research preview. Availability varies by device and version; see current progress. Taku Memory remembers text from the apps a user chooses, through an Android accessibility service and notification access. If a user adds your app to **Apps to remember**, its page text and notifications can be saved, sent to a model during nightly organizing, and searched by the assistant. This page explains what is captured and what you can do in your app. ## [Interfaces for apps](https://docs.taku.ai/os/extensions/memory/#interfaces-for-apps) Taku Memory's data interface, `content://org.agentos.memory`, is protected by the signature permission `org.agentos.memory.ACCESS_MEMORY`. Only system components signed with the same platform key, such as the assistant and the system task service, can call it. Ordinary apps cannot read or write memories directly. - To let the assistant operate your app, expose actions and data with [app interfaces](https://docs.taku.ai/os/tools/app-interfaces/). - To call a model from your app, use the [system AI client](https://docs.taku.ai/os/extensions/system-ai/). ## [How page text is captured](https://docs.taku.ai/os/extensions/memory/#how-page-text-is-captured) Once the user turns on capture, chooses your app and enables the observation service, Taku Memory reads the active window's accessible text about 900 ms after the page settles: - Only while the screen is on and unlocked, from nodes visible to the user in the active window on the main display; up to 32 levels, 500 nodes and 8,000 characters. - Pages with fewer than 16 readable characters are not saved. - System UI, the assistant and Taku Memory's own pages are never captured. These are left out: | Content | How to exclude it | Effect | | --- | --- | --- | | Passwords | Use a password input type (`isPassword()` is true) | The whole page is skipped | | Other sensitive content | Call `setAccessibilityDataSensitive(ACCESSIBILITY_DATA_SENSITIVE_YES)` on the view | The whole page is skipped | | What the user is typing | Editable fields are skipped automatically | Only that field is skipped | When the whole page is skipped, none of its other text is saved either. To keep an entire page out, include one view marked as sensitive. A page is also skipped when its text contains something shaped like an API key or a Bearer token. Mark sensitive content explicitly rather than relying on that fallback. ## [How notifications are captured](https://docs.taku.ai/os/extensions/memory/#how-notifications-are-captured) Once the user turns on **Read notifications** and grants notification access, Taku Memory reads the title and `EXTRA_BIG_TEXT` (or `EXTRA_TEXT` when absent) of notifications from chosen apps. It never posts, dismisses or acts on a notification. These notifications are skipped: - ongoing, foreground-service and group-summary notifications; - notifications with `visibility` set to `VISIBILITY_SECRET`; - notifications whose text mentions a verification code or a one-time code, in English or Chinese. With **Speak up first** on, a new notification that touches something remembered may go to a model together with the few related memory lines, and the model decides whether to remind the user. Instruction-like notifications and notifications with links never go to the model. ## [Test your app](https://docs.taku.ai/os/extensions/memory/#test-your-app) 1. In Taku Memory, turn on **Auto capture**, add your app to **Apps to remember** and enable the observation service. 2. Open a page with a password field, a sensitive view and ordinary text, and let it settle. 3. Go back to **Memories** in Taku Memory, open the new record and check that only the ordinary text appears. Users can remove your app from the sources or delete saved records at any time. For every switch and permission, see [Memory switches and access](https://docs.taku.ai/os/extensions/memory-permissions/). --- # Install and use Skills Read a public skill, install its pinned commit, and verify adoption in a conversation. > Taku OS research preview. Availability varies by device and version; see current progress. A Skill supplies task instructions for the model to read when relevant. Taku implements a native library, public-repository installation, enable/disable controls and conversation selection. Installation does not provision additional tools or accounts. Start with a Skills-enabled assistant and a working [model connection](https://docs.taku.ai/os/models/overview/). ![Check installation, recognition, enablement and actual skill adoption](https://docs.taku.ai/media/diagrams/skills-flow.en.svg) Explanatory flow; this article states the actual verified scope. For context versions, update timing and receipt recovery, see [Context, updates and recovery](https://docs.taku.ai/os/harness/context/). ## [Verified scope](https://docs.taku.ai/os/extensions/skills/#verified-scope) Verified on an Android 16 / API 36 / ARM64 emulator: installation at a fixed commit, native recognition, disable/enable, explicit selection and actual model adoption for `security-threat-model`, plus installation and recognition for `security-best-practices`. Skills is not yet separately verified on physical devices or the latest complete system. ## [Discover, install and use](https://docs.taku.ai/os/extensions/skills/#discover-install-and-use) The Android controls currently use these labels: ``` 技能 = Skills; 发现 = Discover; 已安装 = Installed 安装技能 = Install skill; 来源信息 = Source information 运行时已识别 = Recognized by runtime; 启用技能 = Enable skill 在本会话中使用 = Use in this conversation 取消本会话加载 = Remove explicit selection 管理来源 = Manage sources 卸载技能 = Uninstall skill; 确认卸载 = Confirm uninstall ``` ### [Read the skill](https://docs.taku.ai/os/extensions/skills/#read-the-skill) Open Skills in assistant settings, choose a source under Discover, and search. The defaults are the public `openai/skills` and `anthropics/skills` repositories. Open the detail page to read its purpose, original instructions and prerequisites. The list does not directly install a skill. To follow the example, search for `security-threat-model`. Supply an example project you are authorized to analyze. Without project access, stop at installation and recognition checks rather than claiming an actual project analysis. ### [Install from the detail page](https://docs.taku.ai/os/extensions/skills/#install-from-the-detail-page) When detail loading completes, select Install skill. The source resolves to a fixed Git commit and installation uses that same commit. Repository, commit, archive and `SKILL.md` hashes are recorded under Source information. A catalog name alone is not proof of installation. The installer bounds downloads, checks paths, executes no downloaded install script and does not overwrite an existing skill. Failed detail or commit resolution keeps installation disabled; reload the detail first. ### [Confirm recognition and enable](https://docs.taku.ai/os/extensions/skills/#confirm-recognition-and-enable) Open the detail under Installed. Require Recognized by runtime, then enable the skill. If downloaded but unrecognized, refresh and inspect the runtime directory instead of repeatedly downloading over it. Enablement does not force adoption on every turn. Without explicit selection, an enabled skill can still be adopted based on relevance. ### [Select for a conversation and verify](https://docs.taku.ai/os/extensions/skills/#select-for-a-conversation-and-verify) Open the target conversation and wait until idle. In the skill detail choose Use in this conversation; at most four skills can be explicitly selected. Before the next turn, Harness appends the changed skill background without rewriting existing messages. Try: “Use the selected security-threat-model skill to analyze the current authorized example project. Read the instructions first and report missing project access or tools.” Inspect actual skill reads and execution results. The model saying it used a skill is insufficient evidence. ## [Manage sources and stop adoption](https://docs.taku.ai/os/extensions/skills/#manage-sources-and-stop-adoption) Manage sources in the top menu accepts an `owner/repo` and skill directory such as `skills`. Sources must be public GitHub repositories. Skills do not run in a sandbox, so review the source and instructions before adding one. Remove explicit selection to deselect it for this conversation, or turn off Enable skill to disable it. A deselected but enabled skill may still be adopted by relevance; disable it to stop adoption. Disabling keeps the skill files. Generic plugin-service installation and rollback are not available. Skills can also be packaged into a community plugin; see [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format). ## [Uninstall a skill](https://docs.taku.ai/os/extensions/skills/#uninstall-a-skill) You can uninstall a skill that you installed from a source. Open its detail under Installed, select Uninstall skill, then select Confirm uninstall. This removes the skill files and its selection in every conversation. Existing messages stay unchanged, and the change applies from the next turn. Built-in skills cannot be uninstalled. Uninstall has been tested on an Android 16 ARM64 emulator only. ## [Troubleshooting](https://docs.taku.ai/os/extensions/skills/#troubleshooting) | Problem | Next action | | --- | --- | | Detail unavailable or install disabled | Check networking, public repository path and fixed commit, then reopen the detail | | Installed but unrecognized | Refresh and inspect the runtime; download completion is not adoption | | Recognized but a task fails | Check required tools, accounts and project access; installation does not grant permissions | | Selection blocked while busy | Wait until idle; the active turn keeps its confirmed background snapshot | To build your own device tool, continue to [Your first SDK tool](https://docs.taku.ai/os/guides/extensions/). For the division between skills and system background, see [Capability iteration](https://docs.taku.ai/os/extensions/self-extension/). --- # Capability iteration during use The target loop and current boundaries for creating, validating, and retaining scripts, skills, plugins, or apps with one request. > Taku OS research preview. Availability varies by device and version; see current progress. Use this design page when a working tool needs to become a repeatable workflow or persistent application. To write the first implementation, start with [your first device tool](https://docs.taku.ai/os/guides/extensions/). The complete autonomous loop below is a direction, with its implemented parts listed separately. For installation, enablement and conversation adoption, follow [Skills tutorial](https://docs.taku.ai/os/extensions/skills/). ## [Start with your need](https://docs.taku.ai/os/extensions/self-extension/#start-with-your-need) “When I save travel screenshots, organize them into an itinerary.” The agent checks available capabilities first. If it can complete the task directly, it does. A recurring procedure can become a skill; an extension is appropriate when observation, a connection, a tool, or an interface is missing. A task does not require a preinstalled complete-scenario plugin. ## [The target loop](https://docs.taku.ai/os/extensions/self-extension/#the-target-loop) Describe a need → use existing capabilities or write code → test and preview → install and activate → collect usage feedback → improve. The loop can produce tools, scripts, Skills, plugins, apps, and home-screen widgets, retaining verifiable code, methods, and versions. Self-improvement here does not mean training model weights. A generated file, successful compilation, a registered manifest, or a model's assertion does not prove the capability is active. To confirm it, look for a successful subsequent call, actual business state, and failure recovery. ## [Choose the right artifact](https://docs.taku.ai/os/extensions/self-extension/#choose-the-right-artifact) | Artifact | When it fits | What to verify | | --- | --- | --- | | Temporary script | A one-off combination with enough existing primitives | Commands, exit codes, results, and state readback | | Skill and helper scripts | A recurring working method | Discoverable and usable next time, with reproducible steps | | Capability plugin | New context, triggers, connections, or long-running capability | Discovery, execution, calls, disablement, and recovery | | App or widget | Something the user needs to view or operate repeatedly | The interface and agent share the same business state | | System change | Missing primitives requiring Framework or driver integration | Relevant builds, installation, system images, and device verification | Authors can be developers or agents; implementation, versioning, and test standards are the same. An available command does not require another SDK wrapper. For your first iteration, retain the working script and its source revision, add one reproducible success and failure check, then choose the smallest next step. Register it only if CLI discovery is useful; add an app only if a person needs a persistent interface. This gives you a concrete artifact to test before adopting a larger lifecycle. ## [When changes take effect](https://docs.taku.ai/os/extensions/self-extension/#when-changes-take-effect) Running a new script through shell in the current task, loading tool schemas for a new session, upgrading a resident service, and installing a native component are different paths. The extension host must define activation time, execution environment, task ownership, and version. Writing a file alone must not display “learned.” Track code, skills, installed versions, validation records, and business state separately. Keep earlier working versions for corrections, disablement, recovery, comparison, and sharing. Rolling back code does not automatically undo external effects; each tool needs its own recovery semantics. ## [What the image needs to support](https://docs.taku.ai/os/extensions/self-extension/#what-the-image-needs-to-support) The system needs capability discovery and existing shell access; extension write/load entry points; actual execution and logs; version retention and recovery; persistent business state; and pages and widgets. Long tasks and progress reuse the system task service's lifecycle rather than introducing a second task state. See [ecosystem and extensible system](https://docs.taku.ai/os/architecture/ecosystem/) for the full responsibility. The phone owner retains authorized execution capabilities. A plugin cannot manufacture absent system primitives or device capabilities. ## [What exists and what remains](https://docs.taku.ai/os/extensions/self-extension/#what-exists-and-what-remains) Available today: SDK device methods (status queries and audio sessions; see the [method reference](https://docs.taku.ai/os/reference/generated/sdk-protocol/)), trusted local device-report, public-community Skills installation/enablement/session use, and bounded on-device React/WebView and native Java APK creation/update/API loops. Skills and the native Java loop are verified on a dedicated emulator and not yet on physical devices; the native toolchain must be provisioned separately. Same-process SDK extensions are not a third-party sandbox, and Home widgets are not open to third parties. See [Current progress](https://docs.taku.ai/os/releases/current-progress/). The public [Taku-OS/taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins) repository describes how to package Skills and MCP servers as a plugin and submit a PR, either through the Agent or by hand. See [Community plugin format](https://docs.taku.ai/os/extensions/contract/#community-plugin-format). A newer development build verified this flow on a dedicated emulator. It is not verified on a physical device or complete ROM. Unified plugin installation/update/rollback, event subscriptions, a third-party interface host, and the complete autonomous extension loop have not been verified. This page describes a target, not capabilities that are already available. Existing paths: [on-device app generation](https://docs.taku.ai/os/tools/app-generation/) and [device-report](https://docs.taku.ai/os/extensions/device-report/). ## [References and implementation basis](https://docs.taku.ai/os/extensions/self-extension/#references-and-implementation-basis) OpenClaw's [Creating skills](https://docs.openclaw.ai/tools/creating-skills), [Skill Workshop](https://docs.openclaw.ai/tools/skill-workshop), and [Self-learning](https://docs.openclaw.ai/tools/self-learning) show creation, correction, version retention, and undo mechanisms. They inform skill procedures, not a guarantee of automatic arbitrary native-plugin implementation. --- # How Taku OS works Follow saved information from an app to the assistant to understand the main parts. > Taku OS research preview. Availability varies by device and version; see current progress. Taku OS connects the phone interface, task assistant, device tools and saved information. ## [Places you open](https://docs.taku.ai/os/architecture/overview/#places-you-open) | What you want to do | Where | | --- | --- | | Submit a task and inspect conversation/results | Home and the assistant | | Read, correct or delete remembered information, and view the board and user card | The separate Taku Memory app | | Choose a model group for each feature’s scene and allow app calls | Android Settings → Taku AI | | Type or generate reply suggestions | Taku Keyboard | Memory keeps text and notifications from the apps you choose, not the assistant's chat history. The graphical task workspace under development belongs to the assistant; the current system image does not have that entry point yet. ## [Follow a dinner plan](https://docs.taku.ai/os/architecture/overview/#follow-a-dinner-plan) 1. **Memory remembers the plan.** A dinner plan arrives in a chat app you chose; Taku Memory saves the message and organizes it into the board and user card that night. 2. **You correct it.** Edit the time in the record detail. It keeps its ID with a new revision, the board and user card are reorganized, and the assistant's next read returns current content. 3. **The assistant reads for a task.** You ask for a dinner checklist. With Agent memory access on, the assistant uses the related parts of the user card and searches the original text on demand; an uncertain location stays a question to resolve. 4. **Tools perform operations.** For device checks, app interaction or file creation, the assistant calls a tool. Saving evidence, proposing an action and completing a task are different operations. Try the first three steps with [Use Taku Memory](https://docs.taku.ai/os/guides/memory/) and [Use Memory in an assistant task](https://docs.taku.ai/os/agents/memory/). ## [Names behind the flow](https://docs.taku.ai/os/architecture/overview/#names-behind-the-flow) The **Agent** selects and calls tools. The **system task service** coordinates queues, task state and stopping; native conversations still hold the dialogue. **Magpie** is a third-party open-source model gateway (MIT, by yetone, [https://usemagpie.ai](https://usemagpie.ai/) ). Taku OS runs it on the phone with the system to forward Codex requests to model services. A gateway on the phone does not mean models run locally. **Memory** stores records with provenance and revisions and organizes them nightly into a graph, a board and a user card. See [How Memory stores and organizes](https://docs.taku.ai/os/architecture/memory-activity/). **Surfaces** displays hints, choices and results, and returns user actions to the component that provided them. Actual task execution must be handed to the assistant separately. ## [Developer entry points](https://docs.taku.ai/os/architecture/overview/#developer-entry-points) Combine device queries in an [SDK script](https://docs.taku.ai/os/guides/extensions/), expose [app interfaces](https://docs.taku.ai/os/tools/app-interfaces/) that share UI state, or follow [Memory's capture rules](https://docs.taku.ai/os/extensions/memory/) to keep content in your app from being remembered. Reuse [system AI](https://docs.taku.ai/os/extensions/system-ai/) for model generation and [Surfaces](https://docs.taku.ai/os/extensions/surfaces/) for trusted presentation. Access belongs to the real caller. Installing a component, obtaining model permission or using a background display does not grant unrelated data access. ## [Continue reading](https://docs.taku.ai/os/architecture/overview/#continue-reading) Read [Agent Harness](https://docs.taku.ai/os/harness/overview/) for model/context/tool coordination, or try [Your first task](https://docs.taku.ai/os/agents/tasks-sessions/) or [Your first tool](https://docs.taku.ai/os/guides/extensions/). Device/version support is collected in [Available features](https://docs.taku.ai/os/releases/current-progress/). --- # Design principles The problem Taku OS addresses and the three rules that guide its features. > Taku OS research preview. Availability varies by device and version; see current progress. Taku OS aims to make a phone execute tasks for its user and gain reusable features over time. Android supplies the application and hardware foundation, the Agent coordinates execution, and the user retains direct access to the phone and its results. ## [Why start at the system layer](https://docs.taku.ai/os/architecture/philosophy/#why-start-at-the-system-layer) Android permissions and device implementations constrain the services, background execution, and hardware interfaces available to an ordinary app. Taku OS prepares the runtime, necessary services, and explicit contracts so an Agent can use authorized commands, tools, and application interfaces. Root, platform signing, and system UID are distinct qualifications. SELinux, app authorization, and hardware support still need separate checks. See [permission layers](https://docs.taku.ai/os/security/permissions/). ## [Three design rules](https://docs.taku.ai/os/architecture/philosophy/#three-design-rules) ### [State must be real](https://docs.taku.ai/os/architecture/philosophy/#state-must-be-real) The UI, interfaces, and Agent results should refer to the same business state. A model saying “done” does not establish success: read back the actual file, application data, window, or interface result. ### [Capabilities need contracts](https://docs.taku.ai/os/architecture/philosophy/#capabilities-need-contracts) Document each entry point, parameter, permission, device and version requirement, error, and validation scope. A catalog entry records a capability; it does not establish implementation or permission. ### [People retain an interface](https://docs.taku.ai/os/architecture/philosophy/#people-retain-an-interface) Existing apps remain usable, tasks have visible state, and background displays can be inspected. General automatic Agent suspension, input arbitration, and takeover policy remain unfinished. A visible display alone does not establish those behaviors. ## [How features grow](https://docs.taku.ai/os/architecture/philosophy/#how-features-grow) Use an existing command when it can complete the task. Create a script, tool, app, or extension when there is a reusable gap. Context sources, triggers, runtimes, memory, and interfaces are all extension directions; see [system and extension responsibilities](https://docs.taku.ai/os/architecture/ecosystem/). Applications should share actual business state between their UI and Agent-facing interfaces. Writing, verifying, installing, and refining code during use is a product direction. This means improving programs and procedures, not training model weights. ## [Implemented foundations and next steps](https://docs.taku.ai/os/architecture/philosophy/#implemented-foundations-and-next-steps) Phone tasks, background displays, Skills installation, and native-app creation and upgrades have verification records in specified environments. Emulator, Pixel 9 physical-device, complete-ROM and general plugin-lifecycle verification are separate levels. See [Available features](https://docs.taku.ai/os/releases/current-progress/). The [taku-os](https://github.com/Taku-OS/taku-os) repository is open source (`Apache-2.0` for original Taku source; bundled third-party components retain their own licenses), while `Taku-OS/taku-os-docs`, server-side services, Taku for Mac, and Marketplace remain private; see [Source and contributing](https://docs.taku.ai/os/contributing/overview/). The [development-preview images](https://docs.taku.ai/os/install/devices/) and published ARM64 emulator archive each have a specific device and verification scope, and open-source code does not establish verified support for every phone or capability. ### [Understand the architecture](https://docs.taku.ai/os/architecture/overview/) See how Android, task execution, capabilities, and apps connect. ### [Make a real call](https://docs.taku.ai/os/guides/getting-started/) Verify your environment with an implemented method. --- # System and extension responsibilities Decide whether a feature belongs in Android integration, an Agent task, or an independently updated extension. > Taku OS research preview. Availability varies by device and version; see current progress. A task combines a user goal, existing system capabilities, and optional extensions. The Agent coordinates execution; each scenario does not require its own plugin. ## [Three layers](https://docs.taku.ai/os/architecture/ecosystem/#three-layers) | Layer | Responsibility | Examples | | --- | --- | --- | | Android and system image | Device integration, system qualifications, runtime, and necessary services | Drivers, permission policy, system services, shared user interfaces | | Agent runtime | Interpret requests, use tools, coordinate tasks, and read back results | Current Codex runtime, the system task service, sessions and tools | | Optional extensions | Reusable information, actions, or interfaces | Connectors, triggers, scripts, Skills, apps, and widgets | ## [When to build an extension](https://docs.taku.ai/os/architecture/ecosystem/#when-to-build-an-extension) Call an existing shell command or application interface when it is sufficient. Package a capability when it needs reuse, independent updates, or sharing. One extension may expose multiple entry points, and one scenario may combine several extensions. For example, extracting commitments from messages may require a message source, query tools, and a calendar interface. Connecting a chat channel and reading personal desktop message history are separate capabilities that need separate implementation and verification. This is a composition example, not a completed scenario claim. ## [Extension building blocks](https://docs.taku.ai/os/architecture/ecosystem/#extension-building-blocks) The table describes design categories, not a list of released plugins. For a first feature, choose only what the goal needs—for example, a script reading device information. You do not need to implement every category. | Part | Contents | | --- | --- | | Context | Sources, queries, and incremental organization | | Triggers and observation | Screenshots, new messages, saved items, and scheduled checks | | Tools and scripts | Programs or remote interfaces that perform actions | | Skills and rules | Reusable procedures and behavioral constraints | | Runtime | Agent execution programs and their adapters | | Memory and storage | Persistence, retrieval, and migration | | User interfaces | Apps, pages, widgets, suggestions, and results | Default components and third-party extensions should use the same contracts. The UI, Agent, and other extensions should share actual business state. ## [Changes that require an image build](https://docs.taku.ai/os/architecture/ecosystem/#changes-that-require-an-image-build) Scripts, apps, and extensions can be updated through their delivery mechanisms. Changes to Android Framework, drivers, system permission policy, or partition integration require a system build and verification on the relevant device. Ordinary plugins cannot substitute for these changes. Target shared image responsibilities also include loading and lifecycle, capability discovery, events, compatibility validation, and artifact management. A trusted local extension loop exists. General plugin installation, upgrades, rollback, isolation, and event services remain unfinished. Skills installation and enablement have separate evidence and must not be confused with general plugin lifecycle. ## [Choose a development entry](https://docs.taku.ai/os/architecture/ecosystem/#choose-a-development-entry) ### [Trusted local extension](https://docs.taku.ai/os/guides/extensions/) Use device-report to understand registration and controlled calls. ### [Application development](https://docs.taku.ai/os/tools/app-generation/) Explore validated phone-local builds and shared UI/API state. ### [Extending during use](https://docs.taku.ai/os/extensions/self-extension/) Separate implemented bounded loops from autonomous extension goals. ### [Interface contracts](https://docs.taku.ai/os/extensions/contract/) Specify inputs, outputs, permissions, failures, and recovery. --- # How Memory stores and organizes From a record to the memory graph, the board and the user card, and how search and deletion run through them. > Taku OS research preview. Availability varies by device and version; see current progress. Taku Memory is a standalone system app (`org.agentos.memory`) with its own UID and private SQLite database, and no internet permission. When it needs a model, it calls the model account you configured through the system assistant and Taku AI. ## [Four layers](https://docs.taku.ai/os/architecture/memory-activity/#four-layers) | Layer | What it is | Produced by | | --- | --- | --- | | Records | Original text from pages and notifications of chosen apps, with source, time, ID and revision | The observation service and notification reading, stored locally | | Graph | People, events, tasks and items organized from new records, and the relations between them | Nightly organizing | | Board | What is in progress, how far along it is and what people call it | Nightly organizing, from the graph | | User card | Your habits, the people who matter to you and key dates, plus plans and deadlines for the next two days | Nightly organizing, from the graph | ## [Records](https://docs.taku.ai/os/architecture/memory-activity/#records) When the same page appears again, only lines that are new relative to its recent versions are stored. Records are kept forever by default, or for 1, 7 or 30 days. Editing a record keeps up to five previous versions. ## [Search](https://docs.taku.ai/os/architecture/memory-activity/#search) The search box on **Memories** matches keywords. The assistant's search also uses an on-device vector model (bge-small-zh-v1.5 running offline through ONNX Runtime) and graph nodes, fuses them by rank, then expands one hop along graph relations. ## [Organizing](https://docs.taku.ai/os/architecture/memory-activity/#organizing) At 11 PM, the organizer sends what is new since the last run to the organizing model and updates the graph, then the board, then the user card. A missed hour is caught up later, and a failure is retried after 30 minutes. The organizing model writes the board and user card in Chinese. The organizer writes, on graph nodes, the latest day to act (`due`), what missing it costs (`stake`) and whether you must attend (`attend`), and links what to think of together. The user card is picked per message when it is given to the assistant. "The next two days" comes from graph events, tasks and items due from today to the day after tomorrow; an item with `due` enters by that day, and when the list is full, things with deadlines stay. Privacy rules apply before saving and before showing. Other people's health conditions, relationships, money and private plans to quit stay off the user card. Your own diagnoses, medication, income and accounts are not kept. Long numbers are masked, and instruction-like entries are dropped. ## [Deletion and correction](https://docs.taku.ai/os/architecture/memory-activity/#deletion-and-correction) When you delete or edit a record: 1. every graph node version citing it is voided; 2. every board and user card version that may contain it is voided; 3. organizing rewinds and runs again soon with the remaining records (and the edited text); 4. results from a run that overlapped the deletion are discarded. Items you delete from the board or user card are passed to the organizing model and are also blocked by name and similar wording before saving and showing, so they are not written back. Node IDs are never reused. ## [Speak up first](https://docs.taku.ai/os/architecture/memory-activity/#speak-up-first) With **Speak up first** on, finishing nightly organizing triggers the bedtime brief, and a new notification is first compared with the user card on the phone, checking clashes only against times you must attend, before anything goes to the model. Once the model decides to speak, a faster model checks the reminder once. All of these calls run in temporary model threads with no tools and no assistant background. Each reminder is stored in Memory with the background it was written from. When it is handed to the Agent, the system task service reads both back from Memory and queues one read-only task in the existing assistant. ## [Home feed cards](https://docs.taku.ai/os/architecture/memory-activity/#home-feed-cards) With **Show on the home feed** on, Memory builds each reminder into a card in the home feed's card format and publishes it to the Taku home feed, with no extra model call. With **Let the home feed's AI design cards** on, it instead passes a description to the home feed's AI, reads the card back to check that the buttons and text were not changed, and falls back to the fixed layout when they were. Memory records every card it publishes and takes it down when it expires, is removed or the switch is turned off. Before each card, after nightly organizing and when the Memory app opens, it reads back what you did with its cards and records that on the reminder. For step-by-step use, see [Use Taku Memory](https://docs.taku.ai/os/guides/memory/). For how the assistant uses this data, see [Use Memory in an assistant task](https://docs.taku.ai/os/agents/memory/). --- # Primitives, interfaces, and scenarios Distinguish a system action, a callable interface, and a complete user task when reading capability documentation. > Taku OS research preview. Availability varies by device and version; see current progress. “Android defines this interface,” “Taku implements this tool,” and “this task works” are different claims. Separate these three levels before deciding whether an entry in the capability catalog meets your goal. ## [What is a system primitive?](https://docs.taku.ai/os/capabilities/layers/#android-basic-actions) A **primitive** is a basic action used in a task, such as taking a screenshot, reading location, saving a file, or sending a notification. Android provides different interfaces for these actions, and callers must still meet device, version, and permission requirements. Microphone recording, app-playback capture, and call recording are different entry points. Verifying one does not verify the other two. Root identity cannot supply unsupported hardware or bypass every service check. ## [An interface exists: can you call it?](https://docs.taku.ai/os/capabilities/layers/#taku-os-execution-and-system-state) When you find a name, first identify the kind of information you are reading: | What you see | What it establishes | Next step | | --- | --- | --- | | Android declaration or research entry | A platform definition or an investigated implementation route | Check versions, permissions, and devices; do not call it directly as a Taku method | | A method returned by `methods.list` | The current SDK registers that method | For device-data methods, follow the [quickstart](https://docs.taku.ai/os/guides/getting-started/), select a transport and device, then inspect the result | | A successful execution record for a specific environment | That version performed the recorded operation under those conditions | Compare your device, execution identity, and version | The SDK is a library for programmatic calls. It does not turn every Android name in the catalog into a method or grant permissions. See the [interface reference](https://docs.taku.ai/os/reference/) for exact usage and [permission layers](https://docs.taku.ai/os/security/permissions/) for access conditions. ## [From actions to a usable feature](https://docs.taku.ai/os/capabilities/layers/#apps-scripts-and-extensions-business-functions) A complete feature often combines several actions and maintains business state. A scorekeeping app needs more than displayed numbers: it needs increments, undo, input validation, and the same scores in its interface and API. Scripts combine steps, apps provide a persistent interface, and Skills preserve reusable working methods. Choose based on the result you need; not every task needs a plugin. Start with [development paths](https://docs.taku.ai/os/extensions/overview/), or read [system and extension responsibilities](https://docs.taku.ai/os/architecture/ecosystem/) to decide where a change belongs. ## [Understand the levels through meeting notes](https://docs.taku.ai/os/capabilities/layers/#check-the-layers-with-a-scenario) 1. **Basic action**: Record from an authorized audio source. 2. **Processing tool**: Retrieve the recording, transcribe it, and organize the text. 3. **User result**: Produce traceable notes and action items, with a way to check errors or omissions. Successful recording establishes only the first level. A transcription returning text does not establish reliable notes. This is a design scenario; consult the corresponding tutorials and capability status for executable steps and verified scope. ### [Meeting-notes design](https://docs.taku.ai/os/capabilities/cases/meeting-notes/) Explore audio sources, processing, and result verification. ### [Check validation scope](https://docs.taku.ai/os/capabilities/status/) Identify what research, emulator, and physical-device records establish. For whole-device scope, read [Available features](https://docs.taku.ai/os/releases/current-progress/). Emulator components, physical-device components and the complete system image are verified separately. A successful tool does not establish a validated complete image. --- # Agents and execution Follow a user request through phone commands, visible state, and results. > Taku OS research preview. Availability varies by device and version; see current progress. An agent organizes work around a user request and can use existing commands, scripts, tools, and application interfaces directly. Plugins provide reusable context, triggers, connections, workflows, and UI; an ordinary task does not require a new plugin first. See [Capability iteration](https://docs.taku.ai/os/extensions/self-extension/) for progress on creating, testing, loading, and retaining extensions during use. To run a task now, start with [your first task](https://docs.taku.ai/os/agents/tasks-sessions/). To write code that queries the device directly, use [your first device tool](https://docs.taku.ai/os/guides/extensions/). This page explains the components behind those two paths. ## [How a request executes](https://docs.taku.ai/os/agents/overview/#how-a-request-executes) The device currently uses one **Codex 0.161.0 App Server**. The system task service coordinates local requests and system execution. Native Codex `thread`, `turn`, and `item` records store conversations and turns; Home and the assistant drawer display rebuildable projections of those records. | Stage | Responsibility | | --- | --- | | Home or assistant input | Receive the user request | | System task service | Manage task IDs, the queue, and execution state | | Codex App Server | Manage conversations, tool calls, approvals, and interruption | | Android commands and app interfaces | Perform actions and expose results that can be checked | For the current interface, see [Tasks and sessions](https://docs.taku.ai/os/agents/tasks-sessions/). In Codex terminology, a `thread` is a conversation, a `turn` is one execution round, and an `item` is a record such as a message or tool call. The system task service owns the local task queue; it is not a second conversation store. Home displays these underlying records and can reconstruct the visible history. ## [Current model connections](https://docs.taku.ai/os/agents/overview/#current-model-connections) You can select ChatGPT or the on-phone Magpie gateway. Magpie, a third-party open-source model gateway, routes model requests to online APIs such as DeepSeek; Codex remains the Agent runtime. Real DeepSeek, phone tools, and return navigation from the management page are verified on the emulator, not yet on a physical device. Real models and selected native operations are verified separately on a physical Pixel 9. These scopes do not substitute for each other. More models, long sessions, the latest version on a physical phone, and the complete ROM still need separate verification. See [Current progress](https://docs.taku.ai/os/releases/current-progress/). ## [Read task state](https://docs.taku.ai/os/agents/overview/#read-task-state) This optional developer check needs Node.js 20+ in the system repository root, an authorized ADB connection, and UID `0` or `1000` with access to the existing task directory. Replace `emulator-5582` with your target from `adb devices -l`. A stock AVD or factory phone does not automatically have the task components. ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` The current SDK returns task IDs and `state`, with `includesPrompts:false` and `includesResults:false`. This command does not submit a new task or return private requests or result bodies. ## [Continue reading](https://docs.taku.ai/os/agents/overview/#continue-reading) | Topic | Documentation | | --- | --- | | queued, running, completion, and errors | [Task lifecycle](https://docs.taku.ai/os/agents/lifecycle/) | | The current device executor | [Codex device path](https://docs.taku.ai/os/models/codex/) | | Adapting another Agent runtime | [Runtime boundaries](https://docs.taku.ai/os/agents/runtime/) | | Calling application business functions directly | [Application interfaces](https://docs.taku.ai/os/tools/app-interfaces/) | | Using main and background screens together | [Independent background display](https://docs.taku.ai/os/tools/background-display/) | Missing runtime components, networking, or directory access cause failures. Check system state and actual business results when assessing success; the model's reply alone is insufficient. Native goal, queue, session, and multi-agent policy controls exist, and selected goal and queue operations passed Pixel 9 tests. [Memory management and on-demand reads](https://docs.taku.ai/os/guides/memory/) are verified in specified environments. Cross-device sync, external plugins and MCP services still need individual verification. Complete OS event subscriptions and third-party sandboxing are not delivered. After a successful task, continue with [your first device tool](https://docs.taku.ai/os/guides/extensions/) to turn a query into repeatable code. --- # Agent runtime The current Codex device path and the verified limits of runtime replacement. > Taku OS research preview. Availability varies by device and version; see current progress. Codex is the current on-device Agent runtime and owns conversations, tools, approvals, and interruption. ChatGPT and Magpie provide two model connection paths. Adding Magpie does not replace Codex or create another task queue. Use this page when diagnosing the executor or designing a replacement runtime. Writing [a first SDK tool](https://docs.taku.ai/os/guides/extensions/) requires neither a model connection nor a replacement runtime. For a UI task, start with [your first task](https://docs.taku.ai/os/agents/tasks-sessions/). ## [Execution path](https://docs.taku.ai/os/agents/runtime/#execution-path) | Component | Input and output | | --- | --- | | System task service | Receive local requests and coordinate the existing task lifecycle | | One Codex App Server | Manage native `thread`, `turn`, and `item` records and initiate tool calls | | Android commands or app interfaces | Perform actions and return actual business state | | Home and assistant drawer | Read native history and results to display a rebuildable UI projection | The capability SDK itself does not depend on Codex and can be called directly by trusted programs. ## [Model gateway verification scope](https://docs.taku.ai/os/agents/runtime/#model-gateway-verification-scope) The on-phone Magpie gateway sends model requests to online APIs. Follow [Use DeepSeek inside Taku OS](https://docs.taku.ai/os/models/magpie-deepseek/) for setup and a first call. Verified on the emulator: real DeepSeek conversations, the `device_info` tool, protocol tests, and returning from the management browser to the current conversation with its draft restored. These results cover the tested connection and navigation paths only. They do not imply offline inference or universal provider support. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for version, physical-device, and complete-ROM boundaries. ## [Inspect the runtime without changing it](https://docs.taku.ai/os/agents/runtime/#inspect-the-runtime-without-changing-it) Requires the system source The second command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Taku OS includes the Codex CLI at `/system_ext/bin/codex`. On a device running Taku OS, choose an ADB target listed as `device` and replace `emulator-5582`. The second command also requires Node.js 20+ in the system repository root, UID `0` or `1000`, and task-directory access: ``` adb -s emulator-5582 shell /system_ext/bin/codex --version node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` The first command returns the installed program version; the second returns current task metadata. Task readback may be denied because of UID or file permissions. These checks do not log in automatically or read or output the model authentication cache. ## [Provisioning and runtime replacement](https://docs.taku.ai/os/agents/runtime/#provisioning-and-runtime-replacement) The Codex runtime is built into the system at `/system_ext/bin/codex`, so a device running Taku OS needs no separate installation. A replacement Agent runtime must accept the existing `taskId`, `prompt`, working directory, and capability client, then return results and failures to the same task lifecycle. Reuse the system task service rather than adding per-provider queues or background daemons that disagree with Home. The [Models and runtimes](https://docs.taku.ai/os/models/overview/) directory distinguishes model services from replacement runtimes. Separate runtimes such as Claude Code, OpenClaw, Hermes, and Kimi remain ecosystem references or adaptation research. ## [Verify execution results](https://docs.taku.ai/os/agents/runtime/#verify-execution-results) Exit codes, final results, and task completion should agree. Unavailable network inference should produce a real failure. Authentication files are not distributable system source. Continue with [Tasks and sessions](https://docs.taku.ai/os/agents/tasks-sessions/) or [System commands](https://docs.taku.ai/os/tools/system-shell/). Interface fields follow the generated reference. --- # Task lifecycle and execution results Distinguish the lifecycles of a task, model process, display host, and viewer. > Taku OS research preview. Availability varies by device and version; see current progress. A task can wait, run, stop or ask for input. Check its current state before deciding whether to continue or retry. The task coordinator and native conversation keep different records; the sections below explain which one to inspect. ## [Inspect task state](https://docs.taku.ai/os/agents/lifecycle/#inspect-task-state) First complete [a task in the UI](https://docs.taku.ai/os/agents/tasks-sessions/). The following metadata check is optional: use Node.js 20+ in the system repository root, an ADB target listed as `device`, and UID `0` or `1000` with task-directory access. Replace the example serial with your target: ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` The device probe reads `state.json` from an existing directory. It may return `queued`, `running`, `completed`, `failed`, `cancelled`, `error`, or `unknown`. These values come from the readback probe; they do not mean every transition has been verified. The snapshot omits prompt and result bodies (`includesPrompts:false`, `includesResults:false`). A `completed` entry tells you the recorded task state, not whether the business result meets your goal. Compare the execution output with the success criteria set before submission. ## [Distinguish four lifecycles](https://docs.taku.ai/os/agents/lifecycle/#distinguish-four-lifecycles) | Object | What to inspect | | --- | --- | | User task | Input, task ID, state, and result | | Model process | Startup, exit code, and actual output | | Independent display host | Whether it still owns the VirtualDisplay and hosts an existing app | | Native viewer | Frames and touch mapping; collapsing the viewer does not stop the app | Task completion should agree with actual API state, window changes, and the defined success criteria. Verified so far: the main screen remains usable during a real task, and you can scroll manually through the mirror after completion. Automatic takeover or pausing during execution is not verified. ## [Interruption and recovery](https://docs.taku.ai/os/agents/lifecycle/#interruption-and-recovery) Verified on a dedicated emulator: the real stop button, owned child-process cleanup, concurrent-session separation, and subsequent model replies. **Stopping does not roll back external effects that have already occurred.** Same-turn steering and restart recovery are verified separately on a physical Pixel 9. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for the latest interface and complete-ROM status. ## [Diagnose stalled state](https://docs.taku.ai/os/agents/lifecycle/#diagnose-stalled-state) Reading task directories requires Root or system UID and the corresponding file permissions. If state stops changing, inspect execution identity, the system task service, and the model process. Follow the [Operations checklist](https://docs.taku.ai/os/operations/runbook/) for the inspection order. Do not hide failures by deleting all tasks, copying authentication directories, or creating another queue. `tasks.status` returns a snapshot; see [Event boundaries](https://docs.taku.ai/os/reference/events/) for the scope of subscriptions. Once you can distinguish task completion from its actual result, [write a small device tool](https://docs.taku.ai/os/guides/extensions/) or inspect [application state through an interface](https://docs.taku.ai/os/tools/app-interfaces/). --- # Use Memory in an assistant task How the assistant uses the board and user card, searches records on demand, and what happens when memory changes. > Taku OS research preview. Availability varies by device and version; see current progress. With **Agent memory access** on in Taku Memory, the phone assistant can use memory while it works: first the parts of the board and user card related to the task, then specific records when it needs the original text. The assistant only reads memory; it never creates, edits or deletes records. ## [Before you start](https://docs.taku.ai/os/agents/memory/#before-you-start) - Capture some content with [Use Taku Memory](https://docs.taku.ai/os/guides/memory/). The board and user card appear after nightly organizing, or tap **Organize now**. - Turn on **Agent memory access** under **Taku Memory → Settings → Analysis & assistance**. - The assistant needs a working [model connection](https://docs.taku.ai/os/models/overview/). ## [Try it](https://docs.taku.ai/os/agents/memory/#try-it) Ask the assistant: > Help me reply to Alex's last message. The assistant first works out who is involved, then takes those people's related plans (time, place) and stakes (why it matters) from the user card and uses them in the draft. Asked about a birthday present, for example, the draft also confirms the agreed time and place. To check the source, follow up with: > Find the original message for that plan in memory and tell me its source and time. The execution record should show an actual memory search, and the answer should cite the record's source and time. ## [What the assistant gets](https://docs.taku.ai/os/agents/memory/#what-the-assistant-gets) | Content | When it is given | How to turn it off | | --- | --- | --- | | Board | Whole, so the assistant can resolve references like "that thing" or "Alex's thing" | Turn off **Assistant uses the board** | | User card | Only the parts related to each message: your habits and close family, people with plans or key dates in the next 3 days, people and habits the message touches, and today's related quotes not yet organized | Turn off **Assistant uses the user card** | | Next two days | Key dates, deadlines and clashes from today to the day after tomorrow, mentioned once in a sentence or two after the answer | Turned off with the user card | | Record text | Searched on demand with the tools below | Turn off **Agent memory access** | The board, user card and records are given to the assistant as reference data, never as instructions. Today's quotes on the user card are quoted, and lines with links or instruction-like lines are left out. ## [Search tools](https://docs.taku.ai/os/agents/memory/#search-tools) The assistant calls two read-only tools through the system task service: | Tool | What it does | | --- | --- | | `taku_phone.memory_search` | Searches by `query` and returns up to 10 dated results with their source. Search combines keywords, an on-device vector model and the memory graph | | `taku_phone.memory_get` | Reads one record's current content by `id`, including its revision and original timestamps | Records that were deleted or expired, or any record while queries are off, are not returned. The whole memory database is never placed in the assistant's background. ## [When memory changes](https://docs.taku.ai/os/agents/memory/#when-memory-changes) After you delete or edit a record, or edit the board or user card, conversations already in progress get a note on their next turn: the board, user card, records and quotes read earlier may be void, should not be reused, and should be looked up again. The note does not repeat what was removed. ## [Starting from suggestions and reminders](https://docs.taku.ai/os/agents/memory/#starting-from-suggestions-and-reminders) - Accept a suggestion on the **Suggestions** tab and the assistant reads the record in a read-only task and drafts a checklist. See [Per-record analysis and suggestions](https://docs.taku.ai/os/guides/memory-legacy/). - With Speak up first on, reminders in notifications and on the **Suggestions** tab offer **Hand to Agent**. The assistant reads the reminder and the memory it was written from, and queues one read-only task: verify, suggest what to do or draft a reply, never sent. Each reminder is handed over once, and the result appears in the assistant. - **Let Taku plan**, **Draft a reply** and **Ask Taku** on home feed cards also only draft and never send. See [Use Taku Memory](https://docs.taku.ai/os/guides/memory/#5-speak-up-first). For how context enters a task, see [Harness context](https://docs.taku.ai/os/harness/context/). --- # Android permission layers What ordinary authorization, shell, Root, platform signing, and ROM changes each enable. > Taku OS research preview. Availability varies by device and version; see current progress. The same command can behave differently in two environments because its execution identity and granted permissions differ. Use this page to understand access denials. If you have not connected a device, start with the [quickstart](https://docs.taku.ai/os/guides/getting-started/). ## [Judge actual capabilities](https://docs.taku.ai/os/security/permissions/#judge-actual-capabilities) | Layer | Practical entry points | Remaining limits | | --- | --- | --- | | Ordinary App and user authorization | Public Android APIs such as camera, notifications, location | User consent, targetSdk, background restrictions, OEM behavior | | Accessibility / notification listening / MediaProjection | User-granted screen or message capabilities | Service authorization, visible content, system and App restrictions | | ADB shell / controlled shell service | am, input, pm, cmd | Shell UID, Linux permissions, SELinux, service checks | | Root | Process and file access requiring UID0 | SELinux, signature permissions, TEE, network/App sessions | | Platform signing / system package | Signature permissions and system identity | Signing consistency, privapp configuration, service policy | | ROM changes | init, SELinux, framework, system partitions | Device BSP, boot chain, regression, and release checks | A task often requires authorization at several layers. “All permissions” cannot replace reproducible prerequisites for each interface. ## [Access foundations the image must integrate](https://docs.taku.ai/os/security/permissions/#access-foundations-the-image-must-integrate) The image must connect execution identity, platform-signing or system-package qualifications, necessary services and SELinux rules to actual call paths. The phone owner, agents and developers can use authorized shell or native interfaces; SDK/CLI wrappers should expose callable scope and failures. These are integration responsibilities, not a claim of production hardware-permission management today. Camera, microphone, location and sensor entry points need device, driver/HAL, resource-occupancy, version and permission checks. Custom execution policies, background tasks and camera processing must coordinate with existing apps, the main display and other hardware users. System qualifications do not guarantee compatibility with every app or hardware mode. ## [Check current execution identity](https://docs.taku.ai/os/security/permissions/#check-current-execution-identity) > **Requires the system source:** The SDK commands below run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run from the `taku-os` system repository root on your computer. ADB is the debugging tool connecting the computer to Android. Find your device with `adb devices -l` and replace `emulator-5582` below with its identifier. ``` adb -s emulator-5582 shell id adb -s emulator-5582 shell getenforce node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` `id` shows the process user identity, or UID. `getenforce` shows whether SELinux access rules are being enforced; `Enforcing` means they are active. Compare these with the outcomes of the two SDK calls. A historical task-metadata query under UID 2000, the Shell identity, returned `PERMISSION_DENIED`. That identity did not meet the entry point’s requirements. Do not interpret the failure as an empty task list or repeatedly send the same request. ## [Flashing versus no flashing](https://docs.taku.ai/os/security/permissions/#flashing-versus-no-flashing) For capabilities available through ordinary user authorization, specify the public API path first. System-identity capabilities must state signing or ROM-integration prerequisites. One successful Root experiment does not establish a stable system interface or equivalent identity on a stock phone. User-installed Apps, generated applications, and SDK methods should have explainable permission declarations. There is currently no generic isolation policy for third-party extensions; the experimental Node service is not a mature application sandbox. **Failure boundaries**: Permission denial must not become successful empty output. Platform signing and Root are different. Flashing does not automatically make device payments, hardware keys, or private App protocols callable. **Next**: Check each capability's API, permissions, ROM dependencies, devices, and scope in the [Generated reference](https://docs.taku.ai/os/reference/generated/). --- # Interface reference Find the calling contract, errors, and capability records generated from the system specification. > Taku OS research preview. Availability varies by device and version; see current progress. Writing code for the first time? Follow [your first device tool](https://docs.taku.ai/os/guides/extensions/) for a complete runnable example, then return here to look up arguments and errors. You do not need to read every capability record before making a call. Use the CLI and protocol pages for Taku SDK calls. Use generated capability records for each Android mechanism’s permissions, examples, and validation records; catalog membership does not make a mechanism an implemented SDK method. ### [CLI and SDK](https://docs.taku.ai/os/reference/cli/) Command syntax, transports, environment variables, and exit behavior. ### [Request and response protocol](https://docs.taku.ai/os/reference/protocol/) Required fields and differences between the CLI, SDK, and device facade. ### [Errors](https://docs.taku.ai/os/reference/errors/) Error meanings and the next diagnostic step. ### [Capability inventory](https://docs.taku.ai/os/reference/generated/) Source-generated conditions, examples, limitations, and validation. ### [Raw Android interfaces](https://docs.taku.ai/os/reference/generated/raw-android/) Search pinned declarations and upstream implementation locations. ### [Snapshots and events](https://docs.taku.ai/os/reference/events/) Understand current reads and the unimplemented event-service contract. Requires the system source The command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. To discover implemented SDK methods, run this in the system repository root with Node.js 20+; it needs no connected device: ``` node sdk/cli/taku.mjs call methods.list ``` Device methods include status queries such as `system.info` and `audio.*` audio sessions; `methods.list` and the [generated method reference](https://docs.taku.ai/os/reference/generated/sdk-protocol/) give the full list. `methods.list`, `capabilities.list`, and `extensions.list` return metadata. The capability inventory also contains researched Android mechanisms, so its size is not the count of callable device methods. ## [Versions and validation records](https://docs.taku.ai/os/reference/#versions-and-validation-records) The generated reference comes from a fixed version of the system specification. Its inventory date and per-record status are preserved. Later emulator, physical-device, and image results are summarized in [current progress](https://docs.taku.ai/os/releases/current-progress/). To record what your call proved, use [validation boundaries](https://docs.taku.ai/os/guides/validation/). --- # CLI and SDK reference Choose a computer terminal, JavaScript, or device shell entry point and check its arguments and return behavior. > Taku OS research preview. Availability varies by device and version; see current progress. The CLI is the command-line interface; the SDK is the JavaScript client library. Complete the [quickstart](https://docs.taku.ai/os/guides/getting-started/) for your first connection. Use this page to look up arguments and return behavior. ## [Host CLI](https://docs.taku.ai/os/reference/cli/#host-cli) > **Requires the system source:** The host CLI and JavaScript SDK run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run commands from the `taku-os` system repository root on your computer. This is syntax notation: replace `METHOD`, `ID`, and `PATH`; brackets mark optional arguments and are not typed. ``` node sdk/cli/taku.mjs call METHOD [--transport adb|device] [--serial ID] [--adb PATH] node sdk/cli/taku.mjs extension ID [--transport adb|device] [--serial ID] [--adb PATH] ``` | Parameter | Purpose | | --- | --- | | `--transport` | `adb` connects from the computer; `device` runs in an Android shell environment. Omitting it does not discover a device | | `--serial` | The target ADB identifier, obtained from `adb devices -l` | | `--adb` | Path to the ADB executable when it is not on the default PATH | For example, read the method list without a device, then query a connected device: ``` node sdk/cli/taku.mjs call methods.list node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 ``` Replace the example `emulator-5582` with your target. Environment variables `TAKU_OS_TRANSPORT` and `TAKU_OS_SERIAL` are also supported; setting only the environment variable `TAKU_OS_SERIAL` defaults to ADB. The command-line `--serial` flag alone does not select a transport; pass `--transport adb` alongside it, as in the example. The CLI does not accept arbitrary method arguments. Current method `params` must be an empty object. ## [JavaScript SDK](https://docs.taku.ai/os/reference/cli/#javascript-sdk) Save this as an `.mjs` file in the system repository root and run it with Node.js. After replacing the serial, the SDK returns the `system.info` result: ``` import {TakuClient} from './sdk/client.mjs'; const client = new TakuClient({transport:'adb', serial:'emulator-5582'}); const info = await client.call('system.info'); console.log(info); ``` The SDK returns `result` on success and throws `TakuError` on failure. See [your first development example](https://docs.taku.ai/os/guides/extensions/) for a complete program and error handling. The [generated SDK protocol](https://docs.taku.ai/os/reference/generated/sdk-protocol/) is the method and field reference. ## [Device shell facade](https://docs.taku.ai/os/reference/cli/#device-shell-facade) The device shell entry point consists of scripts running directly on Android, without phone-side Node.js. Run these commands **inside the Android shell**, only after the preview environment has deployed the scripts to this path: ``` sh /data/local/tmp/taku-os/taku-device.sh system.info sh /data/local/tmp/taku-os/taku-device.sh displays.status sh /data/local/tmp/taku-os/taku-device.sh tasks.status ``` This is a historical experimental deployment path. Ordinary phones do not automatically contain these files. Do not run these three `sh` commands directly in your computer terminal. ## [How to recognize success](https://docs.taku.ai/os/reference/cli/#how-to-recognize-success) | Entry point | Success | Failure | | --- | --- | --- | | Host `call` command | Complete response with `ok: true` and `result` | `ok: false` and `error`; exit code 1 | | JavaScript SDK | Returns `result` | Throws `TakuError` | | Device shell entry point | Complete `taku/0.1` response | Unknown method exits 2; permission denial may exit 4 | | Host `extension` command | Aggregated extension result | Successful items may be retained; nonempty `result.errors` sets exit code 1 even with outer `ok: true` | Inspect the response and exit code together. For extension reports, check each individual result; see [device-report](https://docs.taku.ai/os/extensions/device-report/). For error meanings, see the [error reference](https://docs.taku.ai/os/reference/errors/). --- # Requests, responses, and call lifecycle Read the request, result, and error from a taku/0.1 call. > Taku OS research preview. Availability varies by device and version; see current progress. The SDK and CLI use `taku/0.1` to describe a call. It defines the data format; the transport separately selects how to reach a device. The existing SDK constructs requests for you, so you do not need to send the JSON below yourself. ## [Request fields](https://docs.taku.ai/os/reference/protocol/#request-fields) | Field | Type / requirement | Current limit | | --- | --- | --- | | `protocol` | string, required | `taku/0.1` | | `type` | string, required | `request` | | `id` | string, required, 1–128 characters | Correlates the response | | `method` | string, required | Implemented dot-separated name, such as `system.info` | | `params` | object, required | Must be an empty object for current methods | This is an example request structure for reading system information: ``` { "protocol": "taku/0.1", "type": "request", "id": "req-1", "method": "system.info", "params": {} } ``` ## [One call](https://docs.taku.ai/os/reference/protocol/#one-call) 1. The SDK or CLI constructs a request. 2. The call entry point, called the facade in source, checks the protocol, method, and parameters. 3. Metadata methods read local specifications; device-data methods run an Android probe through the selected transport. 4. The call returns a result or an explicit error. For example, a device-data call without a device connection is rejected: ``` { "protocol": "taku/0.1", "type": "response", "id": "req-1", "ok": false, "error": { "code": "DEVICE_REQUIRED", "message": "Provide Android transport", "retryable": false } } ``` This illustrates the protocol structure. `id` matches the request. Read `error` when `ok` is false and `result` on success. `retryable: false` means repeating the same request is insufficient: first fix conditions such as the missing connection. The protocol does not elevate identity or turn unknown methods into arbitrary root commands. ## [Three different entry points](https://docs.taku.ai/os/reference/protocol/#three-different-entry-points) | Entry point | What you receive | | --- | --- | | Host CLI | Complete response JSON; also check the process exit code | | JavaScript SDK | Directly returns `result` on success; throws `TakuError` on failure | | Device shell entry point | Complete response JSON; accepts only `system.info`, `displays.status` and `tasks.status`, without phone-side Node.js. Call other device methods through the host CLI over adb | See [CLI and SDK reference](https://docs.taku.ai/os/reference/cli/) for usage and partial failures in aggregated extension results. ## [Outputs and events](https://docs.taku.ai/os/reference/protocol/#outputs-and-events) See [generated protocol and methods](https://docs.taku.ai/os/reference/generated/sdk-protocol/) for each method’s parameters and result fields. Each query reflects the state at that moment. Different results on consecutive calls do not by themselves indicate a protocol error. JSON Schema defines format validation; it does not establish an HTTP service for the whole system. Event formats are reserved, but general subscription, ordering, cursors, and deduplication remain unimplemented. See [snapshots and events](https://docs.taku.ai/os/reference/events/). **Next**: Look up an `error` in the [error index](https://docs.taku.ai/os/reference/errors/), or write a caller with [your first development example](https://docs.taku.ai/os/guides/extensions/). --- # Errors and protocol boundaries Inspect the error code and entry point before changing configuration, permissions, or implementation. > Taku OS research preview. Availability varies by device and version; see current progress. When the CLI returns `ok: false` or the SDK throws `TakuError`, read `error.code` and use the table below. See the [call protocol](https://docs.taku.ai/os/reference/protocol/) for the complete response. ## [Current protocol](https://docs.taku.ai/os/reference/errors/#current-protocol) This table applies to `taku/0.1` calls. An application HTTP API or a direct Android command may use a different error format; consult its own documentation. | Error | Common trigger | What to check | | --- | --- | --- | | INVALID_REQUEST | Invalid request structure, protocol, or unknown fields | Original protocol contract | | INVALID_PARAMS | Nonempty params for a current method or unsupported CLI parameters | Current implementation and command arguments | | METHOD_NOT_FOUND | Method is not implemented | Method registry; higher privileges do not fix it | | DEVICE_REQUIRED | System method lacks a transport | adb/device configuration | | PERMISSION_DENIED | UID/filesystem/SELinux denial | Actual identity and capability prerequisites | | INVENTORY_UNAVAILABLE | Missing specification file or invalid data | Completeness of the corresponding source deployment | | CAPABILITY_NOT_DECLARED | Extension calls an undeclared method | Registry capability declaration | ## [Reproducible rejections](https://docs.taku.ai/os/reference/errors/#reproducible-rejections) > **Requires the system source:** The commands below run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run from the system repository root on your computer. `env -u` removes existing device environment variables only for that command, ensuring that the second example has no selected connection: ``` env -u TAKU_OS_TRANSPORT -u TAKU_OS_SERIAL node sdk/cli/taku.mjs call scenario.unknown env -u TAKU_OS_TRANSPORT -u TAKU_OS_SERIAL node sdk/cli/taku.mjs call system.info ``` The first command should reject an unknown method. The second should return `DEVICE_REQUIRED` without a transport. These checks verify code paths without writing to a physical phone. **What to observe**: JSON error.code, message, retryable, and process exit. Errors must not contain authentication caches, raw internal logs, or other task bodies. **Failure boundaries**: Fields, codes, and implementation details change with the source version. Research capabilities may use Android commands/public SDKs rather than the same facade. The application Node HTTP service has its own business errors and must not be presented as the same interface. **Next**: [Symptom troubleshooting](https://docs.taku.ai/os/help/troubleshooting/) or individual capability references. --- # Snapshots, events, and recovery boundaries A reserved event shape in a Schema is not a subscribable service. > Taku OS research preview. Availability varies by device and version; see current progress. Can you subscribe to task state changes? The current public interface provides a snapshot per query. If you only need the state once, use the command below. ## [What can currently be called](https://docs.taku.ai/os/reference/events/#what-can-currently-be-called) `tasks.status` snapshots metadata held by the system task service. `displays.status` queries current logical displays. One call returns one result; there are no push subscriptions, event cursors, or recoverable consumers. > **Requires the system source:** The command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Complete the [quickstart](https://docs.taku.ai/os/guides/getting-started/), then run from the system repository root on your computer. Replace the example device identifier. ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` **Result**: IDs/state at that moment, which may change on the next readback. Insufficient permissions should be rejected. Request bodies, result bodies, and model streams are not returned. ## [Reserved format](https://docs.taku.ai/os/reference/events/#reserved-format) The protocol Schema defines event, timestamp, data, and related fields for future lifecycle events from the system task service. Unimplemented service semantics include ordering guarantees, replay, deduplication, reconnection recovery, subscription authorization, and long-term persistence. ## [Write extensions against current behavior](https://docs.taku.ai/os/reference/events/#write-extensions-against-current-behavior) Use actual queries and explainable call results. Do not export a nonexistent `subscribe()` API. App status polling means querying again at intervals. Model NDJSON logs contain one JSON object per line. Neither is interchangeable with a public OS event stream. **Next**: [Call protocol](https://docs.taku.ai/os/reference/protocol/) and [Extension contract](https://docs.taku.ai/os/extensions/contract/). --- # Capability inventory Find purposes, prerequisites, examples and verification scope. > Taku OS research preview. Availability varies by device and version; see current progress. Use this reference to check a capability’s available entry point and conditions before calling it. Start with [Your first call](https://docs.taku.ai/os/guides/getting-started/) for a guided introduction. ## [Inventory validation status](https://docs.taku.ai/os/reference/generated/#inventory-validation-status) Counts describe the 2026-10-10 inventory. See [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. | Emulator scope | Research | Physical device | | --- | --- | --- | | 20 | 37 | 0 | ## [Capability references](https://docs.taku.ai/os/reference/generated/#capability-references) - [System version and execution identity · system.info](https://docs.taku.ai/os/reference/generated/system-info/): emulator_verified - [Memory and disk overview · system.resources](https://docs.taku.ai/os/reference/generated/system-resources/): emulator_verified - [Package names, versions, and install locations · packages.metadata](https://docs.taku.ai/os/reference/generated/packages-metadata/): emulator_verified - [Post the app’s own system notifications · notifications.post](https://docs.taku.ai/os/reference/generated/notifications-post/): emulator_verified - [Listen for notification changes · notifications.listen](https://docs.taku.ai/os/reference/generated/notifications-listen/): research - [Quick-reply through existing notifications · notifications.reply](https://docs.taku.ai/os/reference/generated/notifications-reply/): research - [ADB UI tree and control testing · ui.tree.shell](https://docs.taku.ai/os/reference/generated/ui-tree-shell/): emulator_verified - [Read accessible UI trees from an ordinary app · ui.tree.accessibility](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/): research - [Targeted taps, swipes, and keys · input.shell](https://docs.taku.ai/os/reference/generated/input-shell/): emulator_verified - [Semantic actions and gestures without flashing · input.accessibility](https://docs.taku.ai/os/reference/generated/input-accessibility/): research - [Text input and input-method bridge · input.text](https://docs.taku.ai/os/reference/generated/input-text/): emulator_verified - [ADB / Root screenshots · screen.capture.shell](https://docs.taku.ai/os/reference/generated/screen-capture-shell/): emulator_verified - [Screen capture without flashing · screen.capture.public](https://docs.taku.ai/os/reference/generated/screen-capture-public/): research - [Usage information and foreground-app clues · context.foreground](https://docs.taku.ai/os/reference/generated/context-foreground/): research - [Foreground clipboard / share entry point · context.clipboard](https://docs.taku.ai/os/reference/generated/context-clipboard/): research - [Media-session state and playback control · context.media](https://docs.taku.ai/os/reference/generated/context-media/): research - [System SMS and call logs · data.sms.calllog](https://docs.taku.ai/os/reference/generated/data-sms-calllog/): research - [Read and write contacts · data.contacts](https://docs.taku.ai/os/reference/generated/data-contacts/): research - [Query and create system-calendar events · data.calendar](https://docs.taku.ai/os/reference/generated/data-calendar/): research - [Photo library and file locations · data.photos](https://docs.taku.ai/os/reference/generated/data-photos/): research - [File selection, search, and organization · data.files](https://docs.taku.ai/os/reference/generated/data-files/): research - [Research: exporting other apps’ private data · data.private-files](https://docs.taku.ai/os/reference/generated/data-private-files/): research - [Research: backup, restoration, and migration · data.backup](https://docs.taku.ai/os/reference/generated/data-backup/): research - [Launch existing apps or Intent functions · apps.launch](https://docs.taku.ai/os/reference/generated/apps-launch/): emulator_verified - [Install, update, and remove standalone APKs · apps.install](https://docs.taku.ai/os/reference/generated/apps-install/): emulator_verified - [Runtime permissions, roles, and AppOps configuration · permissions.manage](https://docs.taku.ai/os/reference/generated/permissions-manage/): research - [System settings, brightness, and Do Not Disturb · settings.control](https://docs.taku.ai/os/reference/generated/settings-control/): research - [Custom home screen, task cards, and traditional-app entry points · home.launcher](https://docs.taku.ai/os/reference/generated/home-launcher/): emulator_verified - [Global assistance layer / floating window · home.overlay](https://docs.taku.ai/os/reference/generated/home-overlay/): research - [Default digital assistant and global invocation · assistant.entry](https://docs.taku.ai/os/reference/generated/assistant-entry/): research - [Truly independent background display · display.independent](https://docs.taku.ai/os/reference/generated/display-independent/): emulator_verified - [View and manually target the background display from the main screen · display.preview](https://docs.taku.ai/os/reference/generated/display-preview/): emulator_verified - [Research: task and multi-window policy changes · display.window-policy](https://docs.taku.ai/os/reference/generated/display-window-policy/): research - [Microphone and voice capture · audio.microphone](https://docs.taku.ai/os/reference/generated/audio-microphone/): research - [Capture other apps’ playback through ordinary APIs · audio.playback](https://docs.taku.ai/os/reference/generated/audio-playback/): research - [Research: both sides of cellular / VoIP audio · audio.calls](https://docs.taku.ai/os/reference/generated/audio-calls/): research - [Research: owned-track effects / system-input audio effects · audio.effects](https://docs.taku.ai/os/reference/generated/audio-effects/): research - [Ordinary camera preview / real-time understanding · camera.read](https://docs.taku.ai/os/reference/generated/camera-read/): research - [Research: cross-app camera beautification / image-pipeline replacement · camera.global-filter](https://docs.taku.ai/os/reference/generated/camera-global-filter/): research - [Research: low-power voice wake-up · voice.hotword](https://docs.taku.ai/os/reference/generated/voice-hotword/): research - [Location and location context · environment.location](https://docs.taku.ai/os/reference/generated/environment-location/): research - [Sensors and activity recognition · environment.sensors](https://docs.taku.ai/os/reference/generated/environment-sensors/): research - [Bluetooth / local-network device discovery · environment.nearby](https://docs.taku.ai/os/reference/generated/environment-nearby/): research - [Research: USB peripherals and NFC / HCE · environment.usb-nfc](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/): research - [On-device task execution and state queue · runtime.broker](https://docs.taku.ai/os/reference/generated/runtime-broker/): emulator_verified - [Ordinary background tasks, boot notifications, and recovery · runtime.background-public](https://docs.taku.ai/os/reference/generated/runtime-background-public/): research - [Power, WakeLock, and task scheduling · runtime.power](https://docs.taku.ai/os/reference/generated/runtime-power/): research - [Research: system CPU/GPU/thermal management · runtime.performance](https://docs.taku.ai/os/reference/generated/runtime-performance/): research - [Research: network state, VPN, and per-app networking · network.vpn](https://docs.taku.ai/os/reference/generated/network-vpn/): research - [Research: cross-device agent collaboration · runtime.cross-device](https://docs.taku.ai/os/reference/generated/runtime-cross-device/): research - [System diagnostics and performance tracing · diagnostics.system](https://docs.taku.ai/os/reference/generated/diagnostics-system/): emulator_verified - [Research: ROM builds, OTA, and recovery · release.ota](https://docs.taku.ai/os/reference/generated/release-ota/): research - [Generate, preview, and export standalone APKs on the phone · apps.generate](https://docs.taku.ai/os/reference/generated/apps-generate/): emulator_verified - [Expose generated-app business functions / external calls · apps.business-api](https://docs.taku.ai/os/reference/generated/apps-business-api/): emulator_verified - [On-device Codex CLI and low-level shell · agent.cli](https://docs.taku.ai/os/reference/generated/agent-cli/): emulator_verified - [Query main/background displays through the open SDK · displays.status](https://docs.taku.ai/os/reference/generated/displays-status/): emulator_verified - [Query existing task status through the open SDK · tasks.status](https://docs.taku.ai/os/reference/generated/tasks-status/): emulator_verified ## [Version and sources](https://docs.taku.ai/os/reference/generated/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # SDK methods and protocol Look up methods, calling conventions, results and errors. > Taku OS research preview. Availability varies by device and version; see current progress. Use this page to look up methods and protocol details. For a guided introduction, see [Your first call](https://docs.taku.ai/os/guides/getting-started/). ## [Minimal call](https://docs.taku.ai/os/reference/generated/sdk-protocol/#minimal-call) In an authorized system checkout with Node.js 20+, list methods without a device: ``` node sdk/cli/taku.mjs call methods.list ``` A successful response has `ok: true` and the method array in `result`. Device methods use this entry point too, with a target and its permissions. ## [Implemented methods](https://docs.taku.ai/os/reference/generated/sdk-protocol/#implemented-methods) The table lists every method registered in the pinned specification. `methods.list`, `capabilities.list` and `extensions.list` return metadata; the other methods read or operate the device and need the permission shown. | Method | Implementation | Permission | Status | Mutates state | | --- | --- | --- | --- | --- | | system.info | device-probe | Android shell tools | implemented | false | | displays.status | device-probe | shell/system/root for cmd display; optional root state path | implemented | false | | tasks.status | device-probe | root/system UID plus filesystem access under current SELinux policy | implemented | false | | methods.list | core | none | implemented | false | | capabilities.list | inventory | none | implemented | false | | extensions.list | registry | none | implemented | false | | audio.capabilities | audio-engine | authorized adb/device bridge and visible microphone host; native caller policy | implemented | false | | audio.session.open | audio-engine | authorized adb/device bridge and visible microphone host; native caller policy | implemented | true | | audio.session.finish | audio-engine | authorized adb/device bridge and visible microphone host; native caller policy | implemented | true | | audio.session.close | audio-engine | authorized adb/device bridge and visible microphone host; native caller policy | implemented | true | | audio.session.status | audio-engine | authorized adb/device bridge and visible microphone host; native caller policy | implemented | false | | audio.session.append | audio-engine | session owner; SPEAK only | implemented | true | Complete registration fields: [methods.json](https://docs.taku.ai/generated/methods.json). ## [Request and error contract](https://docs.taku.ai/os/reference/generated/sdk-protocol/#request-and-error-contract) Requests use the pinned protocol schema and version. Inspect the exact parameter, response and error definitions below; experimental registration is not a permission grant. - [CLI tutorial](https://docs.taku.ai/os/reference/cli/) - [Protocol and parameters](https://docs.taku.ai/os/reference/protocol/) - [Error reference](https://docs.taku.ai/os/reference/errors/) ## [Canonical downloads](https://docs.taku.ai/os/reference/generated/sdk-protocol/#canonical-downloads) - [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) - [capability.schema.json](https://docs.taku.ai/generated/capability.schema.json) - [protocol.schema.json](https://docs.taku.ai/generated/protocol.schema.json) - [extensions.json](https://docs.taku.ai/generated/extensions.json) - [methods.json](https://docs.taku.ai/generated/methods.json) ## [Version and sources](https://docs.taku.ai/os/reference/generated/sdk-protocol/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. ## [Native Android component contracts](https://docs.taku.ai/os/reference/generated/sdk-protocol/#native-android-component-contracts) The CLI method registry above is separate from Android component APIs. The following Surfaces schemas are copied byte-for-byte from the same locked commit. Use the [Surfaces integration guide](https://docs.taku.ai/os/extensions/surfaces/) for its signature requirement and the [system AI client guide](https://docs.taku.ai/os/extensions/system-ai/) for per-app authorization. These interfaces do not add CLI methods. - [system-surface.schema.json](https://docs.taku.ai/generated/system-surface.schema.json) - [system-surface-v2.schema.json](https://docs.taku.ai/generated/system-surface-v2.schema.json) --- # Raw Android interface inventory Pinned upstream declarations, permissions, shell, Binder, HAL and native interfaces. > Taku OS research preview. Availability varies by device and version; see current progress. **Exploring what a phone can do or imagining cases? Start with the [one-page capability map](https://docs.taku.ai/os/capabilities/overview/).** This page is the detailed declaration, permission and source lookup. This page answers a specific question: **what interfaces already exist before Taku OS adds agents, wrappers and extensions?** Use the inventory to explore product possibilities before deciding what belongs in the platform or an extension. The [API reference](https://docs.taku.ai/os/reference/) describes tasks and verification status. This page describes **raw declarations, permissions and source provenance**. The searchable declaration data is the detailed index; the domain table is a navigation aid, not a replacement for all Android APIs. ## [Pinned baseline and completeness](https://docs.taku.ai/os/reference/generated/raw-android/#pinned-baseline-and-completeness) The baseline is **Android 16 / API 36**, from the LineageOS 23.2 development source used for the Pixel 9 candidate. Upstream declarations are read from each repository's pinned `HEAD` blobs, excluding uncommitted Taku changes. This is not Google's stock Pixel OS or a universal inventory for every Android vendor. Two evidence classes remain separate: - **Upstream source declarations:** public, system, module, system-server and test signatures; permission XML; Binder AIDL; HAL AIDL/HIDL; native exports and headers; Bionic syscall mappings; UAPI headers; system properties; command help source. - **Candidate build outputs:** non-SDK descriptors from `hiddenapi-flags.csv` and binary names in partition directories. These are generated artifacts from an integrated candidate, not proof of a pristine image or runtime behavior. A separately labelled **Android SDK 36 revision 2 annotation supplement** retains `RequiresPermission`, `RequiresFeature`, `RequiresApi` and exact argument annotations from the installed SDK's `annotations.zip`. It is not the same revision as the baseline source and does not replace service implementation checks. **Declaration existence, caller qualification, hardware implementation and successful execution are four different claims.** Bulk extraction establishes declaration or artifact presence only. It does not increase emulator or physical-device verification counts. Completeness has an auditable scope: every matched source file has a path, revision and SHA256; every managed signature declaration is retained, including unclassified lines. Pagination, privilege level or deprecation do not discard records. Counts include types, constructors, methods, fields, enum constants, whole source files and versioned duplicates. **They are not counts of unique callable APIs.** Excluded or not established: proprietary vendor ABI and HAL implementations, runtime Binder registrations and command help, vendor-specific ioctls outside Bionic UAPI, Google/GMS/Play, AndroidX and third-party application APIs, and private Java declarations outside the candidate hiddenapi artifact. `removed.txt` is historical and is not included as a currently available interface. ## [Search all declarations](https://docs.taku.ai/os/reference/generated/raw-android/#search-all-declarations) **Public is a source export surface, not a universal promise of app-SDK availability.** The inventory aggregates platform and module `current.txt` files, including types exported during module builds. Not every owner is in an ordinary APK's `android.jar`. Check the exact source file, dependencies/build entry, feature flags and caller identity. System, Module-lib and Test names alone do not establish qualification either. Choose a surface and search for a class, method, permission or source path: `WallpaperManager`, `setBitmap`, `CameraManager`, `INJECT_EVENTS` or `IInputManager`. Expand an owner to read every declaration and its pinned source. File-level records retain complete text, including parameters, callbacks, constants and data types. Android reference links help explain classes but may describe a newer revision; **the pinned source is the version authority**. **20,297 source files** · 722,055 declaration records · 86,907 searchable owners Includes types, fields, overloads and versioned declarations. This is not a count of callable APIs. Unclassified signature lines: 0. [Coverage & revisions ↗](https://docs.taku.ai/generated/raw-android/manifest.json)[Download full declaration data · gzip ↗](https://docs.taku.ai/generated/raw-android/snapshot-manifest.json) ## [Caller identities and qualifications](https://docs.taku.ai/os/reference/generated/raw-android/#caller-identities-and-qualifications) | Caller / interface | Already provided by Android | Qualification | Not automatically granted | | --- | --- | --- | --- | | Ordinary APK / public SDK | UI, intents, networking, own data and authorized camera, microphone, location and sensors | APK installation, Manifest, runtime grants and lifecycle compliance | Other apps' private data, arbitrary input injection or consent-free capture | | Special access / roles | Accessibility, notification listening, usage access, default IME, assistant or SMS role | Correct service and capability declarations; settings or role selection | A single `pm grant` does not enable all special access; callbacks are not full historical databases | | ADB / shell UID 2000 | `am`, `pm`, `cmd`, `dumpsys`, `input`, `screencap` | Authorized debug connection or an already qualified on-device shell service | Shell is not Root; service, AppOps and SELinux checks still apply | | Platform signature / privileged APK | Protected APIs and integrations allowed by permission declarations | Appropriate signing, partition installation and privileged allowlists | Signature, privileged placement and system UID are different qualifications | | System Server / native daemon | Internal services, display/input/power scheduling and service capabilities | Framework or native integration, startup order, Binder policy and SELinux domain | Ordinary JS cannot become any system process without a bridge | | Root / UID 0 | Linux-level file, process, mount and debug access permitted by policy | Development root on a suitable build or an explicitly configured path | No generic decryption of app ciphertext/hardware keys; no missing HAL implementation | | HAL / driver / firmware | Device hardware protocols | Driver, vendor HAL, VINTF and device-specific qualification | Absent hardware or unsupported features do not appear merely by changing the ROM | Sources: [ADB](https://developer.android.com/tools/adb), [ADB root build identities](https://android.googlesource.com/platform/packages/modules/adb/+/refs/heads/main/docs/dev/root.md), [privileged allowlists](https://source.android.com/docs/core/permissions/perms-allowlist), [non-SDK restrictions](https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces), [SELinux](https://source.android.com/docs/security/features/selinux). These explain mechanisms; pinned declarations determine this inventory's exact version. ## [Domain map](https://docs.taku.ai/os/reference/generated/raw-android/#domain-map) Each row points to raw classes or services. Inspect exact overloads, fields and callbacks in the search above. Permissions depend on the method, target SDK, device, role and foreground/background state; one row is not a permission contract for a whole class. | Domain / purpose | Raw interfaces | Common qualification / entry | Boundary | | --- | --- | --- | --- | | Version, ABI, build and memory | `Build`, `ActivityManager.MemoryInfo`, `Process`, `SystemClock` | Public SDK; `getprop`, `id` | Build properties do not prove hardware support | | Packages, components, signatures | `PackageManager`, `PackageInstaller`, `PermissionManager` | Package visibility; installer/system qualification; `pm` | Enumeration, installation and grants have separate gates | | Launch existing apps | `Intent`, `Context.startActivity`, `PendingIntent`, `ActivityOptions` | Exported component/public intent; `am start` | Background launch, lockscreen and display selection have extra rules | | Tasks and windows | `ActivityManager`, `ActivityTaskManager`, `WindowManager`, `IActivityTaskManager` | Own tasks publicly; cross-app control usually system/shell | Not a default cross-app window automation API | | UI tree and semantic clicks | `AccessibilityService`, `AccessibilityNodeInfo` | Enabled service and window retrieval capabilities | Canvas/video/secure windows may lack nodes | | Touch, keys and gestures | `GestureDescription`, `InputManager`, `IInputManager` | Accessibility gesture or protected `INJECT_EVENTS`; `input` | Confirm display, focus and actual business outcome | | Text and IME | `InputMethodService`, `InputConnection`, `InputMethodManager` | User-selected IME and proper service binding | Shell text input is not universal Unicode entry | | Screenshot and recording | `MediaProjectionManager`, `MediaProjection`, `ImageReader` | Capture consent, FGS, qualified shell capture | Session rules and secure content remain | | Virtual / external displays | `DisplayManager`, `VirtualDisplay`, `SurfaceControl`, `IDisplayManager` | Private display APIs; trusted/mirror/capture privileges separately | A virtual display does not automatically run any app | | Read notifications / reply | `NotificationListenerService`, `Notification`, `RemoteInput` | Notification access; exposed notification actions | Not full app history or absent message content | | Publish task status | `NotificationManager`, `NotificationChannel` | Ordinary apps need `POST_NOTIFICATIONS` on Android 13+ | DND and user settings still affect delivery | | Clipboard / sharing | `ClipboardManager`, `ClipData`, `ACTION_SEND`, `DragEvent` | Focus/IME qualification; URI grants | No unlimited ordinary background clipboard access | | Usage / foreground signals | `UsageStatsManager`, `UsageEvents`, `AppOpsManager` | Usage access or protected qualification | Not a complete real-time window event stream | | Camera frames and controls | `CameraManager`, `CameraDevice`, `CaptureRequest`, `ImageReader` | `CAMERA`, lifecycle, HAL | Inspect capabilities; RAW/concurrency/high FPS are hardware-specific | | Image / GPU processing | `Bitmap`, `Canvas`, `HardwareBuffer`, OpenGL ES, Vulkan | Own buffers; buffer sharing needs qualification | Captured pixels are not an app's original file | | Microphone / encoding | `AudioRecord`, `MediaRecorder`, `MediaCodec` | `RECORD_AUDIO`, foreground/background rules | Calls, playback capture and microphone recording differ | | Playback / sessions | `AudioTrack`, `MediaPlayer`, `MediaSession`, `MediaController` | Own playback; external control via qualified session access | Only operations exposed by the target session | | Audio routing / volume | `AudioManager`, `AudioDeviceInfo`, `BluetoothProfile` | Public volume paths; global policy needs privilege | Displays can still share audio devices | | Speech / TTS / assistant | `SpeechRecognizer`, `TextToSpeech`, `VoiceInteractionService` | Microphone, role and installed provider | Interface existence does not imply an offline model | | Location / GNSS | `LocationManager`, `GnssStatus`, `Geocoder` | Approximate, precise and background grants separately | Hardware, provider and network determine results | | Motion / light / pressure | `SensorManager`, `Sensor`, `SensorEventListener` | Many basic sensors public; high-rate/health types differ | Query actual sensors; emulator behavior is not physical proof | | Steps / health | `Sensor.TYPE_STEP_COUNTER`, `HealthConnectManager` | Activity recognition / health grants | Sensor events, stored health data and external clouds differ | | Haptics / flashlight | `Vibrator`, `VibratorManager`, `VibrationEffect`, `CameraManager.setTorchMode` | `VIBRATE`; camera-service qualification | Effects and intensity depend on device and occupancy | | Wi-Fi / hotspot / networking | `WifiManager`, `ConnectivityManager`, `NetworkCapabilities`, `TetheringManager` | Nearby/location qualifications; privileged tethering separately | Ordinary apps cannot reconfigure every network | | Bluetooth / BLE | `BluetoothAdapter`, `BluetoothLeScanner`, `BluetoothGatt` | `BLUETOOTH_SCAN/CONNECT/ADVERTISE`; pairing | Peripheral protocols and authentication remain | | NFC / HCE / UWB / IR | `NfcAdapter`, `HostApduService`, `UwbManager`, `ConsumerIrManager` | Hardware and `NFC`/UWB/`TRANSMIT_IR` qualifications | Missing silicon or vendor support means no capability | | USB / serial / peripherals | `UsbManager`, `UsbDeviceConnection`, `UsbAccessory`, USB/tty native paths | USB device grant; node DAC/SELinux | Host, accessory, networking and debug modes differ | | Cellular / calls / SMS / eSIM | `TelephonyManager`, `TelecomManager`, `SubscriptionManager`, `SmsManager`, `EuiccManager` | Roles, restricted permissions, carrier privilege | Modem, carrier and hardware-key rules still apply | | Contacts / calendars / SMS | `ContactsContract`, `CalendarContract`, `Telephony`, `ContentResolver` | Provider and read/write/URI qualifications | Not WeChat friends or external cloud calendars | | Photos / documents / EXIF | `MediaStore`, Photo Picker, `DocumentsContract`, SAF | Media grants or selected URI permission | All-files access is not other apps' private directories | | Storage / encryption / backup | `StorageManager`, `StorageStatsManager`, `BackupManager`, `IVold` | Own files; protected stats/backup/mount paths | Unlock state, encryption and consistency differ | | Wallpaper / themes | `WallpaperManager`, `WallpaperService`, `OverlayManager` | `SET_WALLPAPER`; live service selection; overlay policy | Static wallpaper is public; video wallpaper needs a player service | | Launcher / widgets / tiles | `LauncherApps`, `AppWidgetManager`, `AppWidgetHost`, `ShortcutManager`, `TileService` | Host roles, binding/placement, tile selection | Android host protocols do not include Taku's generation pipeline | | Lockscreen / biometric / keys | `KeyguardManager`, `BiometricPrompt`, Keystore, `IKeystoreService` | Authentication, protected roles and key policies | Root is not a universal biometric/key export API | | Background / alarms / boot | `JobScheduler`, `AlarmManager`, `Service`, `BroadcastReceiver` | FGS types, exact alarm access, scheduler rules | An ordinary service is not permanently alive | | Battery / thermal / power | `BatteryManager`, `PowerManager`, `ThermalService`, Health/Power HAL | Public status; protected global control | Control requires actual hardware support | | Users / management / roles | `UserManager`, `DevicePolicyManager`, `RoleManager` | Device/profile owner or system role | Device Owner, Root and signing are not interchangeable | | Permissions / accounts | `PermissionManager`, `AppOpsManager`, `AccountManager` | Self, shell and system paths differ per method | Account providers control token access | | Update / OTA / recovery | `PackageInstaller`, `RecoverySystem`, `UpdateEngine`, BootControl HAL | Installer/signing/AVB/rollback/vendor compatibility | APK updates and whole-device OTA are different | | Performance / tracing | `Debug`, `Trace`, `Process`, Perfetto, `logcat`, `dumpsys` | Own process; global access qualified | Debug-only behavior is not production support | | Native execution / IPC | Sockets, `Binder`, `IBinder`, JNI, Bionic, epoll, Unix sockets | `INTERNET`, file/process and SELinux qualification | Android sh/toybox does not imply GNU Bash, Node or compilers | | App UI and storage | Activity, Service, View, Resources, WebView, SQLite, Java library | Public SDK and app sandbox | APK installation is not generation/build/sign/preview automation | ## [Direct shell commands](https://docs.taku.ai/os/reference/generated/raw-android/#direct-shell-commands) Run these in an **authorized development device shell**, not blindly against whichever phone is attached. First identify the target with `adb devices -l`, then enter `adb -s shell`. This page does not execute examples. ``` id getenforce getprop ro.build.version.release getprop ro.build.version.sdk getprop ro.build.type getprop ro.product.cpu.abilist cmd -l service list dumpsys -l toybox --long ``` The three service/command listings differ. A source declaration does not prove runtime registration. Runtime discovery is not verified by this static collection. | Purpose | Command | Result / qualification / failure boundary | | --- | --- | --- | | Packages | `pm list packages`; `cmd package help` | Names do not grant private-data access | | Components / permissions | `dumpsys package ` | Inspect a test app; output can contain device information | | Launch | `am start -n /` | Component must exist and be launchable; verify task outcome | | Install own APK | `pm install -r /data/local/tmp/test.apk` | Writes state; signature/SDK/ABI/storage must qualify | | Uninstall test APK | `pm uninstall ` | Deletes app and data; not a read-only probe | | Displays / windows | `dumpsys window`; `dumpsys display` | Status output is not captured pixels | | Input | `input --help`; `input -d tap 100 200` | Verify syntax, target and actual outcome | | Screenshot | `screencap -p /data/local/tmp/test-screen.png` | Writes a file; protected content may be absent | | Recording | `screenrecord --help`; `screenrecord --time-limit 5 /data/local/tmp/test-screen.mp4` | Codec/size/display rules vary; audio is not guaranteed | | UI tree | `uiautomator dump /data/local/tmp/test-ui.xml` | Not all windows have accessible nodes | | Instrumentation | `am instrument -w /` | Requires installed test runner; not unlimited privileges | | Notifications | `cmd notification help`; `dumpsys notification` | Help and data-read qualification differ; not message history | | Grants / AppOps | `pm grant `; `cmd appops help` | Mutates state; roles/allowlists/protection can prevent grants | | Settings | `settings get system screen_brightness`; `settings help` | A setting is not hardware feedback; writes need qualification | | Scheduling | `cmd jobscheduler help`; `dumpsys deviceidle` | Scheduling and global idle control are different | | Connectivity | `cmd wifi help`; `cmd bluetooth_manager help`; `dumpsys connectivity` | Discover service existence and version-specific command support | | Hardware service status | `dumpsys media.camera`; `dumpsys audio`; `dumpsys sensorservice` | Status dumps are not frame/audio/sensor subscription APIs | | HAL discovery | `lshal --help`; VINTF manifests | HIDL discovery does not enumerate every AIDL HAL | | Native processes / network | `ip help`; `ps -A`; `ls /system/bin` | File presence does not establish execution/control success | | Tracing | `perfetto --help`; `cmd activity help` | Configuration, data source qualification and outputs remain separate | The search surfaces include system help source, Toybox config help/option grammar and candidate binary names. Source help can describe commands absent from the configured product. Runtime help must still be captured on the exact device. ## [Minimal public SDK calls](https://docs.taku.ai/os/reference/generated/raw-android/#minimal-public-sdk-calls) These Kotlin fragments belong in an appropriately qualified Activity/Service. Add imports, grants, callbacks, lifecycle and error handling. They are **not shell commands or tested examples from this extraction**. ### [Camera and sensors](https://docs.taku.ai/os/reference/generated/raw-android/#camera-and-sensors) ``` val camera = getSystemService(android.hardware.camera2.CameraManager::class.java) val ids = camera.cameraIdList val info = camera.getCameraCharacteristics(ids.first()) val flash = info.get(android.hardware.camera2.CameraCharacteristics.FLASH_INFO_AVAILABLE) // Hardware-changing call, only with proper qualification and actual flash support: // camera.setTorchMode(ids.first(), true) val manager = getSystemService(android.hardware.SensorManager::class.java) val sensors = manager.getSensorList(android.hardware.Sensor.TYPE_ALL) val accelerometer = manager.getDefaultSensor(android.hardware.Sensor.TYPE_ACCELEROMETER) ``` Camera capture requires `CAMERA`, legal lifecycle, `openCamera`, capture session, request and a Surface/ImageReader. Camera occupancy and device characteristics can prevent a call. Sensors can be missing; listener registration must be paired with unregistration. Raw events do not automatically carry semantic meaning such as running or driving. ### [Wallpaper](https://docs.taku.ai/os/reference/generated/raw-android/#wallpaper) ``` // Manifest requires android.permission.SET_WALLPAPER. android.app.WallpaperManager.getInstance(this).setBitmap(bitmap) ``` The image must be supplied by the caller. Setting static wallpaper is already a public API; a thin qualified command or bridge is sufficient. Detecting a specific Douyin like is a separate context/observer problem. Video wallpaper requires a `WallpaperService`, playback implementation and selection flow. ### [Notifications, screen and UI tree](https://docs.taku.ai/os/reference/generated/raw-android/#notifications-screen-and-ui-tree) ``` // In an enabled NotificationListenerService: override fun onNotificationPosted(sbn: android.service.notification.StatusBarNotification) { val text = sbn.notification.extras .getCharSequence(android.app.Notification.EXTRA_TEXT) // text can be absent; this is not complete app history. } val capture = getSystemService(android.media.projection.MediaProjectionManager::class.java) val consent = capture.createScreenCaptureIntent() // Obtain consent and establish the appropriate FGS/projection/surface lifecycle. // Inside an enabled AccessibilityService with window retrieval capability: val root = rootInActiveWindow val searchNodes = root?.findAccessibilityNodeInfosByText("Search") ``` Notification access, screen capture, accessibility, input injection and trusted background display are distinct mechanisms. Android 14+ projection token/session/FGS rules depend on target SDK. Secure content and missing nodes remain valid failure boundaries. The OS does not turn notification callbacks into WeChat history, desktop messages or Douyin like events. ### [Files, calendar and APK installation](https://docs.taku.ai/os/reference/generated/raw-android/#files-calendar-and-apk-installation) ``` val pick = android.content.Intent(android.content.Intent.ACTION_OPEN_DOCUMENT) .setType("image/*") .addCategory(android.content.Intent.CATEGORY_OPENABLE) // Receive selection and explicitly persist URI access where appropriate. val event = android.content.Intent(android.content.Intent.ACTION_INSERT, android.provider.CalendarContract.Events.CONTENT_URI) .putExtra(android.provider.CalendarContract.Events.TITLE, "Test trip") // Opening the form is not proof of a saved event. val installer = packageManager.packageInstaller // Create session, write APK, commit and read the IntentSender completion result. ``` URI access, calendar protocols and installation already exist. Generating arbitrary app code, previewing it, compiling/signing and exposing its business API are an additional pipeline. User-confirmed installation and qualified silent installation are separate paths. ## [Permission inventory](https://docs.taku.ai/os/reference/generated/raw-android/#permission-inventory) The permissions surface preserves every `` attribute from the pinned Framework Manifest: name, protection level, group, flags, label, description, known certificates and other present metadata. Duplicate conditional/versioned declarations are retained, not miscounted as unique permissions. | Protection / qualification | How granted | Common mistake | | --- | --- | --- | | `normal` | Correct Manifest declaration and installation | Other method-level checks may still apply | | `dangerous` | Runtime grant plus role/installer conditions where relevant | Not a replacement for every special-access setting | | `signature` | Signing qualification | Copying an APK to system does not make its signature match | | `signature\|privileged` | Signing or qualified privileged installation/allowlist path | Priv-app does not receive every protected permission | | `internal`, `role`, `knownSigner` | Corresponding internal, role or certificate mechanism | Not an ordinary runtime dialog | | AppOps / special access | Operation mode or settings enablement | Permission grant and allowed AppOp differ | | Service `BIND_*` | Protects system binding to a correctly declared service | Not a universal API grant to the declaring app | | Linux / SELinux | UID/GID, modes, domains, Binder/ioctl/seccomp rules | UID 0, signing and system UID are different | Record caller package/UID/domain, build type, target SDK, grants, AppOps/roles, unlock state, service/hardware presence, input, output and exception. Where method-level permissions were not extracted, inspect implementation. **Unknown permission requirements never mean permission-free.** ## [Binder, HAL, native and kernel interpretation](https://docs.taku.ai/os/reference/generated/raw-android/#binder-hal-native-and-kernel-interpretation) ### [Binder / AIDL](https://docs.taku.ai/os/reference/generated/raw-android/#binder--aidl) Search interface names such as `IActivityManager`, `IInputManager` or `ICameraService`. AIDL files include parcelables, enums, callbacks and method parameters. Source existence does not establish service access. Prefer public Managers, generated AIDL clients or a verified system command, with service-side checks and SELinux qualification. `service call ` is not a stable contract: transaction numbering, parcel layout, AIDL version and caller/user identity vary. ### [HAL / AIDL / HIDL](https://docs.taku.ai/os/reference/generated/raw-android/#hal--aidl--hidl) Camera, audio, sensors, power, vibrator, USB, radio, Bluetooth, Wi-Fi, NFC, biometric, graphics, health, thermal, GNSS and UWB declarations include frozen versions and data types. Use VINTF and actual registration to establish the implemented instance/version. Declarations do not prove physical Pixel hardware behavior. ### [Native / Bionic](https://docs.taku.ai/os/reference/generated/raw-android/#native--bionic) Symbol maps preserve exported names or patterns, not inferred function signatures. Source headers under `include/android`, `ndk/include` and Bionic libc/libm/libdl retain prototypes, macros, structures and version annotations. `SYSCALLS.TXT` lists Bionic mappings and architectures, not every Linux syscall or every syscall allowed in an Android app. Stable paths include native camera, AAudio/OpenSL ES, AMediaCodec, AImageReader, AHardwareBuffer/ANativeWindow, ASensorManager, JNI, Binder NDK, OpenGL ES/EGL, Vulkan and libc/libm/libdl. See [Native APIs](https://developer.android.com/ndk/guides/stable_apis) and the [NDK reference](https://developer.android.com/ndk/reference). Read exact headers, ABI, linkage and qualification rather than guessing from symbol names. ### [Kernel UAPI and system properties](https://docs.taku.ai/os/reference/generated/raw-android/#kernel-uapi-and-system-properties) Bionic's Linux UAPI headers retain ioctl constants, structures, flags and ABI declarations. They are not every vendor kernel header. Nodes, drivers, architecture/layout, DAC, SELinux and seccomp still determine calls. System-property declarations retain access modes and names; their presence does not grant global read/write access. ## [Reproducible extraction and coverage](https://docs.taku.ai/os/reference/generated/raw-android/#reproducible-extraction-and-coverage) The canonical extractor belongs to the system repository: `scripts/collect_raw_android_interfaces.py`. Use a pinned read-only source tree: ``` python3 scripts/collect_raw_android_interfaces.py \ --source /path/to/pinned/android/source \ --sdk /path/to/sdk/platforms/android-36 \ --output spec/raw-android-interfaces.json.gz ``` Projects come from `.repo/project.list` within `frameworks/`, `packages/modules/`, `system/`, `hardware/`, `libcore`, `art`, `bionic`, `external/icu` and `external/toybox`. Reads use committed blobs. No device user data or proprietary binary content is collected. Signature discovery includes `/api/*current.txt`, excluding removed and lint files. AIDL/HIDL frozen versions are included; test, sample and benchmark directories are explicitly excluded from product interfaces. The projection checks source indices and surface totals. Full data is not truncated by ten-owner pages or fifty-declaration expansion batches: ``` import gzip, json data = json.load(gzip.open("raw-android-interfaces.json.gz", "rt")) for record in data["records"]: if "setBitmap" in record["declaration"]: print(record["kind"], record["owner"], record["declaration"]) ``` Check the archive against `snapshotSha256` in the coverage manifest. Collection time is not device execution time. Upstream licenses remain applicable to extracted declarations and source headers; pinned public source links preserve provenance. ## [What Taku OS adds above these interfaces](https://docs.taku.ai/os/reference/generated/raw-android/#what-taku-os-adds-above-these-interfaces) Android already sets static wallpaper, opens apps, captures authorized media, vibrates, publishes notifications and installs APKs. Taku OS should establish whether a usable command already exists, what caller identity an agent needs, whether a thin Binder/JNI/CLI bridge is needed, and how structured results, events and background work coexist with the person's main screen. Reliable like events from a video app, desktop messaging context, industry models and booking-site adapters can come from observers, connectors, tools, scripts and other extensions. A one-off task can use existing capabilities or temporary generated code without a preinstalled case plugin. Persistence, reuse, triggers and sharing are reasons to form an extension. See [permission layers](https://docs.taku.ai/os/security/permissions/), [system shell](https://docs.taku.ai/os/tools/system-shell/), [extension contract](https://docs.taku.ai/os/extensions/contract/) and [evolution during use](https://docs.taku.ai/os/extensions/self-extension/). This index does not expand the implemented Taku SDK registry or turn research into tested features. --- # ADB UI tree and control testing · ui.tree.shell Debug actual pages, locate buttons, and verify results > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#purpose-and-status) Debug actual pages, locate buttons, and verify results **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical native Mirror and standalone APK UI Automator checks passed; the current GUI was not captured in this run. ## [Before calling](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 18 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 18 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | shell / instrumentation | Developer enables ADB and the computer is approved; UI Automator starts via shell instrumentation | ### [Entry points](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#entry-points) | Entry point | Availability | | --- | --- | | uiautomator dump / UI Automator | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#device_shell) **Environment**: Phone root shell **Prerequisites**: Developer enables ADB and the computer is approved; UI Automator starts via shell instrumentation ``` uiautomator dump /sdcard/taku-ui.xml cat /sdcard/taku-ui.xml ``` **Expected result**: Returns the accessible node tree; the command writes the target test XML but does not click **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#limitations) - This is not complete app content; custom drawing and Surface video may expose few nodes. - Output may contain user-page content; reproduce only in test scenarios. ## [Validation records](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical native Mirror and standalone APK UI Automator checks passed; the current GUI was not captured in this run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `ui.tree.shell` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#upstream-references) - [android.app.UiAutomation](https://developer.android.com/reference/android/app/UiAutomation) — audit: `official_reference` - [AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/ui-tree-shell/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/ui-tree-shell/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Read accessible UI trees from an ordinary app · ui.tree.accessibility Let an agent without flashing understand the current page through text and nodes > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#purpose-and-status) Let an agent without flashing understand the current page through text and nodes **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 4 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 4 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | BIND_ACCESSIBILITY_SERVICE (service-binding protection); canRetrieveWindowContent | Complete accessibility Service and XML capability; the user enables it in system settings; no Root required | ### [Entry points](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#entry-points) | Entry point | Availability | | --- | --- | | AccessibilityService.rootInActiveWindow | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Complete accessibility Service and XML capability; the user enables it in system settings; no Root required ``` val root = rootInActiveWindow ?: return Log.i("TakuProbe", "nodes=${root.childCount}") ``` **Expected result**: Returns the currently accessible window nodes; custom-drawn content may be empty **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#limitations) - This project has not implemented an accessibility-based agent. - A disabled service, windows without nodes, and custom-drawn content require explicit failure handling. ## [Validation records](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `ui.tree.accessibility` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#upstream-references) - [android.accessibilityservice.AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `official_reference` - [AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/ui-tree-accessibility/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # ADB / Root screenshots · screen.capture.shell Save main-screen or background frames for visual agents and verification > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#purpose-and-status) Save main-screen or background frames for visual agents and verification **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run. ## [Before calling](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | Target command tested on API36; screencap and specific -d behavior depend on the AOSP/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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | shell / root; subject to secure window restrictions | Authorized ADB/shell; the virtual display ImageReader is held by the root host | ### [Entry points](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#entry-points) | Entry point | Availability | | --- | --- | | screencap / phone-display capture | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#device_shell) **Environment**: Phone root shell **Prerequisites**: Authorized ADB/shell; the virtual display ImageReader is held by the root host ``` phone-display capture # The output /data/local/agentos/virtual-display/screen.png is the background display ``` **Expected result**: Save a real PNG; confirm timestamp and DisplayID before passing it to the model **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#limitations) - screencap -d uses SurfaceFlinger display IDs, which differ from logical am/input IDs. - Capture of secure windows and protected content is not guaranteed; a black frame is not success. ## [Validation records](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `screen.capture.shell` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#upstream-references) - [MediaProjection](https://developer.android.com/media/grow/media-projection) — audit: `web_content_reviewed` - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/screen-capture-shell/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/screen-capture-shell/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Screen capture without flashing · screen.capture.public Screen recording, OCR, and understanding the current page > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/screen-capture-public/#purpose-and-status) Screen recording, OCR, and understanding the current page **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/screen-capture-public/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/screen-capture-public/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | MediaProjection user consent; target34+ foregroundServiceType=mediaProjection and FGS permissions | Get the createScreenCaptureIntent result in an Activity, then create the capture session in a valid foreground service | ### [Entry points](https://docs.taku.ai/os/reference/generated/screen-capture-public/#entry-points) | Entry point | Availability | | --- | --- | | MediaProjectionManager.createScreenCaptureIntent | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/screen-capture-public/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/screen-capture-public/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Get the createScreenCaptureIntent result in an Activity, then create the capture session in a valid foreground service ``` startActivityForResult(getSystemService(MediaProjectionManager::class.java).createScreenCaptureIntent(), 100) ``` **Expected result**: Shows system capture authorization; result is not a screenshot, and Surface/VirtualDisplay and a stop callback are needed next **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/screen-capture-public/#limitations) - With target 34+, each session requires new consent; the token cannot be repeatedly reused. - This project has not completed an ordinary-app MediaProjection adapter; secure-content capture is still not guaranteed. ## [Validation records](https://docs.taku.ai/os/reference/generated/screen-capture-public/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/screen-capture-public/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/screen-capture-public/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/screen-capture-public/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `screen.capture.public` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/screen-capture-public/#upstream-references) - [android.media.projection.MediaProjectionManager](https://developer.android.com/reference/android/media/projection/MediaProjectionManager) — audit: `official_reference` - [MediaProjection](https://developer.android.com/media/grow/media-projection) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/screen-capture-public/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/screen-capture-public/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Ordinary camera preview / real-time understanding · camera.read Object recognition, reading printed materials, and visual agents > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/camera-read/#purpose-and-status) Object recognition, reading printed materials, and visual agents **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/camera-read/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/camera-read/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | CAMERA runtime; background camera FGS subject to version rules | Authorize CAMERA, enumerate cameraId, and close the session and device correctly | ### [Entry points](https://docs.taku.ai/os/reference/generated/camera-read/#entry-points) | Entry point | Availability | | --- | --- | | CameraManager.cameraIdList / openCamera | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/camera-read/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/camera-read/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Authorize CAMERA, enumerate cameraId, and close the session and device correctly ``` val manager = getSystemService(CameraManager::class.java) Log.i("TakuProbe", "cameras=${manager.cameraIdList.toList()}") ``` **Expected result**: Enumerates camera IDs; opening a preview also needs a callback, a Surface, and working hardware **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/camera-read/#limitations) - The enumeration example does not obtain frames; an emulator’s virtual camera is not a physical-device camera. - Concurrency, temperature, power consumption, and background restrictions have not been tested. ## [Validation records](https://docs.taku.ai/os/reference/generated/camera-read/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/camera-read/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/camera-read/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/camera-read/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `camera.read` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/camera-read/#upstream-references) - [android.hardware.camera2.CameraManager](https://developer.android.com/reference/android/hardware/camera2/CameraManager) — audit: `official_reference` - [AOSP camera architecture](https://source.android.com/docs/core/camera) — audit: `web_content_reviewed` - [Foreground service restrictions on background starts](https://developer.android.com/develop/background-work/services/fgs/restrictions-bg-start) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/camera-read/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/camera-read/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: cross-app camera beautification / image-pipeline replacement · camera.global-filter Let third-party video apps consume system-processed frames > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/camera-global-filter/#purpose-and-status) Let third-party video apps consume system-processed frames **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/camera-global-filter/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/camera-global-filter/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | CameraService / Camera HAL / GPU buffer pipeline | True cross-app processing needs device HAL or system service integration; the CAMERA permission alone cannot affect other apps’ output | ### [Entry points](https://docs.taku.ai/os/reference/generated/camera-global-filter/#entry-points) | Entry point | Availability | | --- | --- | | CameraService / Camera HAL | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/camera-global-filter/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/camera-global-filter/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: True cross-app processing needs device HAL or system service integration; the CAMERA permission alone cannot affect other apps’ output ``` rg --threads 2 "processCaptureRequest|configureStreams" hardware/interfaces/camera -g "*.aidl" -g "*.hal" ``` **Expected result**: Locate the HAL stream contract; not a finished beauty-filter module **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/camera-global-filter/#limitations) - Difficulty depends on formats, colors, protected buffers, concurrency, and vendor implementations. - Mentioned in the meeting only as an extension example; it is neither initial product scope nor implemented functionality. ## [Validation records](https://docs.taku.ai/os/reference/generated/camera-global-filter/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/camera-global-filter/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/camera-global-filter/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/camera-global-filter/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `camera.global-filter` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/camera-global-filter/#upstream-references) - [AOSP camera architecture](https://source.android.com/docs/core/camera) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/camera-global-filter/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/camera-global-filter/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Microphone and voice capture · audio.microphone Meeting notes and voice input for agents > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/audio-microphone/#purpose-and-status) Meeting notes and voice input for agents **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/audio-microphone/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 3 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/audio-microphone/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | RECORD_AUDIO runtime; background use needs a valid microphone FGS type | Authorize in the foreground and configure recording parameters, audio routing, and lifecycle; background starts are restricted on newer Android versions | ### [Entry points](https://docs.taku.ai/os/reference/generated/audio-microphone/#entry-points) | Entry point | Availability | | --- | --- | | AudioRecord.Builder | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/audio-microphone/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/audio-microphone/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Authorize in the foreground and configure recording parameters, audio routing, and lifecycle; background starts are restricted on newer Android versions ``` val record = AudioRecord.Builder().setAudioSource(MediaRecorder.AudioSource.MIC).setAudioFormat(AudioFormat.Builder().setSampleRate(16000).setEncoding(AudioFormat.ENCODING_PCM_16BIT).setChannelMask(AudioFormat.CHANNEL_IN_MONO).build()).setBufferSizeInBytes(4096).build() record.startRecording() ``` **Expected result**: Input counts only if non-silent PCM is captured; the example needs the full read and stop/release lifecycle **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/audio-microphone/#limitations) - Permission does not establish correct concurrency, lock-screen behavior, or Bluetooth routing; it does not include both sides of calls. - The project has no verification with actual microphone samples. ## [Validation records](https://docs.taku.ai/os/reference/generated/audio-microphone/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/audio-microphone/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/audio-microphone/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/audio-microphone/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `audio.microphone` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/audio-microphone/#upstream-references) - [android.media.AudioRecord](https://developer.android.com/reference/android/media/AudioRecord) — audit: `official_reference` - [Foreground service restrictions on background starts](https://developer.android.com/develop/background-work/services/fgs/restrictions-bg-start) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/audio-microphone/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/audio-microphone/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Capture other apps’ playback through ordinary APIs · audio.playback Subtitles, study notes, and understanding playback content > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/audio-playback/#purpose-and-status) Subtitles, study notes, and understanding playback content **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/audio-playback/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 29 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 29 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/audio-playback/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | RECORD_AUDIO + MediaProjection session | Same user; the playback app allows capture and usage matches; create AudioRecord after the user authorizes projection | ### [Entry points](https://docs.taku.ai/os/reference/generated/audio-playback/#entry-points) | Entry point | Availability | | --- | --- | | AudioPlaybackCaptureConfiguration.Builder | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/audio-playback/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/audio-playback/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Same user; the playback app allows capture and usage matches; create AudioRecord after the user authorizes projection ``` val config = AudioPlaybackCaptureConfiguration.Builder(projection).addMatchingUsage(AudioAttributes.USAGE_MEDIA).build() val capture = AudioRecord.Builder().setAudioFormat(format).setAudioPlaybackCaptureConfig(config).build() ``` **Expected result**: A policy-compliant player produces PCM; record the boundary on denial or silence **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/audio-playback/#limitations) - Requires API 29; apps that disallow capture and call usages cannot be generalized as supported. - Not tested; Root does not imply access to arbitrary protected audio tracks. ## [Validation records](https://docs.taku.ai/os/reference/generated/audio-playback/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/audio-playback/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/audio-playback/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/audio-playback/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `audio.playback` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/audio-playback/#upstream-references) - [android.media.AudioPlaybackCaptureConfiguration](https://developer.android.com/reference/android/media/AudioPlaybackCaptureConfiguration) — audit: `official_reference` - [Playback audio capture](https://developer.android.com/media/platform/av-capture) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/audio-playback/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/audio-playback/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: both sides of cellular / VoIP audio · audio.calls Device research for explicit call assistance and meeting-note scenarios > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/audio-calls/#purpose-and-status) Device research for explicit call assistance and meeting-note scenarios **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/audio-calls/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/audio-calls/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | AudioPolicy / Audio HAL / routing; may need protected permissions such as CAPTURE_AUDIO_OUTPUT | Select the device and route first, and prove non-silent RX/TX in a test call; do not read real calls | ### [Entry points](https://docs.taku.ai/os/reference/generated/audio-calls/#entry-points) | Entry point | Availability | | --- | --- | | AudioPolicy / Audio HAL | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/audio-calls/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/audio-calls/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Select the device and route first, and prove non-silent RX/TX in a test call; do not read real calls ``` rg --threads 2 "VOICE_CALL|VOICE_UPLINK|VOICE_DOWNLINK" frameworks/av -g "*.cpp" -g "*.h" ``` **Expected result**: Locate call/routing definitions; source research only; produces no audio track **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/audio-calls/#limitations) - Cellular and VoIP use different paths; carrier, vendor HAL, and headset modes need separate validation. - There is no guarantee of universal phone support or implemented interface. ## [Validation records](https://docs.taku.ai/os/reference/generated/audio-calls/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/audio-calls/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/audio-calls/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/audio-calls/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `audio.calls` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/audio-calls/#upstream-references) - [AOSP Audio HAL](https://source.android.com/docs/core/audio/implement) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/audio-calls/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/audio-calls/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: owned-track effects / system-input audio effects · audio.effects Noise reduction, clarity, and entertainment effects > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/audio-effects/#purpose-and-status) Noise reduction, clarity, and entertainment effects **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/audio-effects/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/audio-effects/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Your own audio session can use public effects; cross-app paths need AudioPolicy/HAL | Test AEC/NS first on your own AudioRecord session; cross-app/Bluetooth/cellular use needs device integration | ### [Entry points](https://docs.taku.ai/os/reference/generated/audio-effects/#entry-points) | Entry point | Availability | | --- | --- | | AudioEffect / AudioFlinger / Effects HAL | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/audio-effects/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/audio-effects/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Test AEC/NS first on your own AudioRecord session; cross-app/Bluetooth/cellular use needs device integration ``` rg --threads 2 "EFFECT_TYPE_NS|EFFECT_TYPE_AEC" frameworks/av -g "*.h" -g "*.cpp" ``` **Expected result**: Locate effect types and services; research only for system-wide unified effects **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/audio-effects/#limitations) - Effects on an owned session are not a system-wide microphone modification. - Latency, echo, offload, and low-power routing have not been tested. ## [Validation records](https://docs.taku.ai/os/reference/generated/audio-effects/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/audio-effects/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/audio-effects/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/audio-effects/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `audio.effects` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/audio-effects/#upstream-references) - [AOSP Audio HAL](https://source.android.com/docs/core/audio/implement) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/audio-effects/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/audio-effects/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Media-session state and playback control · context.media Music/podcast titles, pause, resume, and track switching > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/context-media/#purpose-and-status) Music/podcast titles, pause, resume, and track switching **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/context-media/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/context-media/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Notification access or MEDIA_CONTENT_CONTROL (protected) | Specify the listener component after notification-listener authorization; can control only sessions the app exposes | ### [Entry points](https://docs.taku.ai/os/reference/generated/context-media/#entry-points) | Entry point | Availability | | --- | --- | | getActiveSessions / MediaController.transportControls | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/context-media/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/context-media/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Specify the listener component after notification-listener authorization; can control only sessions the app exposes ``` val sessions = getSystemService(MediaSessionManager::class.java).getActiveSessions(listenerComponent) sessions.firstOrNull()?.transportControls?.pause() ``` **Expected result**: Pauses when there is a controllable session; needs player-state readback **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/context-media/#limitations) - This is not an arbitrary audio-transcription interface; players may not expose complete metadata. - Not tested; audio routing and multiple displays for the same app still share resources. ## [Validation records](https://docs.taku.ai/os/reference/generated/context-media/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/context-media/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/context-media/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/context-media/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `context.media` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/context-media/#upstream-references) - [android.media.session.MediaSessionManager](https://developer.android.com/reference/android/media/session/MediaSessionManager) — audit: `official_reference` - [NotificationListenerService](https://developer.android.com/reference/android/service/notification/NotificationListenerService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/context-media/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/context-media/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: low-power voice wake-up · voice.hotword Invoke an agent without touch > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/voice-hotword/#purpose-and-status) Invoke an agent without touch **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/voice-hotword/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/voice-hotword/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | SoundTrigger HAL / DSP support; VoiceInteraction default role | The target chip supports soundtrigger and a deployable model; implement HotwordDetectionService or a vendor path | ### [Entry points](https://docs.taku.ai/os/reference/generated/voice-hotword/#entry-points) | Entry point | Availability | | --- | --- | | SoundTrigger / HotwordDetectionService | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/voice-hotword/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/voice-hotword/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: The target chip supports soundtrigger and a deployable model; implement HotwordDetectionService or a vendor path ``` rg --threads 2 "SoundTrigger" hardware/interfaces/soundtrigger -g "*.aidl" -g "*.hal" ``` **Expected result**: Locate the hardware wake service; an emulator cannot prove the DSP low-power path **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/voice-hotword/#limitations) - Continuous AudioRecord is not low-power wake-up. - Speech recognition is not implemented; there is no verification for physical-device chips/models. ## [Validation records](https://docs.taku.ai/os/reference/generated/voice-hotword/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/voice-hotword/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/voice-hotword/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/voice-hotword/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `voice.hotword` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/voice-hotword/#upstream-references) - [AOSP SoundTrigger](https://source.android.com/docs/core/audio/sound-trigger) — audit: `web_content_reviewed` - [VoiceInteractionService](https://developer.android.com/reference/android/service/voice/VoiceInteractionService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/voice-hotword/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/voice-hotword/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Default digital assistant and global invocation · assistant.entry Receive context and tasks through the system ASSIST entry point > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/assistant-entry/#purpose-and-status) Receive context and tasks through the system ASSIST entry point **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Source and installed identity were checked, but this directory has no complete independent verification for global invocation/context capture. HOME testing does not change this item to validated. ## [Before calling](https://docs.taku.ai/os/reference/generated/assistant-entry/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 21 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/assistant-entry/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | BIND_VOICE_INTERACTION (service binding); default assistant role | Implement VoiceInteractionService/SessionService and select the default assistant; integrated in the current test-signed system app | ### [Entry points](https://docs.taku.ai/os/reference/generated/assistant-entry/#entry-points) | Entry point | Availability | | --- | --- | | VoiceInteractionService / android.intent.action.ASSIST | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/assistant-entry/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/assistant-entry/#device_shell) **Environment**: Phone root shell **Prerequisites**: Implement VoiceInteractionService/SessionService and select the default assistant; integrated in the current test-signed system app ``` am start -a android.intent.action.ASSIST ``` **Expected result**: Opens the current default assistant entry point; does not mean speech recognition or low-power wake **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/assistant-entry/#limitations) - RecognitionUnavailableService in the manifest indicates that speech transcription is not implemented. - Background-interface/main-screen context may be redacted by the system; secure content is not guaranteed. ## [Validation records](https://docs.taku.ai/os/reference/generated/assistant-entry/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/assistant-entry/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/assistant-entry/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Source and installed identity were checked, but this directory has no complete independent verification for global invocation/context capture. HOME testing does not change this item to validated. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/assistant-entry/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `assistant.entry` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/assistant-entry/#upstream-references) - [android.service.voice.VoiceInteractionService](https://developer.android.com/reference/android/service/voice/VoiceInteractionService) — audit: `official_reference` - [VoiceInteractionService](https://developer.android.com/reference/android/service/voice/VoiceInteractionService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/assistant-entry/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/assistant-entry/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Post the app’s own system notifications · notifications.post Keep task completion, app-generation progress, and actual statistics visible outside the app > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/notifications-post/#purpose-and-status) Keep task completion, app-generation progress, and actual statistics visible outside the app **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical converter-notification UI and system notification records passed; no notification was sent again in this run. ## [Before calling](https://docs.taku.ai/os/reference/generated/notifications-post/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | NotificationManager base API1; Notification.Builder API11; channels API26; POST_NOTIFICATIONS API33. | | 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/notifications-post/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | POST_NOTIFICATIONS(API33+);NotificationChannel(API26+) | Regular apps need runtime notification-permission consent and an enabled notification channel; the experimental shell can already call the mini-app service | ### [Entry points](https://docs.taku.ai/os/reference/generated/notifications-post/#entry-points) | Entry point | Availability | | --- | --- | | NotificationManager.notify / mini-app tasks.notify | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/notifications-post/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/notifications-post/#device_shell) **Environment**: Phone root shell **Prerequisites**: Regular apps need runtime notification-permission consent and an enabled notification channel; the experimental shell can already call the mini-app service ``` /data/local/agentos/light-app-lab/free-app-kit/mini-app call board tasks.notify '{}' ``` **Expected result**: Returns real statistics and posts a system notification; notification content must still be read back from the notification shade or system records **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/notifications-post/#limitations) - Authorization differs before and after API 33; disabled apps or notification channels can prevent notifications. - Successful notification posting does not mean another app’s message was replied to. ## [Validation records](https://docs.taku.ai/os/reference/generated/notifications-post/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/notifications-post/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/notifications-post/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical converter-notification UI and system notification records passed; no notification was sent again in this run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/notifications-post/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `notifications.post` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/notifications-post/#upstream-references) - [android.app.NotificationManager](https://developer.android.com/reference/android/app/NotificationManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/notifications-post/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/notifications-post/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Listen for notification changes · notifications.listen Receive text, times, updates, and removal events from notifications posted by apps, and create tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/notifications-listen/#purpose-and-status) Receive text, times, updates, and removal events from notifications posted by apps, and create tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/notifications-listen/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 18 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 18 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/notifications-listen/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | BIND_NOTIFICATION_LISTENER_SERVICE (service-binding protection); special notification-access authorization | Declare the Service and its service intent-filter in the Manifest; the user enables notification access in Settings; wait for onListenerConnected | ### [Entry points](https://docs.taku.ai/os/reference/generated/notifications-listen/#entry-points) | Entry point | Availability | | --- | --- | | NotificationListenerService.onNotificationPosted | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/notifications-listen/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/notifications-listen/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Declare the Service and its service intent-filter in the Manifest; the user enables notification access in Settings; wait for onListenerConnected ``` override fun onNotificationPosted(sbn: StatusBarNotification) { Log.i("TakuProbe", "posted pkg=${sbn.packageName} id=${sbn.id}") } ``` **Expected result**: A posted callback fires when a new test notification is sent; this project has no tested listener adapter yet **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/notifications-listen/#limitations) - Only actual notifications are received; this cannot backfill complete chat history. - The system may redact sensitive notifications; declaring permission does not automatically enable access. ## [Validation records](https://docs.taku.ai/os/reference/generated/notifications-listen/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/notifications-listen/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/notifications-listen/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/notifications-listen/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `notifications.listen` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/notifications-listen/#upstream-references) - [android.service.notification.NotificationListenerService](https://developer.android.com/reference/android/service/notification/NotificationListenerService) — audit: `official_reference` - [NotificationListenerService](https://developer.android.com/reference/android/service/notification/NotificationListenerService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/notifications-listen/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/notifications-listen/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Quick-reply through existing notifications · notifications.reply Reply to existing notifications using RemoteInput actions exposed by an app > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/notifications-reply/#purpose-and-status) Reply to existing notifications using RemoteInput actions exposed by an app **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/notifications-reply/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 20 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 20 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/notifications-reply/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Notification access; can use PendingIntent and RemoteInput | First get the action from an authorized NotificationListenerService; the target app must provide a reply action | ### [Entry points](https://docs.taku.ai/os/reference/generated/notifications-reply/#entry-points) | Entry point | Availability | | --- | --- | | RemoteInput.addResultsToIntent / PendingIntent.send | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/notifications-reply/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/notifications-reply/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: First get the action from an authorized NotificationListenerService; the target app must provide a reply action ``` val reply = Intent() RemoteInput.addResultsToIntent(action.remoteInputs, reply, Bundle().apply { putCharSequence(action.remoteInputs[0].resultKey, "Received") }) action.actionIntent.send(this, 0, reply) ``` **Expected result**: The target app’s own reply action is triggered; business success needs readback from its UI/service **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/notifications-reply/#limitations) - This is not an arbitrary chat API; some apps do not offer quick reply or require unlocking. - This project has not validated WeChat notification replies and has not sent messages through this path. ## [Validation records](https://docs.taku.ai/os/reference/generated/notifications-reply/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/notifications-reply/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/notifications-reply/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/notifications-reply/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `notifications.reply` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/notifications-reply/#upstream-references) - [android.app.RemoteInput](https://developer.android.com/reference/android/app/RemoteInput) — audit: `official_reference` - [NotificationListenerService](https://developer.android.com/reference/android/service/notification/NotificationListenerService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/notifications-reply/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/notifications-reply/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Usage information and foreground-app clues · context.foreground Identify apps recently used by the user and choose when to perform tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/context-foreground/#purpose-and-status) Identify apps recently used by the user and choose when to perform tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/context-foreground/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/context-foreground/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | PACKAGE_USAGE_STATS / usage-access AppOp | Declared in the Manifest and enabled by the user in usage-access settings; queryEvents works by time window | ### [Entry points](https://docs.taku.ai/os/reference/generated/context-foreground/#entry-points) | Entry point | Availability | | --- | --- | | UsageStatsManager.queryEvents | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/context-foreground/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/context-foreground/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Declared in the Manifest and enabled by the user in usage-access settings; queryEvents works by time window ``` val now = System.currentTimeMillis() val events = getSystemService(UsageStatsManager::class.java).queryEvents(now - 60_000, now) ``` **Expected result**: Returns activity usage events; check AppOps and the actual events first **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/context-foreground/#limitations) - Usage statistics may be delayed and are not a complete real-time window tree. - Real-time cross-app task management requires a separate privileged interface that is not exposed. ## [Validation records](https://docs.taku.ai/os/reference/generated/context-foreground/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/context-foreground/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/context-foreground/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/context-foreground/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `context.foreground` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/context-foreground/#upstream-references) - [android.app.usage.UsageStatsManager](https://developer.android.com/reference/android/app/usage/UsageStatsManager) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/context-foreground/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/context-foreground/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Foreground clipboard / share entry point · context.clipboard Add copied or shared content to the current agent task > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/context-clipboard/#purpose-and-status) Add copied or shared content to the current agent task **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/context-clipboard/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 11 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/context-clipboard/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Foreground focus; share Intents do not need global background clipboard reads | Read primaryClip in a focused Activity; share targets register ACTION_SEND | ### [Entry points](https://docs.taku.ai/os/reference/generated/context-clipboard/#entry-points) | Entry point | Availability | | --- | --- | | ClipboardManager.getPrimaryClip / ACTION_SEND | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/context-clipboard/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/context-clipboard/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Read primaryClip in a focused Activity; share targets register ACTION_SEND ``` val clip = getSystemService(ClipboardManager::class.java).primaryClip Log.i("TakuProbe", "items=${clip?.itemCount ?: 0}") ``` **Expected result**: Foreground apps can get the clipboard item; treat missing permission or no content as empty **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/context-clipboard/#limitations) - Ordinary background apps are restricted after API 29; continuous system-level subscription needs a separate design. - This does not read historical clipboard contents; this capability has not been tested in the project. ## [Validation records](https://docs.taku.ai/os/reference/generated/context-clipboard/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/context-clipboard/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/context-clipboard/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/context-clipboard/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `context.clipboard` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/context-clipboard/#upstream-references) - [android.content.ClipboardManager](https://developer.android.com/reference/android/content/ClipboardManager) — audit: `official_reference` - [Android clipboard access restrictions](https://developer.android.com/privacy-and-security/risks/secure-clipboard-handling) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/context-clipboard/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/context-clipboard/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Location and location context · environment.location Arrival reminders and itinerary-related tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/environment-location/#purpose-and-status) Arrival reminders and itinerary-related tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/environment-location/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/environment-location/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | ACCESS_COARSE/FINE_LOCATION; background also requires ACCESS_BACKGROUND_LOCATION | Authorize runtime permissions separately; background location is not covered by the foreground location authorization; geofencing can use GooglePlay Services, but it has not been verified on this system image | ### [Entry points](https://docs.taku.ai/os/reference/generated/environment-location/#entry-points) | Entry point | Availability | | --- | --- | | LocationManager.getLastKnownLocation | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/environment-location/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/environment-location/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Authorize runtime permissions separately; background location is not covered by the foreground location authorization; geofencing can use GooglePlay Services, but it has not been verified on this system image ``` val location = getSystemService(LocationManager::class.java).getLastKnownLocation(LocationManager.GPS_PROVIDER) Log.i("TakuProbe", "hasFix=${location != null}") ``` **Expected result**: Reads back only whether a historical fix exists, without collecting personal location traces; real-time location must be tested separately **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/environment-location/#limitations) - An old fix is not the current location; indoor operation, background frequency, OEM behavior, and battery consumption need testing. - Injected emulator locations do not represent field accuracy; not tested. ## [Validation records](https://docs.taku.ai/os/reference/generated/environment-location/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/environment-location/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/environment-location/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/environment-location/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `environment.location` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/environment-location/#upstream-references) - [android.location.LocationManager](https://developer.android.com/reference/android/location/LocationManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/environment-location/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/environment-location/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Sensors and activity recognition · environment.sensors Movement/posture assistance and adapting interaction to the scenario > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/environment-sensors/#purpose-and-status) Movement/posture assistance and adapting interaction to the scenario **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/environment-sensors/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/environment-sensors/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Most regular sensors need no runtime permission; step count/activity needs ACTIVITY_RECOGNITION; high sampling rates need HIGH_SAMPLING_RATE_SENSORS | Enumerate device support first; register a listener as the algorithm needs; do not treat raw sensor values as behavior facts | ### [Entry points](https://docs.taku.ai/os/reference/generated/environment-sensors/#entry-points) | Entry point | Availability | | --- | --- | | SensorManager.getSensorList | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/environment-sensors/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/environment-sensors/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Enumerate device support first; register a listener as the algorithm needs; do not treat raw sensor values as behavior facts ``` val sensors = getSystemService(SensorManager::class.java).getSensorList(Sensor.TYPE_ALL) Log.i("TakuProbe", "types=${sensors.map { it.type }}") ``` **Expected result**: Gets the supported types; semantic activity recognition needs an algorithm or another API **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/environment-sensors/#limitations) - Emulator sensors differ from physical devices; newer versions restrict high sampling rates and background behavior. - There is no verification for walking/driving recognition. ## [Validation records](https://docs.taku.ai/os/reference/generated/environment-sensors/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/environment-sensors/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/environment-sensors/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/environment-sensors/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `environment.sensors` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/environment-sensors/#upstream-references) - [android.hardware.SensorManager](https://developer.android.com/reference/android/hardware/SensorManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/environment-sensors/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/environment-sensors/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Bluetooth / local-network device discovery · environment.nearby Nearby agents, accessories, or collaboration nodes > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/environment-nearby/#purpose-and-status) Nearby agents, accessories, or collaboration nodes **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/environment-nearby/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 16 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/environment-nearby/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | INTERNET; Bluetooth API31+ SCAN/CONNECT; version-specific permissions for Wi-Fi discovery | NSD discovers the test service on an authorized LAN; pairing/connection need separate authorization; discovery does not mean connected | ### [Entry points](https://docs.taku.ai/os/reference/generated/environment-nearby/#entry-points) | Entry point | Availability | | --- | --- | | NsdManager.discoverServices | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/environment-nearby/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/environment-nearby/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: NSD discovers the test service on an authorized LAN; pairing/connection need separate authorization; discovery does not mean connected ``` getSystemService(NsdManager::class.java).discoverServices("_taku._tcp.", NsdManager.PROTOCOL_DNS_SD, discoveryListener) ``` **Expected result**: Discovers a test service you published; requires a listener implementation and stopDiscovery **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/environment-nearby/#limitations) - API 16 NSD does not describe all Bluetooth/Wi-Fi permission requirements. - The project has no cross-device collaboration protocol or wireless-pairing verification. ## [Validation records](https://docs.taku.ai/os/reference/generated/environment-nearby/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/environment-nearby/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/environment-nearby/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/environment-nearby/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `environment.nearby` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/environment-nearby/#upstream-references) - [android.net.nsd.NsdManager](https://developer.android.com/reference/android/net/nsd/NsdManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/environment-nearby/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/environment-nearby/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: USB peripherals and NFC / HCE · environment.usb-nfc Card readers, sensors, and tap-to-start tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#purpose-and-status) Card readers, sensors, and tap-to-start tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 12 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | USB user authorization; NFC Manifest and hardware; HCE service binding | Check FEATURE_USB_HOST/FEATURE_NFC first; USB requestPermission names the target device explicitly; test peripherals only | ### [Entry points](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#entry-points) | Entry point | Availability | | --- | --- | | UsbManager.deviceList / NfcAdapter | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Check FEATURE_USB_HOST/FEATURE_NFC first; USB requestPermission names the target device explicitly; test peripherals only ``` val devices = getSystemService(UsbManager::class.java).deviceList Log.i("TakuProbe", "usbCount=${devices.size}") ``` **Expected result**: Enumerates peripherals; does not mean connection or read/write protocols succeed **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#limitations) - NFC/HCE does not mean payment secure-element credentials can be copied. - There is no actual USB/NFC peripheral path in the emulator; HCE API 19 and device support require separate tests. ## [Validation records](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `environment.usb-nfc` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#upstream-references) - [android.hardware.usb.UsbManager](https://developer.android.com/reference/android/hardware/usb/UsbManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/environment-usb-nfc/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: network state, VPN, and per-app networking · network.vpn Connection recovery, routing, and diagnostics > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/network-vpn/#purpose-and-status) Connection recovery, routing, and diagnostics **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/network-vpn/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 14 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 14 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/network-vpn/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | INTERNET; BIND_VPN_SERVICE service binding and user VPN consent | User consents after VpnService.prepare; establish tun and forward correctly; concurrent use is limited to VPN configurations the system supports | ### [Entry points](https://docs.taku.ai/os/reference/generated/network-vpn/#entry-points) | Entry point | Availability | | --- | --- | | ConnectivityManager / VpnService.prepare | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/network-vpn/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/network-vpn/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: User consents after VpnService.prepare; establish tun and forward correctly; concurrent use is limited to VPN configurations the system supports ``` val consent = VpnService.prepare(this) if (consent != null) startActivityForResult(consent, 103) ``` **Expected result**: Shows the VPN authorization; without an established tun this does not mean traffic can be proxied **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/network-vpn/#limitations) - A VPN seeing packets does not imply HTTPS plaintext access; TLS and server authorization still apply. - Complete per-app routing policies and network measurement are not implemented. ## [Validation records](https://docs.taku.ai/os/reference/generated/network-vpn/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/network-vpn/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/network-vpn/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/network-vpn/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `network.vpn` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/network-vpn/#upstream-references) - [android.net.VpnService](https://developer.android.com/reference/android/net/VpnService) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/network-vpn/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/network-vpn/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Launch existing apps or Intent functions · apps.launch Open traditional entry points such as Clock, WeChat, and maps > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/apps-launch/#purpose-and-status) Open traditional entry points such as Clock, WeChat, and maps **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical specific pages in DeskClock and the three apps; the current probe confirms the packages remain installed. ## [Before calling](https://docs.taku.ai/os/reference/generated/apps-launch/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 26 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 26 | | declaredVersionNotes | Base Intent API1; ActivityOptions.setLaunchDisplayId API26; commands verified on API36 in this project. | | 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/apps-launch/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Target Activity exported / public intent; package visibility | Foreground apps can send public Intents; background starts are also subject to version policy; display targeting needs authorized shell/system policy | ### [Entry points](https://docs.taku.ai/os/reference/generated/apps-launch/#entry-points) | Entry point | Availability | | --- | --- | | startActivity / am start --display | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/apps-launch/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/apps-launch/#device_shell) **Environment**: Phone root shell **Prerequisites**: Foreground apps can send public Intents; background starts are also subject to version policy; display targeting needs authorized shell/system policy ``` agent_display_id=$(phone-display id) am start --display "$agent_display_id" -n com.android.deskclock/.DeskClock ``` **Expected result**: The real DeskClock task is on that display; needs screenshot or dumpsys readback **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/apps-launch/#limitations) - Ordinary Intents cannot arbitrarily launch unexported components. - WeChat was checked only before login, Xiaohongshu only in the visitor image feed, and Douyin video failed. This does not establish account-workflow verification. ## [Validation records](https://docs.taku.ai/os/reference/generated/apps-launch/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/apps-launch/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/apps-launch/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical specific pages in DeskClock and the three apps; the current probe confirms the packages remain installed. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/apps-launch/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `apps.launch` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/apps-launch/#upstream-references) - [android.content.Intent](https://developer.android.com/reference/android/content/Intent) — audit: `official_reference` - [Activity background start restrictions](https://developer.android.com/guide/components/activities/secure-bal) — audit: `web_content_reviewed` - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/apps-launch/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/apps-launch/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Package names, versions, and install locations · packages.metadata Determine whether traditional and generated apps are actually installed, with matching ABI and versions > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/packages-metadata/#purpose-and-status) Determine whether traditional and generated apps are actually installed, with matching ABI and versions **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Current package versions: WeChat 8.0.79, Xiaohongshu 9.49.1, Douyin 40.7.0. The hashes of two standalone APKs match their installed files. ## [Before calling](https://docs.taku.ai/os/reference/generated/packages-metadata/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/packages-metadata/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | ADB shell; regular apps are subject to package visibility | Authorized ADB; regular apps need queries or a valid visibility scope; Shizuku authorization does not raise the shell ceiling | ### [Entry points](https://docs.taku.ai/os/reference/generated/packages-metadata/#entry-points) | Entry point | Availability | | --- | --- | | pm path / dumpsys package | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/packages-metadata/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/packages-metadata/#device_shell) **Environment**: Phone root shell **Prerequisites**: Authorized ADB; regular apps need queries or a valid visibility scope; Shizuku authorization does not raise the shell ceiling ``` pm path org.agentos.apiboard dumpsys package org.agentos.apiboard ``` **Expected result**: Returns the real base.apk path and version/min/target; must check only the target package **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/packages-metadata/#limitations) - This run read only seven specified relevant packages, without scanning all user apps. - Installation of the three apps does not establish compatibility for post-login messages, payments, or livestreaming. ## [Validation records](https://docs.taku.ai/os/reference/generated/packages-metadata/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/packages-metadata/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/packages-metadata/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Current package versions: WeChat 8.0.79, Xiaohongshu 9.49.1, Douyin 40.7.0. The hashes of two standalone APKs match their installed files. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/packages-metadata/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `packages.metadata` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/packages-metadata/#upstream-references) - [android.content.pm.PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager) — audit: `official_reference` - [Shizuku official documentation](https://shizuku.rikka.app/introduction/) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/packages-metadata/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/packages-metadata/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Targeted taps, swipes, and keys · input.shell Operate across apps and ensure input reaches the background display > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/input-shell/#purpose-and-status) Operate across apps and ensure input reaches the background display **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historically, native-preview taps paused DeskClock and timing continued after the main-screen viewer was collapsed. This does not guarantee every app or multi-touch. ## [Before calling](https://docs.taku.ai/os/reference/generated/input-shell/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | input -d and host commands here were tested on API36; earlier CLI parameters depend on the system branch; no minimum general Android version is promised. | | 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/input-shell/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | shell or the protected INJECT_EVENTS permission | Authorized ADB/shell; the current root host sends events via input -d; cannot be called directly from regular JS | ### [Entry points](https://docs.taku.ai/os/reference/generated/input-shell/#entry-points) | Entry point | Availability | | --- | --- | | input -d tap/swipe/keyevent | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/input-shell/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/input-shell/#device_shell) **Environment**: Phone root shell **Prerequisites**: Authorized ADB/shell; the current root host sends events via input -d; cannot be called directly from regular JS ``` agent_display_id=$(phone-display id) input -d "$agent_display_id" tap 360 1210 input -d "$agent_display_id" keyevent 4 ``` **Expected result**: Input enters that logical display; verify through the display content or target state **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/input-shell/#limitations) - Successful injection is not business success; dynamic display IDs must not be hardcoded. - Same-app task migration, rotation, focus, and touch regions can affect results. ## [Validation records](https://docs.taku.ai/os/reference/generated/input-shell/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/input-shell/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/input-shell/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historically, native-preview taps paused DeskClock and timing continued after the main-screen viewer was collapsed. This does not guarantee every app or multi-touch. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/input-shell/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `input.shell` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/input-shell/#upstream-references) - [Android 16 InputShellCommand source](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/input/InputShellCommand.java) — audit: `web_content_reviewed` - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/input-shell/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/input-shell/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Semantic actions and gestures without flashing · input.accessibility Click nodes, scroll, and perform single-finger gestures through accessibility > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/input-accessibility/#purpose-and-status) Click nodes, scroll, and perform single-finger gestures through accessibility **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/input-accessibility/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 24 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 24 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/input-accessibility/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Accessibility authorization; canPerformGestures | User enables the Service; XML android:canPerformGestures=true; call within the Service lifecycle | ### [Entry points](https://docs.taku.ai/os/reference/generated/input-accessibility/#entry-points) | Entry point | Availability | | --- | --- | | performAction / dispatchGesture | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/input-accessibility/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/input-accessibility/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: User enables the Service; XML android:canPerformGestures=true; call within the Service lifecycle ``` val p = Path().apply { moveTo(300f, 600f) } val g = GestureDescription.Builder().addStroke(GestureDescription.StrokeDescription(p, 0, 80)).build() dispatchGesture(g, null, null) ``` **Expected result**: Injects a single-finger tap; business readback is still required after the completion callback **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/input-accessibility/#limitations) - Gestures require API 24; a node click does not guarantee the target processes it. - This path was not tested in the experiment and does not replace the trusted background-display API. ## [Validation records](https://docs.taku.ai/os/reference/generated/input-accessibility/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/input-accessibility/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/input-accessibility/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/input-accessibility/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `input.accessibility` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/input-accessibility/#upstream-references) - [android.accessibilityservice.AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `official_reference` - [AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/input-accessibility/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/input-accessibility/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Text input and input-method bridge · input.text Chinese forms, generated-app input, and draft restoration > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/input-text/#purpose-and-status) Chinese forms, generated-app input, and draft restoration **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Only historical Chinese drafts in Taku’s native input field and restart readback were validated; a general IME remains a research approach. ## [Before calling](https://docs.taku.ai/os/reference/generated/input-text/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 3 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 3 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/input-text/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Default input method needs BIND_INPUT_METHOD; accessibility ACTION_SET_TEXT needs its authorization | Get InputConnection from the current editor in InputMethodService, or set text on a node with accessibility authorization | ### [Entry points](https://docs.taku.ai/os/reference/generated/input-text/#entry-points) | Entry point | Availability | | --- | --- | | InputConnection.commitText / ACTION_SET_TEXT | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/input-text/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/input-text/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Get InputConnection from the current editor in InputMethodService, or set text on a node with accessibility authorization ``` currentInputConnection?.commitText("Home screen input test", 1) ``` **Expected result**: The current editor receives the text; a write counts as successful only after UI/storage readback **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/input-text/#limitations) - Ordinary input text is not a general Unicode solution; current native tests use AccessibilityNodeInfo.ACTION_SET_TEXT. - A general cross-app input-method bridge and background-preview keyboard forwarding have not been implemented. ## [Validation records](https://docs.taku.ai/os/reference/generated/input-text/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/input-text/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/input-text/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Only historical Chinese drafts in Taku’s native input field and restart readback; a general IME is a research approach. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/input-text/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `input.text` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/input-text/#upstream-references) - [android.view.inputmethod.InputConnection](https://developer.android.com/reference/android/view/inputmethod/InputConnection) — audit: `official_reference` - [AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/input-text/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/input-text/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # System SMS and call logs · data.sms.calllog Delivery, flight, and contact events in system providers > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#purpose-and-status) Delivery, flight, and contact events in system providers **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 19 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 19 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | READ_SMS; READ_CALL_LOG; hard-restricted installer allowlist / related roles | Consent at runtime is not sufficient; first check the installer allowlist, default SMS/phone roles, and OEM policy; call only on dedicated test data | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#entry-points) | Entry point | Availability | | --- | --- | | ContentResolver.query(Telephony.Sms.CONTENT_URI) | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Consent at runtime is not sufficient; first check the installer allowlist, default SMS/phone roles, and OEM policy; call only on dedicated test data ``` contentResolver.query(Telephony.Sms.CONTENT_URI, arrayOf("_id", "date"), null, null, "date DESC")?.use { Log.i("TakuProbe", "count=${it.count}") } ``` **Expected result**: After valid authorization, gets test SMS IDs/times; denial raises SecurityException; do not claim universal read access **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#limitations) - Hard-restricted permissions are not obtained with a single pm grant. - WeChat/Douyin history is not in the SMS provider; this project has not read or tested these personal data sources. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.sms.calllog` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#upstream-references) - [android.provider.Telephony](https://developer.android.com/reference/android/provider/Telephony) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-sms-calllog/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-sms-calllog/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Read and write contacts · data.contacts Associate contacts and create owned entries in the address book > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-contacts/#purpose-and-status) Associate contacts and create owned entries in the address book **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-contacts/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 5 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 5 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-contacts/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | READ_CONTACTS; writing also requires WRITE_CONTACTS | Request separately at runtime; test with isolated accounts/test contacts | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-contacts/#entry-points) | Entry point | Availability | | --- | --- | | ContentResolver.query(ContactsContract.Contacts.CONTENT_URI) | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-contacts/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-contacts/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Request separately at runtime; test with isolated accounts/test contacts ``` contentResolver.query(ContactsContract.Contacts.CONTENT_URI, arrayOf(ContactsContract.Contacts._ID), null, null, null)?.use { Log.i("TakuProbe", "count=${it.count}") } ``` **Expected result**: Returns the test contact ID; not called in this project **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-contacts/#limitations) - The system address book is not every app’s cloud friend list. - Read permission does not include write permission or cross-organization account access. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-contacts/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-contacts/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-contacts/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-contacts/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.contacts` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-contacts/#upstream-references) - [android.provider.ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-contacts/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-contacts/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Query and create system-calendar events · data.calendar Schedule events and associate reminders and local calendars > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-calendar/#purpose-and-status) Schedule events and associate reminders and local calendars **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-calendar/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 14 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 14 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-calendar/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | READ_CALENDAR; WRITE_CALENDAR authorized separately | Runtime authorization; ACTION_INSERT lets the Calendar app confirm, without holding the database write permission yourself | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-calendar/#entry-points) | Entry point | Availability | | --- | --- | | CalendarContract / ACTION_INSERT | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-calendar/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-calendar/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Runtime authorization; ACTION_INSERT lets the Calendar app confirm, without holding the database write permission yourself ``` startActivity(Intent(Intent.ACTION_INSERT, CalendarContract.Events.CONTENT_URI).putExtra(CalendarContract.Events.TITLE, "Taku test event")) ``` **Expected result**: Opens the calendar creation page; completing the save requires reading back the event **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-calendar/#limitations) - A writable system-calendar account may not exist; cloud Feishu/WeChat schedules are not automatically in the provider. - Opening a confirmation page in the example does not establish that an event was saved; this has not been tested in the project. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-calendar/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-calendar/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-calendar/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-calendar/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.calendar` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-calendar/#upstream-references) - [android.provider.CalendarContract](https://developer.android.com/reference/android/provider/CalendarContract) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-calendar/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-calendar/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Photo library and file locations · data.photos Image indexes, photo-to-task workflows, and optional Exif locations > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-photos/#purpose-and-status) Image indexes, photo-to-task workflows, and optional Exif locations **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-photos/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | MediaStore is available on early API levels; the example uses ACTION_GET_CONTENT; media-group read permissions from API33; PhotoPicker in the platform from API33, with backports on some systems. | | 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-photos/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Photo Picker / READ_MEDIA_IMAGES、READ_MEDIA_VIDEO(API33+);ACCESS_MEDIA_LOCATION(API29+) | Prefer Photo Picker authorization for selected URIs; reading all media needs version-specific permissions; location is authorized separately | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-photos/#entry-points) | Entry point | Availability | | --- | --- | | ACTION_GET_CONTENT / MediaStore / ExifInterface | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-photos/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-photos/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Prefer Photo Picker authorization for selected URIs; reading all media needs version-specific permissions; location is authorized separately ``` startActivityForResult(Intent(Intent.ACTION_GET_CONTENT).setType("image/*"), 101) ``` **Expected result**: Gets URI read access after the user selects an image; must check Exif for GPS **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-photos/#limitations) - GPS data may be absent or removed; it is not evidence of a visit or preference. - API 34 has partial-photo authorization; photo-database indexing has not been tested. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-photos/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-photos/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-photos/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-photos/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.photos` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-photos/#upstream-references) - [android.provider.MediaStore](https://developer.android.com/reference/android/provider/MediaStore) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-photos/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-photos/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # File selection, search, and organization · data.files Import documents and archive user-selected directories > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-files/#purpose-and-status) Import documents and archive user-selected directories **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-files/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 21 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-files/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | SAF URI grant; MANAGE_EXTERNAL_STORAGE special access when needed | Select a directory with ACTION_OPEN_DOCUMENT_TREE and persist URI read/write authorization; this is not private-directory authorization | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-files/#entry-points) | Entry point | Availability | | --- | --- | | Storage Access Framework | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-files/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-files/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Select a directory with ACTION_OPEN_DOCUMENT_TREE and persist URI read/write authorization; this is not private-directory authorization ``` startActivityForResult(Intent(Intent.ACTION_OPEN_DOCUMENT_TREE), 102) ``` **Expected result**: Select a directory and get an authorized URI before traversing DocumentFile **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-files/#limitations) - Since API 30, some directories cannot be selected through a tree picker; all-files access still excludes other apps’ private directories. - The project has not implemented full-text file indexing. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-files/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-files/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-files/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-files/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.files` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-files/#upstream-references) - [android.provider.DocumentsContract](https://developer.android.com/reference/android/provider/DocumentsContract) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-files/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-files/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: exporting other apps’ private data · data.private-files Custom exports for test-device debugging and user-data migration > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-private-files/#purpose-and-status) Custom exports for test-device debugging and user-data migration **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-private-files/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **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](https://docs.taku.ai/os/reference/generated/data-private-files/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | root DAC + SELinux + FBE / app-layer encryption | Must confirm device unlock state, sepolicy, the app’s own export, and a consistent snapshot; there is no general read-all API | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-private-files/#entry-points) | Entry point | Availability | | --- | --- | | Dedicated native export service / filesystem + app export | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-private-files/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/data-private-files/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Must confirm device unlock state, sepolicy, the app’s own export, and a consistent snapshot; there is no general read-all API ``` rg --threads 2 "neverallow|app_data_file" system/sepolicy -g "*.te" ``` **Expected result**: Locate private-directory policy in an AOSP checkout; research lookup only; no real personal databases are collected **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-private-files/#limitations) - Root cannot decrypt app-level encryption or hardware keys; live databases must not be copied indiscriminately as raw files. - There is no exposed export service, testing, or credential-data reading. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-private-files/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-private-files/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-private-files/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-private-files/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.private-files` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-private-files/#upstream-references) - [AOSP file-based encryption](https://source.android.com/docs/security/features/encryption/file-based) — audit: `web_content_reviewed` - [AOSP SELinux](https://source.android.com/docs/security/features/selinux) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-private-files/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-private-files/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: backup, restoration, and migration · data.backup Preserve business state before upgrades and restore owned apps > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/data-backup/#purpose-and-status) Preserve business state before upgrades and restore owned apps **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/data-backup/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 8 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 8 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/data-backup/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | App-owned backup configuration; privileged cross-app backup also requires BACKUP | Your own app implements BackupAgent / export format; cannot promise copying a third party’s complete login state | ### [Entry points](https://docs.taku.ai/os/reference/generated/data-backup/#entry-points) | Entry point | Availability | | --- | --- | | BackupManager.dataChanged / app export | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/data-backup/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/data-backup/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Your own app implements BackupAgent / export format; cannot promise copying a third party’s complete login state ``` BackupManager(this).dataChanged() ``` **Expected result**: Marks your own app’s data for backup; does not mean backup or restore completes immediately **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/data-backup/#limitations) - Scope depends on allowBackup, transport, encryption, and OEM behavior. - Successful restart persistence of owned JSON is not a complete system backup. ## [Validation records](https://docs.taku.ai/os/reference/generated/data-backup/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/data-backup/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/data-backup/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/data-backup/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `data.backup` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/data-backup/#upstream-references) - [android.app.backup.BackupManager](https://developer.android.com/reference/android/app/backup/BackupManager) — audit: `official_reference` - [AOSP file-based encryption](https://source.android.com/docs/security/features/encryption/file-based) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/data-backup/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/data-backup/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Custom home screen, task cards, and traditional-app entry points · home.launcher Show task status and launch traditional apps directly from Home > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/home-launcher/#purpose-and-status) Show task status and launch traditional apps directly from Home **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical Chinese drafts and restart readback in native HOME; the current APK has minSdk 36. ## [Before calling](https://docs.taku.ai/os/reference/generated/home-launcher/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 36 | | declaredVersionNotes | The HOME mechanism is available on early API levels; this project’s assistant APK explicitly sets minSdk36 and makes no claim of installing on lower versions. | | 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/home-launcher/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | HOME Intent; the user selects the default Launcher; a system preinstall can set the default | Regular apps declare HOME; the current Taku assistant is system UID1000 with platform test signing, minSdk36 | ### [Entry points](https://docs.taku.ai/os/reference/generated/home-launcher/#entry-points) | Entry point | Availability | | --- | --- | | HOME Activity / TaskRequests / launcher intents | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/home-launcher/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/home-launcher/#device_shell) **Environment**: Phone root shell **Prerequisites**: Regular apps declare HOME; the current Taku assistant is system UID1000 with platform test signing, minSdk36 ``` am start -a android.intent.action.MAIN -c android.intent.category.HOME ``` **Expected result**: Opens the real TakuHOME; not a web emulator **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/home-launcher/#limitations) - An ordinary launcher can also provide most cards; global SystemUI behavior is not automatically a launcher privilege. - The input widget and animated pet are still undergoing separate UI iteration; this item does not replace latest-design verification. ## [Validation records](https://docs.taku.ai/os/reference/generated/home-launcher/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/home-launcher/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/home-launcher/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical Chinese drafts and restart readback in native HOME; the current APK has minSdk36. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/home-launcher/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `home.launcher` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/home-launcher/#upstream-references) - [android.app.role.RoleManager](https://developer.android.com/reference/android/app/role/RoleManager) — audit: `official_reference` - [Activity background start restrictions](https://developer.android.com/guide/components/activities/secure-bal) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/home-launcher/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/home-launcher/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Global assistance layer / floating window · home.overlay Translation, task status, and current-page tools > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/home-overlay/#purpose-and-status) Translation, task status, and current-page tools **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/home-overlay/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 26 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 26 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/home-overlay/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | SYSTEM_ALERT_WINDOW special access; TYPE_APPLICATION_OVERLAY API26 | User enables the overlay permission; WindowManager adds a non-blocking view and handles focus/input | ### [Entry points](https://docs.taku.ai/os/reference/generated/home-overlay/#entry-points) | Entry point | Availability | | --- | --- | | WindowManager.addView | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/home-overlay/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/home-overlay/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: User enables the overlay permission; WindowManager adds a non-blocking view and handles focus/input ``` val p = WindowManager.LayoutParams(200, 100, WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, PixelFormat.TRANSLUCENT) getSystemService(WindowManager::class.java).addView(TextView(this).apply { text = "Taku status" }, p) ``` **Expected result**: Shows a separate overlay; touch passthrough/layout must be tested separately **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/home-overlay/#limitations) - This is not SystemUI privilege; overlays over sensitive windows and touch are restricted by system policies. - The project has only a native HOME pet, with no tested cross-app pet overlay. ## [Validation records](https://docs.taku.ai/os/reference/generated/home-overlay/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/home-overlay/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/home-overlay/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/home-overlay/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `home.overlay` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/home-overlay/#upstream-references) - [android.view.WindowManager](https://developer.android.com/reference/android/view/WindowManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/home-overlay/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/home-overlay/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # System settings, brightness, and Do Not Disturb · settings.control Adjust available settings for tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/settings-control/#purpose-and-status) Adjust available settings for tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/settings-control/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/settings-control/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | WRITE_SETTINGS special access; WRITE_SECURE_SETTINGS is protected; DND also requires policy access | Regular apps have only specific write-settings authorization; shell can call settings; prefer the owning service over writing the database directly | ### [Entry points](https://docs.taku.ai/os/reference/generated/settings-control/#entry-points) | Entry point | Availability | | --- | --- | | Settings.System / Secure / cmd service | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/settings-control/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/settings-control/#device_shell) **Environment**: Phone root shell **Prerequisites**: Regular apps have only specific write-settings authorization; shell can call settings; prefer the owning service over writing the database directly ``` settings get system screen_brightness ``` **Expected result**: Reads brightness as a side-effect-free probe; changing brightness requires setting a separate value and observing the effect **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/settings-control/#limitations) - The read example establishes readability only, not that all switches can be changed. - Wi-Fi/Bluetooth and Do Not Disturb policies vary by Android/OEM; this research item has not passed verification. ## [Validation records](https://docs.taku.ai/os/reference/generated/settings-control/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/settings-control/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/settings-control/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/settings-control/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `settings.control` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/settings-control/#upstream-references) - [android.provider.Settings](https://developer.android.com/reference/android/provider/Settings) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/settings-control/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/settings-control/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Runtime permissions, roles, and AppOps configuration · permissions.manage Device initialization and capability diagnostics > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/permissions-manage/#purpose-and-status) Device initialization and capability diagnostics **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/permissions-manage/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 23 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/permissions-manage/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | shell / GRANT_RUNTIME_PERMISSIONS / special authorization per role | pm grant works only for valid runtime permissions; notification access/accessibility/roles/AppOps each have their own entry point; it cannot grant undeclared or signature-only permissions | ### [Entry points](https://docs.taku.ai/os/reference/generated/permissions-manage/#entry-points) | Entry point | Availability | | --- | --- | | pm grant / appops / RoleManager | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/permissions-manage/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/permissions-manage/#device_shell) **Environment**: Phone root shell **Prerequisites**: pm grant works only for valid runtime permissions; notification access/accessibility/roles/AppOps each have their own entry point; it cannot grant undeclared or signature-only permissions ``` pm grant org.agentos.apiboard android.permission.POST_NOTIFICATIONS appops get org.agentos.apiboard POST_NOTIFICATION ``` **Expected result**: Notification permission enabled where supported; on denial, record the raw error and reason **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/permissions-manage/#limitations) - This item was not executed in this run. Existing packaging scripts use grant, but this cannot be generalized to all permissions. - Permission granting and successful API behavior require separate verification. ## [Validation records](https://docs.taku.ai/os/reference/generated/permissions-manage/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/permissions-manage/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/permissions-manage/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/permissions-manage/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `permissions.manage` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/permissions-manage/#upstream-references) - [android.app.AppOpsManager](https://developer.android.com/reference/android/app/AppOpsManager) — audit: `official_reference` - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` - [AOSP privileged permission allowlist](https://source.android.com/docs/core/permissions/perms-allowlist) — audit: `web_content_reviewed` - [Shizuku official documentation](https://shizuku.rikka.app/introduction/) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/permissions-manage/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/permissions-manage/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Truly independent background display · display.independent Let an agent operate another display while the main screen remains usable > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/display-independent/#purpose-and-status) Let an agent operate another display while the main screen remains usable **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical independent creation, targeted operations, concurrent main-screen HOME, and host stop/start lifecycle passed. Douyin video did not pass. ## [Before calling](https://docs.taku.ai/os/reference/generated/display-independent/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 36 | | declaredVersionNotes | Base createVirtualDisplay API19; this project’s protected flags combination and host have been tested only on API36, so they cannot be assumed to run from 19 onward. | | 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/display-independent/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Current root app_process; TRUSTED/OWN_FOCUS and other flags need protected system permissions | The phone-display host holds the ImageReader Surface; currently root + SELinux Enforcing, not just a regular MediaProjection mirror | ### [Entry points](https://docs.taku.ai/os/reference/generated/display-independent/#entry-points) | Entry point | Availability | | --- | --- | | phone-display / createVirtualDisplay | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/display-independent/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/display-independent/#device_shell) **Environment**: Phone root shell **Prerequisites**: The phone-display host holds the ImageReader Surface; currently root + SELinux Enforcing, not just a regular MediaProjection mirror ``` phone-display start phone-display id phone-display status ``` **Expected result**: Gets a dynamic non-zero displayId and a separate 720×1280 Surface, not a copy of the main screen **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/display-independent/#limitations) - It shares the Android user, data, and audio resources; it is not an independent VM or account sandbox. - Single-instance apps may move their windows. There is currently no user/agent conflict scheduling. Reboot requires a task start, not independent host init autostart. ## [Validation records](https://docs.taku.ai/os/reference/generated/display-independent/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/display-independent/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/display-independent/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical independent creation, targeted operations, concurrent main-screen HOME, and host stop/start lifecycle passed. Douyin video did not pass. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/display-independent/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `display.independent` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/display-independent/#upstream-references) - [android.hardware.display.DisplayManager](https://developer.android.com/reference/android/hardware/display/DisplayManager) — audit: `official_reference` - [DisplayManager](https://developer.android.com/reference/android/hardware/display/DisplayManager) — audit: `web_content_reviewed` - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/display-independent/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/display-independent/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # View and manually target the background display from the main screen · display.preview Let users inspect agent activity and touch the background screen when needed > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/display-preview/#purpose-and-status) Let users inspect agent activity and touch the background screen when needed **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historically, native Mirror paused 26:04.89→26:11.57, and after collapse timing continued from 1.71→7.66 seconds. The GUI was not retested in the current run. ## [Before calling](https://docs.taku.ai/os/reference/generated/display-preview/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/display-preview/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | socket peer UID 0/1000/2000; currently system_app UID1000 | Taku Native MirrorActivity connects to the abstract Unix socket taku-mirror; no network socket is opened, and touch is directed to the root host | ### [Entry points](https://docs.taku.ai/os/reference/generated/display-preview/#entry-points) | Entry point | Availability | | --- | --- | | MirrorActivity / taku-mirror frame\|tap\|swipe\|key | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/display-preview/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/display-preview/#device_shell) **Environment**: Phone root shell **Prerequisites**: Taku Native MirrorActivity connects to the abstract Unix socket taku-mirror; no network socket is opened, and touch is directed to the root host ``` am start -n org.agentos.assistant/.MirrorActivity ``` **Expected result**: Shows the real background display; taps/swipes go only to the background logical display **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/display-preview/#limitations) - The target is at most approximately 5 fps; software rendering has latency and is not a 60 fps video stream. - Only single-finger taps/swipes/long presses and limited keys are supported. There is no automatic agent pause, cancellation, keyboard-text forwarding, or multi-touch. ## [Validation records](https://docs.taku.ai/os/reference/generated/display-preview/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/display-preview/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/display-preview/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historically, native Mirror paused 26:04.89→26:11.57, and after collapse timing continued from 1.71→7.66 seconds. The GUI was not retested in the current run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/display-preview/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `display.preview` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/display-preview/#upstream-references) - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/display-preview/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/display-preview/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: task and multi-window policy changes · display.window-policy Control app placement, focus, user/agent takeover, and same-app window conflicts > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/display-window-policy/#purpose-and-status) Control app placement, focus, user/agent takeover, and same-app window conflicts **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/display-window-policy/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/display-window-policy/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | ActivityTaskManager / WindowManager / display policy permissions and code | Requires designing task preemption/pause events and window policy on a locked AOSP branch; existing CLI flags cannot accomplish this | ### [Entry points](https://docs.taku.ai/os/reference/generated/display-window-policy/#entry-points) | Entry point | Availability | | --- | --- | | ActivityTaskManagerService / WindowManager | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/display-window-policy/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/display-window-policy/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Requires designing task preemption/pause events and window policy on a locked AOSP branch; existing CLI flags cannot accomplish this ``` rg --threads 2 "setLaunchDisplayId|isActivityStartAllowedOnDisplay" frameworks/base -g "*.java" ``` **Expected result**: Read-only lookup of display launch restrictions; needs a separate implementation and regression testing against apps **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/display-window-policy/#limitations) - App multi-window/resizeable/singleTask behavior affects results; simultaneous dual instances cannot be guaranteed for all apps. - There is no implemented pause/cancel/handover event contract yet. ## [Validation records](https://docs.taku.ai/os/reference/generated/display-window-policy/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/display-window-policy/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/display-window-policy/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/display-window-policy/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `display.window-policy` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/display-window-policy/#upstream-references) - [Android multi-window support](https://developer.android.com/develop/ui/views/layout/support-multi-window-mode) — audit: `web_content_reviewed` - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/display-window-policy/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/display-window-policy/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # On-device task execution and state queue · runtime.broker User request → actual agent execution → status and result > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/runtime-broker/#purpose-and-status) User request → actual agent execution → status and result **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). The init service was running in this run. The single source queue was checked, and historical task UI passed. No model task was submitted in this run. ## [Before calling](https://docs.taku.ai/os/reference/generated/runtime-broker/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/runtime-broker/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | init root service;system UID TaskRequests;SELinux domain | Use the existing single TaskRequests queue; runs in init agentos_codex; do not create a second task queue | ### [Entry points](https://docs.taku.ai/os/reference/generated/runtime-broker/#entry-points) | Entry point | Availability | | --- | --- | | TaskRequests / root task service / tasks.status | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/runtime-broker/#call-examples) ### [host_shell](https://docs.taku.ai/os/reference/generated/runtime-broker/#host_shell) **Environment**: Computer terminal; specify emulator-5582 explicitly **Prerequisites**: Use the existing single TaskRequests queue; runs in init agentos_codex; do not create a second task queue ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` **Expected result**: SDK reads the latest task state; reading state does not mean submitting a new AI task **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/runtime-broker/#limitations) - The current broker has a hard six-minute timeout; complete cancellation, preemption, and idempotent task recovery after restart are absent. - Main/background displays cannot arbitrarily share input; queue-task success requires an actual result. ## [Validation records](https://docs.taku.ai/os/reference/generated/runtime-broker/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/runtime-broker/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/runtime-broker/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | The init service was running in this run. The single source queue was checked, and historical task UI passed. No model task was submitted in this run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/runtime-broker/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `runtime.broker` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/runtime-broker/#upstream-references) - [AOSP SELinux](https://source.android.com/docs/security/features/selinux) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/runtime-broker/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/runtime-broker/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Ordinary background tasks, boot notifications, and recovery · runtime.background-public Periodic organization, synchronization, and restoration of owned tasks > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/runtime-background-public/#purpose-and-status) Periodic organization, synchronization, and restoration of owned tasks **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/runtime-background-public/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/runtime-background-public/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | RECEIVE_BOOT_COMPLETED; BIND_JOB_SERVICE service binding; FGS types and permissions | Implement JobService/BootReceiver; tasks can persist but are subject to Doze/quota/OEM limits; DirectBoot data needs separate design | ### [Entry points](https://docs.taku.ai/os/reference/generated/runtime-background-public/#entry-points) | Entry point | Availability | | --- | --- | | JobScheduler / BOOT_COMPLETED | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/runtime-background-public/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/runtime-background-public/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Implement JobService/BootReceiver; tasks can persist but are subject to Doze/quota/OEM limits; DirectBoot data needs separate design ``` val info = JobInfo.Builder(42, ComponentName(this, ProbeJobService::class.java)).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build() val result = getSystemService(JobScheduler::class.java).schedule(info) ``` **Expected result**: RESULT_SUCCESS means the job entered system scheduling, not that it runs immediately **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/runtime-background-public/#limitations) - Ordinary background execution does not guarantee constant operation or exact timing; background FGS launches have constraints. - A running broker and restart persistence of light-app JSON do not establish automatic recovery of all tasks. ## [Validation records](https://docs.taku.ai/os/reference/generated/runtime-background-public/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/runtime-background-public/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/runtime-background-public/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/runtime-background-public/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `runtime.background-public` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/runtime-background-public/#upstream-references) - [android.app.job.JobScheduler](https://developer.android.com/reference/android/app/job/JobScheduler) — audit: `official_reference` - [Foreground service restrictions on background starts](https://developer.android.com/develop/background-work/services/fgs/restrictions-bg-start) — audit: `web_content_reviewed` - [AOSP file-based encryption](https://source.android.com/docs/security/features/encryption/file-based) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/runtime-background-public/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/runtime-background-public/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Power, WakeLock, and task scheduling · runtime.power Background synchronization or keeping computation active briefly > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/runtime-power/#purpose-and-status) Background synchronization or keeping computation active briefly **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/runtime-power/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/runtime-power/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | WAKE_LOCK normal; ignoring battery optimizations is special access authorized separately | Set a timeout and release; long-term power use must be tested on a physical device; do not rely only on an unlimited wakelock to stay alive | ### [Entry points](https://docs.taku.ai/os/reference/generated/runtime-power/#entry-points) | Entry point | Availability | | --- | --- | | PowerManager.newWakeLock | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/runtime-power/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/runtime-power/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Set a timeout and release; long-term power use must be tested on a physical device; do not rely only on an unlimited wakelock to stay alive ``` val lock = getSystemService(PowerManager::class.java).newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Taku:probe") lock.acquire(5000) lock.release() ``` **Expected result**: Short WakeLock with a timeout; does not mean network/foreground service use is unconstrained **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/runtime-power/#limitations) - Battery use, temperature rise, and OEM policies are untested; an emulator cannot establish all-day standby. - Holding a lock does not grant access to any app’s content. ## [Validation records](https://docs.taku.ai/os/reference/generated/runtime-power/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/runtime-power/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/runtime-power/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/runtime-power/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `runtime.power` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/runtime-power/#upstream-references) - [android.os.PowerManager](https://developer.android.com/reference/android/os/PowerManager) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/runtime-power/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/runtime-power/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Query main/background displays through the open SDK · displays.status Let external developers discover actual logical display IDs and whether the background display is active > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/displays-status/#purpose-and-status) Let external developers discover actual logical display IDs and whether the background display is active **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). The end-to-end SDK read displayIds [0,11] and background display 11 active in this run. This ID must not be hardcoded. ## [Before calling](https://docs.taku.ai/os/reference/generated/displays-status/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/displays-status/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Authorized ADB; root experimental phone-display state file | SDK adb transport reads only the display service and existing host state, with an AVD/serial allowlist | ### [Entry points](https://docs.taku.ai/os/reference/generated/displays-status/#entry-points) | Entry point | Availability | | --- | --- | | Taku SDK displays.status | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/displays-status/#call-examples) ### [host_shell](https://docs.taku.ai/os/reference/generated/displays-status/#host_shell) **Environment**: Computer terminal; specify emulator-5582 explicitly **Prerequisites**: SDK adb transport reads only the display service and existing host state, with an AVD/serial allowlist ``` node sdk/cli/taku.mjs call displays.status --transport adb --serial emulator-5582 ``` **Expected result**: Returns actual displayIds and background.active; IDs are assigned by the system **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/displays-status/#limitations) - The query does not create displays, capture frames, inject input, or expose arbitrary shell. - The current SDK device-report example was tested only on the API 36 emulator. ## [Validation records](https://docs.taku.ai/os/reference/generated/displays-status/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/displays-status/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/displays-status/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | The end-to-end SDK read displayIds [0,11] and background display 11 active in this run. This ID must not be hardcoded. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/displays-status/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `displays.status` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/displays-status/#upstream-references) - [Android 16 DisplayManagerService](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android16-release/services/core/java/com/android/server/display/DisplayManagerService.java) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/displays-status/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/displays-status/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Query existing task status through the open SDK · tasks.status Let third-party extensions display live status without creating another task system > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/tasks-status/#purpose-and-status) Let third-party extensions display live status without creating another task system **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). In this run device-report read five existing id/state records; includesPrompts=false and includesResults=false. ## [Before calling](https://docs.taku.ai/os/reference/generated/tasks-status/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/tasks-status/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Current ADB/root reads only existing task service data; the new transport is not implemented yet | Explicit target serial query; returns only id/state and does not read prompt/results, authentication, or personal information | ### [Entry points](https://docs.taku.ai/os/reference/generated/tasks-status/#entry-points) | Entry point | Availability | | --- | --- | | Taku SDK tasks.status | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/tasks-status/#call-examples) ### [host_shell](https://docs.taku.ai/os/reference/generated/tasks-status/#host_shell) **Environment**: Computer terminal; specify emulator-5582 explicitly **Prerequisites**: Explicit target serial query; returns only id/state and does not read prompt/results, authentication, or personal information ``` node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` **Expected result**: Returns id/state and source for existing task service tasks; errors must be structured **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/tasks-status/#limitations) - The five completed historical IDs read in this run do not establish new task execution. - There is currently no general SDK for event subscription or task submit/cancel/handover. ## [Validation records](https://docs.taku.ai/os/reference/generated/tasks-status/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/tasks-status/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/tasks-status/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | In this run device-report read five existing id/state records; includesPrompts=false and includesResults=false. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/tasks-status/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `tasks.status` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/tasks-status/#upstream-references) - [AOSP SELinux](https://source.android.com/docs/security/features/selinux) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/tasks-status/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/tasks-status/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Generate, preview, and export standalone APKs on the phone · apps.generate Let Codex write arbitrary app core code and quickly turn it into a new tool > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/apps-generate/#purpose-and-status) Let Codex write arbitrary app core code and quickly turn it into a new tool **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historically, two apps were generated/previewed on the device and a game launched as a standalone APK. In this run, both APK signatures and installed hashes matched. ## [Before calling](https://docs.taku.ai/os/reference/generated/apps-generate/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 30 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 30 | | declaredVersionNotes | Export wrapper minSdk30/target35; preview host minSdk26, but the full toolchain has been tested only on API36 ARM64. | | 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/apps-generate/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Current root build/install scripts; regular web pages do not gain root themselves; depends on the preinstalled toolchain | The phone has React, esbuild, aapt, a dex wrapper, and signing test tools; App.jsx/api.mjs are free-form code; code generation requires users to sign in to an Agent themselves | ### [Entry points](https://docs.taku.ai/os/reference/generated/apps-generate/#entry-points) | Entry point | Availability | | --- | --- | | generate.sh / build.sh / package-app.sh | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/apps-generate/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/apps-generate/#device_shell) **Environment**: Phone root shell **Prerequisites**: The phone has React, esbuild, aapt, a dex wrapper, and signing test tools; App.jsx/api.mjs are free-form code; code generation requires users to sign in to an Agent themselves ``` cd /data/local/agentos/light-app-lab/free-app-kit # apps/myapp needs main.jsx/ui.jsx and a real App.jsx; with an API it also needs api.mjs /system/bin/sh build.sh myapp --no-open /system/bin/sh package-app.sh myapp org.agentos.myapp MyApp ``` **Expected result**: The generated app.apk passes signing, pm installs it, and a real Activity launches; preview cannot replace standalone APK verification **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/apps-generate/#limitations) - The first host/DEX shell was precompiled on a computer; subsequent core source writing and JSX/APK packaging happen on the phone. - Owned app source and toolchain/runtime initialization are still required; shell packaging alone does not support arbitrary native SDK features. - Values such as 760 ms are single packaging measurements, excluding AI generation, installation, and the first frame; they are not performance guarantees. ## [Validation records](https://docs.taku.ai/os/reference/generated/apps-generate/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/apps-generate/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/apps-generate/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historically, two apps were generated/previewed on the device and a game launched as a standalone APK. In this run, both APK signatures and installed hash values matched. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/apps-generate/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `apps.generate` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/apps-generate/#upstream-references) - [PackageInstaller SessionParams](https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/apps-generate/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/apps-generate/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Install, update, and remove standalone APKs · apps.install Make an on-device generated app a real package in the launcher > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/apps-install/#purpose-and-status) Make an on-device generated app a real package in the launcher **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). In this run apksigner verified two historical APKs, and their hashes matched the installed base.apk files; there was no reinstallation. ## [Before calling](https://docs.taku.ai/os/reference/generated/apps-install/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 21 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 21 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/apps-install/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | ADB shell / INSTALL_PACKAGES; regular apps need REQUEST_INSTALL_PACKAGES + user consent | shell pm install; regular installers need unknown-sources authorization and a user action; updates need a matching signature | ### [Entry points](https://docs.taku.ai/os/reference/generated/apps-install/#entry-points) | Entry point | Availability | | --- | --- | | pm install / PackageInstaller Session | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/apps-install/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/apps-install/#device_shell) **Environment**: Phone root shell **Prerequisites**: shell pm install; regular installers need unknown-sources authorization and a user action; updates need a matching signature ``` pm install -r /data/local/tmp/test-generated.apk pm path org.agentos.apiboard ``` **Expected result**: Success and returns base.apk; signature/version/launch must still be verified separately **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/apps-install/#limitations) - The example path requires an actual test APK supplied first; it does not automatically download or build one. - Version downgrades and updates with a different signing key cannot be assumed to work; mismatched platform signing fails. Installation is not business compatibility. ## [Validation records](https://docs.taku.ai/os/reference/generated/apps-install/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/apps-install/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/apps-install/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | In this run apksigner verified two historical APKs, and their hashes matched the installed base.apk files; there was no reinstallation. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/apps-install/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `apps.install` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/apps-install/#upstream-references) - [android.content.pm.PackageInstaller](https://developer.android.com/reference/android/content/pm/PackageInstaller) — audit: `official_reference` - [PackageInstaller SessionParams](https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/apps-install/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/apps-install/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Expose generated-app business functions / external calls · apps.business-api Let agents call functions and state directly, with UI synchronization after external calls > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/apps-business-api/#purpose-and-status) Let agents call functions and state directly, with UI synchronization after external calls **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Historical HTTP parameter/error/idempotency, API-to-UI, and standalone-board-tap-to-API readback checks passed. No business-state call was made in this run. ## [Before calling](https://docs.taku.ai/os/reference/generated/apps-business-api/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/apps-business-api/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Experimental root Node service; INTERNET is used for loopback; the app’s own logical permissions | api.mjs implements arbitrary methods+params/result schema; service at 127.0.0.1:8765, with state shared by UI and CLI; start the service first | ### [Entry points](https://docs.taku.ai/os/reference/generated/apps-business-api/#entry-points) | Entry point | Availability | | --- | --- | | mini-app / loopback HTTP / OpenAPI | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/apps-business-api/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/apps-business-api/#device_shell) **Environment**: Phone root shell **Prerequisites**: api.mjs implements arbitrary methods+params/result schema; service at 127.0.0.1:8765, with state shared by UI and CLI; start the service first ``` /data/local/agentos/light-app-lab/free-app-kit/mini-app describe converter /data/local/agentos/light-app-lab/free-app-kit/mini-app call converter length.convert '{"value":100,"from":"cm","to":"m"}' ``` **Expected result**: ok=true, value=1 m; invalid params/method return structured errors; do not treat HTTP200 as success **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/apps-business-api/#limitations) - This is an app business-API experiment, not all low-level Android APIs. - The service has no independent boot autostart, runs only on loopback for development, and is not publicly deployed; interface scoping still needs productization. ## [Validation records](https://docs.taku.ai/os/reference/generated/apps-business-api/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/apps-business-api/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/apps-business-api/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Historical HTTP parameter/error/idempotency, API→UI, and standalone-board-tap→API readback checks passed. No business-state call was made in this run. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/apps-business-api/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `apps.business-api` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/apps-business-api/#upstream-references) - [Android Manifest permission reference](https://developer.android.com/reference/android/Manifest.permission) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/apps-business-api/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/apps-business-api/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # On-device Codex CLI and low-level shell · agent.cli Execute code, generate apps, and call open capabilities on the device > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/agent-cli/#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](https://docs.taku.ai/os/reference/generated/agent-cli/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 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](https://docs.taku.ai/os/reference/generated/agent-cli/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Current root CLI; sign in to the Agent account yourself; SELinux remains Enforcing | 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 | ### [Entry points](https://docs.taku.ai/os/reference/generated/agent-cli/#entry-points) | Entry point | Availability | | --- | --- | | /system_ext/bin/codex exec / Android shell | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/agent-cli/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/agent-cli/#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." Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/system-info/#purpose-and-status) Help agents choose compatible commands and assess UID, ABI, SELinux, and system-service prerequisites **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Read-only system-environment readback in this run; the core device-report SDK also read back equivalent fields. No system write calls were tested. ## [Before calling](https://docs.taku.ai/os/reference/generated/system-info/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/system-info/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | None | Regular apps can read Build; id/getprop/getenforce examples need authorized shell; Taku SDK adb transport needs ADB | ### [Entry points](https://docs.taku.ai/os/reference/generated/system-info/#entry-points) | Entry point | Availability | | --- | --- | | Build.VERSION / getprop / Taku SDK system.info | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/system-info/#call-examples) ### [host_shell](https://docs.taku.ai/os/reference/generated/system-info/#host_shell) **Environment**: Computer terminal; specify emulator-5582 explicitly **Prerequisites**: Regular apps can read Build; id/getprop/getenforce examples need authorized shell; Taku SDK adb transport needs ADB ``` node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 ``` **Expected result**: Returns the platform version; the direct probe read API36, Android16, arm64-v8a, uid0, Enforcing **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/system-info/#limitations) - Root and platform signing are different qualifications; UID 0 does not establish access to all data. - The SDK is a read-only wrapper; this does not establish that the entire OS API is open. ## [Validation records](https://docs.taku.ai/os/reference/generated/system-info/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/system-info/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/system-info/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Read-only system-environment readback in this run; the core device-report SDK also read back equivalent fields. No system write calls were tested. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/system-info/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `system.info` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/system-info/#upstream-references) - [android.os.Build](https://developer.android.com/reference/android/os/Build) — audit: `official_reference` - [AOSP SELinux](https://source.android.com/docs/security/features/selinux) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/system-info/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/system-info/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Memory and disk overview · system.resources Assess whether there are enough resources to build APKs, run models, or save frames > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/system-resources/#purpose-and-status) Assess whether there are enough resources to build APKs, run models, or save frames **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Read /proc/meminfo and df /data in this run; low-memory process-killing policies were not tested. ## [Before calling](https://docs.taku.ai/os/reference/generated/system-resources/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 1 | | minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) | | publicSdkClass | true | | exampleApiMin | 1 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/system-resources/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | None | Regular apps use ActivityManager.MemoryInfo / StatFs; the example uses authorized shell | ### [Entry points](https://docs.taku.ai/os/reference/generated/system-resources/#entry-points) | Entry point | Availability | | --- | --- | | ActivityManager.getMemoryInfo / StatFs / df | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/system-resources/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/system-resources/#device_shell) **Environment**: Phone root shell **Prerequisites**: Regular apps use ActivityManager.MemoryInfo / StatFs; the example uses authorized shell ``` cat /proc/meminfo df -h /data ``` **Expected result**: Returns MemTotal/MemAvailable and data partition capacity; this run’s probe is saved **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/system-resources/#limitations) - Available storage does not grant access to other apps’ private directories; emulator memory differs from host RAM. ## [Validation records](https://docs.taku.ai/os/reference/generated/system-resources/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/system-resources/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/system-resources/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Read /proc/meminfo and df /data in this run; low-memory process-killing policies were not tested. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/system-resources/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `system.resources` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/system-resources/#upstream-references) - [android.app.ActivityManager](https://developer.android.com/reference/android/app/ActivityManager) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/system-resources/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/system-resources/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # System diagnostics and performance tracing · diagnostics.system Investigate execution failures, app video abnormalities, and system state > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/diagnostics-system/#purpose-and-status) Investigate execution failures, app video abnormalities, and system state **Inventory status as of 2026-10-10: Verified within the recorded emulator scope** (`emulator_verified`). Package/service diagnostics were read back in this run. Perfetto was not run, and the Douyin root cause is still unknown. ## [Before calling](https://docs.taku.ai/os/reference/generated/diagnostics-system/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 36 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | false | | exampleApiMin | 36 | | declaredVersionNotes | API 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-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | **ROM requirement**: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/diagnostics-system/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | shell DUMP / log access; an app’s own logs are available normally | Developer-authorized ADB; limit to the target service and test logs; do not bulk-read personal content | ### [Entry points](https://docs.taku.ai/os/reference/generated/diagnostics-system/#entry-points) | Entry point | Availability | | --- | --- | | dumpsys / getprop / Perfetto | Existing experimental entry point | ## [Call examples](https://docs.taku.ai/os/reference/generated/diagnostics-system/#call-examples) ### [device_shell](https://docs.taku.ai/os/reference/generated/diagnostics-system/#device_shell) **Environment**: Phone root shell **Prerequisites**: Developer-authorized ADB; limit to the target service and test logs; do not bulk-read personal content ``` dumpsys package org.agentos.apiboard getprop init.svc.agentos_codex ``` **Expected result**: Reads back the target package and the task service; Perfetto needs a separate trace configuration **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/diagnostics-system/#limitations) - Logs may contain user content and must be scoped to a scenario; they are not an all-day information archive. - The standard HEVC path passed, while Douyin rendering remains unresolved; do not conclude that the general codec is broken. ## [Validation records](https://docs.taku.ai/os/reference/generated/diagnostics-system/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/diagnostics-system/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/diagnostics-system/#emulator) | Field | Source value | | --- | --- | | status | passed_in_scope | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Package/service diagnostics were read back in this run. Perfetto was not run, and the Douyin root cause is still unknown. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/diagnostics-system/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `diagnostics.system` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/diagnostics-system/#upstream-references) - [Perfetto official documentation](https://perfetto.dev/docs/quickstart/android-tracing) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/diagnostics-system/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/diagnostics-system/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: system CPU/GPU/thermal management · runtime.performance Allocate resources among local inference, interaction, and screen recording > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/runtime-performance/#purpose-and-status) Allocate resources among local inference, interaction, and screen recording **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/runtime-performance/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/runtime-performance/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | task profiles / cgroup / Power & Thermal HAL | Lock device HAL capabilities and kernel interfaces; optimization is possible only within thermal protection limits | ### [Entry points](https://docs.taku.ai/os/reference/generated/runtime-performance/#entry-points) | Entry point | Availability | | --- | --- | | task_profiles / Power HAL / Thermal HAL | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/runtime-performance/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/runtime-performance/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Lock device HAL capabilities and kernel interfaces; optimization is possible only within thermal protection limits ``` rg --threads 2 "SetTaskProfiles|Thermal" system/core -g "*.cpp" -g "*.json" ``` **Expected result**: Locate the system scheduling interface; not an existing runtime tuning capability **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/runtime-performance/#limitations) - Disabling thermal protection is not sustainable optimization; permissions do not substitute for closed-source vendor capabilities. - There are no physical-device conclusions about performance, power use, or temperature rise. ## [Validation records](https://docs.taku.ai/os/reference/generated/runtime-performance/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/runtime-performance/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/runtime-performance/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/runtime-performance/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `runtime.performance` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/runtime-performance/#upstream-references) - [AOSP Thermal HAL](https://source.android.com/docs/core/power/thermal-mitigation) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/runtime-performance/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/runtime-performance/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: cross-device agent collaboration · runtime.cross-device Continuous work across computer and phone, and remote developer calls > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#purpose-and-status) Continuous work across computer and phone, and remote developer calls **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | 23 | | minimumBasis | Key methods used by the example / this project’s target version | | publicSdkClass | true | | exampleApiMin | 23 | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | INTERNET; custom identity/authorization/sync protocol | Usable for network communication; remote app interfaces need authentication/reconnection/conflict design; do not use the localhost development API as a public interface | ### [Entry points](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#entry-points) | Entry point | Availability | | --- | --- | | Custom protocol / HTTP / event stream | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#call-examples) ### [android_api_snippet](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#android_api_snippet) **Environment**: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI **Prerequisites**: Usable for network communication; remote app interfaces need authentication/reconnection/conflict design; do not use the localhost development API as a public interface ``` // Transport probe only, not a sync/authorization protocol val connected = getSystemService(ConnectivityManager::class.java).activeNetwork != null ``` **Expected result**: Reads back whether there is an active network; cross-device tasks still need a protocol implementation **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#limitations) - There is no one-click maximum Android privilege; account isolation and protocol conflicts still need implementation. - The project’s experimental 127.0.0.1 API does not establish an open remote OS developer API. ## [Validation records](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `runtime.cross-device` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#upstream-references) - [android.net.ConnectivityManager](https://developer.android.com/reference/android/net/ConnectivityManager) — audit: `official_reference` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/runtime-cross-device/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/runtime-cross-device/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Research: ROM builds, OTA, and recovery · release.ota Let users flash images and upgrade reliably > Taku OS research preview. Availability varies by device and version; see current progress. ## [Purpose and status](https://docs.taku.ai/os/reference/generated/release-ota/#purpose-and-status) Let users flash images and upgrade reliably **Inventory status as of 2026-10-10: Research record; no runtime pass recorded here** (`research`). Not tested. The example is a research entry point, not an installed Taku API. ## [Before calling](https://docs.taku.ai/os/reference/generated/release-ota/#before-calling) Source descriptions below retain their original language; identifiers and commands are unchanged. | Field | Source value | | --- | --- | | apiMin | — | | minimumBasis | Non-public SDK / custom or device interface; no general minimum API claim | | publicSdkClass | false | | exampleApiMin | — | | declaredVersionNotes | API 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-10 | [] | **ROM requirement**: The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification ### [Permissions and authorization](https://docs.taku.ai/os/reference/generated/release-ota/#permissions-and-authorization) | Permission or qualification | Authorization condition | | --- | --- | | Device signing / AVB / bootloader / update_engine / recovery | Choose an unlockable device model and device/vendor tree, and set up repeatable build, signing, upgrade, and rollback experiments; do not distribute userdata login state | ### [Entry points](https://docs.taku.ai/os/reference/generated/release-ota/#entry-points) | Entry point | Availability | | --- | --- | | AOSP build / update_engine / AVB | Upstream API / research implementation entry point; not an available Taku SDK method | ## [Call examples](https://docs.taku.ai/os/reference/generated/release-ota/#call-examples) ### [source_inspection](https://docs.taku.ai/os/reference/generated/release-ota/#source_inspection) **Environment**: Read-only lookup command for an AOSP source checkout; does not mean the feature is implemented **Prerequisites**: Choose an unlockable device model and device/vendor tree, and set up repeatable build, signing, upgrade, and rollback experiments; do not distribute userdata login state ``` rg --threads 2 "PRODUCT_PACKAGES|PRODUCT_COPY_FILES" device -g "*.mk" ``` **Expected result**: Inspect packaging configuration in the locked device source; this cannot support a claim that ROM releases are available **Executed in the source record’s run**: Not executed in that run; see the validation scope below. ## [Limitations](https://docs.taku.ai/os/reference/generated/release-ota/#limitations) - The latest assistant/host/light-app changes have not been re-exported into a complete ROM; there are zero physical-device validations. - Whether self-signing permits bootloader relocking must be checked per model; system rollback and data rollback are different. ## [Validation records](https://docs.taku.ai/os/reference/generated/release-ota/#validation-records) ### [Research](https://docs.taku.ai/os/reference/generated/release-ota/#research) | Field | Source value | | --- | --- | | status | documented | | scope | Upstream mechanism and research variants; see limitations for unimplemented parts | ### [Emulator](https://docs.taku.ai/os/reference/generated/release-ota/#emulator) | Field | Source value | | --- | --- | | status | not_verified | | target | AgentOS_ImageCheck / API36 / ARM64 | | scope | Not tested. The example is a research entry point, not an installed Taku API. | | date | 2026-10-10 | ### [Physical device](https://docs.taku.ai/os/reference/generated/release-ota/#physical-device) | Field | Source value | | --- | --- | | status | not_verified | | date | — | | devices | [] | Not yet verified on a physical device as of 2026-10-10. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later status. Look up `release.ota` in [capabilities.en.json](https://docs.taku.ai/generated/capabilities.en.json) for the complete record. See [current progress](https://docs.taku.ai/os/releases/current-progress/) for later project evidence. ## [Upstream references](https://docs.taku.ai/os/reference/generated/release-ota/#upstream-references) - [AOSP OTA](https://source.android.com/docs/core/ota) — audit: `web_content_reviewed` - [AOSP file-based encryption](https://source.android.com/docs/security/features/encryption/file-based) — audit: `web_content_reviewed` [Chinese version](https://docs.taku.ai/zh/os/reference/generated/release-ota/). ## [Version and sources](https://docs.taku.ai/os/reference/generated/release-ota/#version-and-sources) Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see [Current progress](https://docs.taku.ai/os/releases/current-progress/) for later device support. Detailed source prose can remain in its original language. --- # Available features See where each feature can be used today and whether it was tested on a physical device or an emulator. > Taku OS research preview. Availability varies by device and version; see current progress. Taku OS 1.4.0 (`v1.4.0-20261118070714`) is an open-source research preview ([Taku-OS/taku-os](https://github.com/Taku-OS/taku-os), `Apache-2.0` for original Taku source; bundled third-party components retain their own licenses). [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) and each page in [Supported devices](https://docs.taku.ai/os/install/devices/) provide the full OTA, matching recovery files, SHA-256 checksums, and installation/update steps for build `20261118070714`; the current device is Pixel 9 (`tokay`) (keep the bootloader unlocked — never run `fastboot flashing lock`), and [GitHub Releases](https://github.com/Taku-OS/taku-os/releases/latest) provides the published ARM64 emulator archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)). Per-build verification status for native updates and fresh installations is on each device page and in its metadata, such as [`tokay-20261118070714.json`](https://docs.taku.ai/downloads/tokay-20261118070714.json). ## [What you can try](https://docs.taku.ai/os/releases/current-progress/#what-you-can-try) Physical-device results come from Pixel 9, the only device with a published image. Other phones are untested. | Feature | Where | Tested | | --- | --- | --- | | Phone assistant | Home and the assistant conversation | Physical device: real models, device tools and selected recovery scenarios. Start with [Your first task](https://docs.taku.ai/os/agents/tasks-sessions/) | | System AI and keyboard replies | Android Settings → Taku AI; Taku Keyboard | Physical device: real text and image models, Chinese input, inserting and cancelling a reply, and no suggestions in secure windows or password fields. You decide whether to send the inserted text | | Saved information | Taku Memory | Captures page text and notifications from chosen apps for search, editing and deletion; organizes them nightly into a board and a user card that the assistant uses for each task. See [Taku Memory](https://docs.taku.ai/os/guides/memory/) | | Proactive reminders | Taku Memory → Settings → Organizing and assistant | Optional, off by default: Speak up first gives bedtime briefs and message reminders that can be handed to the Agent as read-only tasks; with a Taku home that has the card feed, they can also appear on the home feed | | Assistant access to Memory | Agent memory access | Read-only tools `memory_search` and `memory_get`; after a deletion or edit, ongoing conversations get a note that earlier memory may be void | | Screen hints from the original image | The assistant's explicit screen request | Physical device: producing a hint by hand and handing it to the assistant once accepted. Continuous automatic triggering is not yet tested | | Background workspaces | Settings → Taku AI; assistant settings | Emulator: list, details, live view, pause, takeover tap and return. Physical device: the same for idle tasks, with a read-only view. See [scope and usage](https://docs.taku.ai/os/tools/background-workspaces/) | | Graphical task view | Assistant preview UI | Developer preview. Plan and node views work, and the top-icon navigation is still changing. The current system image has no entry point for it | For a first development exercise, build a [device-summary tool](https://docs.taku.ai/os/guides/extensions/). ## [Limits to know about](https://docs.taku.ai/os/releases/current-progress/#limits-to-know-about) - **Workspaces after a reboot.** Existing workspaces are kept but must be rebound, and their tasks do not restart on their own. - **Ready is about the workspace.** A workspace marked Ready may still hold an app that is not signed in. - **Not yet tested.** Cancelling during a live Agent turn, and cross-app scenarios beyond the ones above. ## [Research-stage capabilities](https://docs.taku.ai/os/releases/current-progress/#research-stage-capabilities) Entries marked research in the [capability inventory](https://docs.taku.ai/os/capabilities/status/) describe an interface and an implementation direction, and cannot be called yet. The inventory keeps each entry's state from the date it was recorded, so the table above is newer where they differ. [Design cases](https://docs.taku.ai/os/capabilities/cases/) describe intended flows, not shipped features. ## [Continue reading](https://docs.taku.ai/os/releases/current-progress/#continue-reading) [Capability status](https://docs.taku.ai/os/capabilities/status/) lets you check capabilities one by one, and [Environment checks](https://docs.taku.ai/os/guides/environment/) show what is installed on a phone. --- # Help center Choose a diagnostic path for your problem. > Taku OS research preview. Availability varies by device and version; see current progress. Start with the symptom you can observe, then collect the version and minimum reproduction needed to investigate it. ## [Choose your problem](https://docs.taku.ai/os/help/overview/#choose-your-problem) ### [Get the system source](https://docs.taku.ai/os/contributing/overview/#source-access) Cloning the system repository fails; check your network and Git. ### [ADB connection](https://docs.taku.ai/os/help/connection/) Offline, unauthorized or the wrong target device. ### [Model and tasks](https://docs.taku.ai/os/help/runtime/) Program availability, authentication, task state and model output. ### [Apps and displays](https://docs.taku.ai/os/help/apps/) Background display, video, APK generation or business API failure. ### [Protocol and errors](https://docs.taku.ai/os/reference/protocol/) Check parameters and response structure. ### [Operations and recovery](https://docs.taku.ai/os/operations/runbook/) Inspect the current state before changing services. For a specific error code, use the [error index](https://docs.taku.ai/os/reference/errors/). ## [Common starting point](https://docs.taku.ai/os/help/overview/#common-starting-point) Requires the system source The SDK command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run in the system repository: ``` git rev-parse HEAD node sdk/cli/taku.mjs call methods.list adb devices ``` **Result**: The version, implemented methods, and current connection state. A successful offline registry call does not prove that the device, model, or App workflow works. ## [Prepare feedback](https://docs.taku.ai/os/help/overview/#prepare-feedback) Include the entry point, environment, actual input, exit code/error, and necessary screenshots. Do not report only “it failed”, or attach complete task, authentication, or raw chat directories. This page's [Feedback](https://docs.taku.ai/os/help/overview/#feedback-correction) can actually submit a report; success means receipt only. **Next**: Choose the relevant topic. The [General troubleshooting table](https://docs.taku.ai/os/help/troubleshooting/) remains available for quick cross-layer lookups. --- # ADB connections, serials, and execution identity Confirm the correct device before diagnosing transport or permission failures. > Taku OS research preview. Availability varies by device and version; see current progress. Use this page when the computer cannot reach your selected Android device. Start with the device shown by adb, then distinguish connection errors from commands refused by the device. ## [Goal and prerequisites](https://docs.taku.ai/os/help/connection/#goal-and-prerequisites) Install platform-tools and use a device running Taku OS. Every write operation must name its target serial explicitly. > **Requires the system source:** The final SDK command runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. ADB is the Android Debug Bridge. Its `serial` identifies one connected device; `emulator-5582` below is an example. Run `adb devices` on the computer first and use your target’s serial for the remaining commands. Run the SDK command from the system repository. ``` adb devices adb -s emulator-5582 shell id adb -s emulator-5582 shell getenforce node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 ``` ## [Interpret the result](https://docs.taku.ai/os/help/connection/#interpret-the-result) - **offline / unauthorized**: Resolve connectivity or normal ADB authorization first. Do not automatically select another device. - **DEVICE_REQUIRED**: No valid serial or transport was supplied. - **TRANSPORT_ERROR**: Program path, connection, ADB authorization, or shell execution failed. It is usually retryable, but locate the cause first. - **PERMISSION_DENIED**: The device is reachable, but the specific method lacks UID, filesystem, or SELinux authorization. A successful system.info call does not prove permission for tasks.status. A stock shell usually differs from experimental Root adbd. Do not fix this by disabling SELinux or blindly restarting unrelated services. **Next**: [Emulator operations](https://docs.taku.ai/os/operations/runbook/) or [Permission layers](https://docs.taku.ai/os/security/permissions/). --- # Troubleshoot models, authentication, and tasks Distinguish program availability, account access, model responses, and tool results. > Taku OS research preview. Availability varies by device and version; see current progress. For first-time setup, start with the [on-device Magpie + Codex + DeepSeek tutorial](https://docs.taku.ai/os/models/magpie-deepseek/). Magpie is a third-party open-source model gateway (MIT, by yetone, [usemagpie.ai](https://usemagpie.ai/)). Taku OS ships it on the phone, where it forwards Codex requests to the model service. A gateway on the phone does not mean the model runs locally. If a connection fails, inspect runtime versions and task state, then distinguish missing components, model-connection failure, and unsuccessful tool actions. ## [Check the program and environment first](https://docs.taku.ai/os/help/runtime/#check-the-program-and-environment-first) > **Requires the system source:** The SDK commands below run from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run these commands on the computer, with SDK calls made from the system repository. Replace the sample serial with your authorized device; a fresh or stock image may not contain the runtime. ``` adb -s emulator-5582 shell /system_ext/bin/codex --version node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582 node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582 ``` **Result**: The actual program version, execution identity, and task snapshot. These checks do not automatically verify an account or a new model request. ## [Diagnose by symptom](https://docs.taku.ai/os/help/runtime/#diagnose-by-symptom) | Symptom | Check | | --- | --- | | codex entry point is missing | Whether bootstrap, launcher, and dependencies are integrated | | Program starts but the model does not respond | Network, CA trust, device authentication, and model service | | Home stays running | Whether the system task service, model exit, and result writeback agree | | Model says it finished but the App did not change | Actual tool output, target display/package, and business state | | ChatGPT/Magpie connection switch fails | Check for active/queued tasks; switch when idle, refresh the catalog and verify the phone gateway and selected service | | DeepSeek image rejected | The tested catalog is text-only and rejects images before turn creation; remove attachments or select a model with actual image support | Do not read or copy authentication caches for diagnostics, or turn model failure into a fabricated successful result. Passing historical requests does not establish that a new account or network still works. **Next**: [Task lifecycle](https://docs.taku.ai/os/agents/lifecycle/), [Codex path](https://docs.taku.ai/os/models/codex/), and [Feedback](https://docs.taku.ai/os/help/runtime/#feedback-correction). --- # Troubleshoot Apps, background displays, and generation Use real windows, APKs, APIs, and frames to locate the layer that failed. > Taku OS research preview. Availability varies by device and version; see current progress. Locate the failure in display, installation, build or app-service behavior before changing anything. These checks assume a prepared development device; cloning the source does not provision the phone toolchain. ## [Workspace is Ready but the app needs login](https://docs.taku.ai/os/help/apps/#workspace-is-ready-but-the-app-needs-login) Open details through [Background workspaces](https://docs.taku.ai/os/tools/background-workspaces/), then use the read-only live view if needed. Ready describes management state, not a valid account login or business prerequisites. A Pixel 9 check found a rednote logout notice after another device login reached the limit; that check did not change the account or perform app business actions. Recreating a screen, clearing app data, or replaying actions is not a substitute for checking login. Take control through the management UI before manual input. After returning control, explicitly continue the original task. This check does not establish cancellation during live model execution or a completed cross-app task. ## [Choose the correct command environment](https://docs.taku.ai/os/help/apps/#choose-the-correct-command-environment) Requires the system source The SDK command below runs from the `taku-os` repository root. Clone [taku-os](https://github.com/Taku-OS/taku-os) first. Run these on your **computer in the system repository**, replacing `emulator-5582` with the target serial: ``` node sdk/cli/taku.mjs call displays.status --transport adb --serial emulator-5582 adb -s emulator-5582 shell pm path org.agentos.scenarioscore ``` `org.agentos.scenarioscore` is the historical scoring package. If you just followed [App generation](https://docs.taku.ai/os/tools/app-generation/), query `org.agentos.myscore`; use the actual package for another app. `pm path` returns the installed location and only proves the package exists. In the prepared **device shell**, choose display or experimental app-service checks as needed: ``` phone-display status phone-display capture cd /data/local/agentos/light-app-lab/free-app-kit sh api/service.sh status /data/local/agentos/light-app-lab/free-app-kit/mini-app list ``` The last two service commands apply to the React/WebView experiment. A native Java APK’s ContentProvider does not expose its interface through this Node service. ## [Background app will not open](https://docs.taku.ai/os/help/apps/#background-app-does-not-open) Check whether `displays.status` includes the current logical display, then get its ID with `phone-display id`. If the display is absent, follow the [display tutorial](https://docs.taku.ai/os/tools/background-display/); do not reuse a historical ID. If the display exists but the app does not appear, resolve its actual launcher activity, confirm the package and check whether the app limits multiple displays or uses a single-instance task. See the [integration records](https://docs.taku.ai/os/integrations/overview/) for tested app scopes. ## [Mirror is black or frozen](https://docs.taku.ai/os/help/apps/#mirror-frames-stop) Compare `phone-display capture` with the main-screen viewer. If capture fails, inspect the host first. If capture produces new frames but the viewer does not update, inspect the viewer connection. A black frame alone does not identify a model or GPU failure. Collapsing the viewer does not stop the background app. Preserve the current state before rebuilding a display through the [operations guide](https://docs.taku.ai/os/operations/runbook/). ## [Preview build fails](https://docs.taku.ai/os/help/apps/#preview-build-fails) Identify the generation path first. React/WebView preview needs device Node, esbuild, React dependencies and a host package. Native Java uses separately prepared compilation, resource-packaging and signing tools. Keep the first build error and distinguish a missing command, an unprovisioned dependency and invalid business code. Repeatedly asking the model to edit business code cannot provision a missing toolchain. See [App generation](https://docs.taku.ai/os/tools/app-generation/) for the two paths. ## [APK opens but business behavior fails](https://docs.taku.ai/os/help/apps/#independent-apk-has-no-business-behavior) Confirm the package, launcher and actual UI resources, then the app ID. In the React/WebView example, `appId` differs from the Android package name; `mini-app list` should contain that app. If the package opens but the API cannot connect, inspect `api/service.sh status`, then discover methods and make a read-only call using the [API tutorial](https://docs.taku.ai/os/tools/app-interfaces/). An API-using APK still relies on the device Node service; an independent package does not imply a self-contained backend. ## [Parameters rejected or request key conflicts](https://docs.taku.ai/os/help/apps/#parameters-rejected-or-idempotency-conflict) Use `mini-app describe` to read parameter constraints and check the method and JSON. Completed-call keys support idempotent replay; a different new change needs a new key. A conflict caused by reusing a key for a different request is not an OS permission failure. ## [Douyin video has green or colored artifacts](https://docs.taku.ai/os/help/apps/#douyin-colored-artifacts) The recorded problem occurs on both main and background displays and remains unresolved. Retain the app version and test material, with separate frames from each display. A passing synthetic decode probe does not establish real-video compatibility. See the [Douyin record](https://docs.taku.ai/os/integrations/douyin/). ## [If the cause is still unclear](https://docs.taku.ai/os/help/apps/#if-the-cause-is-still-unclear) Report success, partial success or failure for one identified version, including execution location, package/app ID, the first error and necessary frames. Installation does not establish that the business task works. Do not hide a signing mismatch by uninstalling a user app and clearing its data. Follow the [contribution guide](https://docs.taku.ai/os/contributing/overview/) for a reproducible report. --- # Troubleshooting Find the first failed step, then check its environment and permissions. > Taku OS research preview. Availability varies by device and version; see current progress. Start with your goal and the last successful step. You do not need to inspect every service immediately or restart away the first useful error. | Problem | Next step | | --- | --- | | Unsure where a feature lives or its entry point is missing | Check [Features and versions](https://docs.taku.ai/os/releases/current-progress/); graphical tasks are still in development | | Cannot download the source | [Get the system source](https://docs.taku.ai/os/contributing/overview/#source-access) | | Phone absent, offline or unauthorized | [Device connection](https://docs.taku.ai/os/help/connection/) | | No assistant response, authentication failure or no tool execution | [Models/runtime](https://docs.taku.ai/os/help/runtime/) | | Memory captures nothing or the assistant cannot read it | [Memory switches and access](https://docs.taku.ai/os/extensions/memory-permissions/) and [Use Taku Memory](https://docs.taku.ai/os/guides/memory/#if-you-dont-see-what-you-expect) | | No keyboard reply suggestions | [Keyboard prerequisites](https://docs.taku.ai/os/tools/inputmethod/) | | App launch, background screen or build failure | [Apps and displays](https://docs.taku.ai/os/help/apps/) | ## [Keep useful information](https://docs.taku.ai/os/help/troubleshooting/#keep-useful-information) Record the operation, observed result and first error. Developers can add device/component versions, the command and exit code. Keep screenshots limited to the relevant content; do not submit credentials, private conversation or whole-device data. ## [When to use the runbook](https://docs.taku.ai/os/help/troubleshooting/#when-to-use-the-runbook) Maintainers inspecting services, runtimes and directories can use the [runbook](https://docs.taku.ai/os/operations/runbook/). Other readers should start with the matching symptom above. A healthy check is an endpoint, not a requirement to perform every recovery action. --- # Frequently asked questions Find the right feature and environment before following a tutorial. > Taku OS research preview. Availability varies by device and version; see current progress. ## [What do I need to install first?](https://docs.taku.ai/os/help/faq/#what-do-i-need-to-install-first) To use the phone assistant, check whether your phone is listed in [Supported devices](https://docs.taku.ai/os/install/devices/), then follow [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/): download the image from your device page, verify SHA-256, and choose fresh installation or system update (never run `fastboot flashing lock` on preview builds). Without a supported phone, download the open-source ARM64 emulator archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)) on an Apple Silicon Mac or ARM64 Linux host with KVM; a standard stock Android emulator image does not include Taku OS. To build or run source-based tools, clone the open-source [taku-os](https://github.com/Taku-OS/taku-os) repository. See [Ways to try Taku OS](https://docs.taku.ai/os/install/overview/). ## [Are the assistant, Memory and task graph separate apps?](https://docs.taku.ai/os/help/faq/#are-the-assistant-memory-and-task-graph-separate-apps) The assistant handles conversation and execution. Taku Memory is a separate app for saved information. The graphical workspace is a candidate assistant UI; the current system image has no such entry point, and top-icon navigation is still changing. Use the [available conversation](https://docs.taku.ai/os/agents/tasks-sessions/) rather than search for undelivered buttons. ## [Does Memory automatically save all activity?](https://docs.taku.ai/os/help/faq/#does-memory-automatically-save-all-activity) No. Taku Memory captures only the apps you choose in **Apps to remember**, skips passwords, input fields and the lock screen, and is off by default. Once on, it organizes what it captured into a board and a user card each night. See [Use Taku Memory](https://docs.taku.ai/os/guides/memory/). ## [Why can an app call a model but not read Memory?](https://docs.taku.ai/os/help/faq/#why-can-an-app-call-a-model-but-not-read-memory) Model access and data access are separate grants. Taku Memory's data interface is open only to system components signed with the platform key; ordinary apps cannot read or write it. See [Make your app work with Taku Memory](https://docs.taku.ai/os/extensions/memory/). ## [Does SDK use require a model login?](https://docs.taku.ai/os/help/faq/#does-sdk-use-require-a-model-login) No. Listing methods and building a [device-summary tool](https://docs.taku.ai/os/guides/extensions/) run code directly. A model connection is needed when the assistant interprets a natural-language task and chooses tools. ## [Can I call every inventory entry?](https://docs.taku.ai/os/help/faq/#can-i-call-every-inventory-entry) The inventory includes implemented methods and Android mechanism research. Check each entry point and permission; a mechanism's inclusion does not create a stable SDK method. Use the [reference](https://docs.taku.ai/os/reference/) for parameters. ## [Which version is current, and where do I get it?](https://docs.taku.ai/os/help/faq/#which-version-is-current-and-where-do-i-get-it) These docs describe the Android 17-based **Taku OS 1.4.0** research preview (`v1.4.0-20261118070714`). Images for build `20261118070714` are published for the devices in [Supported devices](https://docs.taku.ai/os/install/devices/), each with downloads, checksums, and installation/update steps on its device page, and [GitHub Releases](https://github.com/Taku-OS/taku-os/releases/latest) also hosts the matching recovery bundle, release manifest, and ARM64 emulator image archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)). See [Versions and releases](https://docs.taku.ai/os/releases/overview/) for what it includes. ## [Can I install this on any phone?](https://docs.taku.ai/os/help/faq/#can-i-install-this-on-any-phone) Taku OS images are published for the devices in [Supported devices](https://docs.taku.ai/os/install/devices/); currently that is Pixel 9 (`tokay`). Preview images are `userdebug` builds signed with public AOSP development keys (`test-keys`) for unlocked bootloaders, so **do not re-lock the bootloader (`fastboot flashing lock`)**. Other phones have no published image, and another device's package must not be installed on them. Bringing Taku OS to a new device means building an image for it; see [Images and device support](https://docs.taku.ai/os/platforms/devices/). ## [Is Taku OS open source?](https://docs.taku.ai/os/help/faq/#is-taku-os-open-source) Yes. [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os) is open source: original Taku source is licensed under [Apache-2.0](https://github.com/Taku-OS/taku-os/blob/main/LICENSE), while bundled third-party components keep their own licenses listed in [NOTICE](https://github.com/Taku-OS/taku-os/blob/main/NOTICE). Community plugins are public in [taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins), and Publisher is public in [taku-publisher](https://github.com/Taku-OS/taku-publisher). The documentation repository (`Taku-OS/taku-os-docs`), server-side services, Taku for Mac, and Marketplace remain private. See [Source and contributing](https://docs.taku.ai/os/contributing/overview/) for cloning and contribution guidelines. --- # Versions and releases The current Taku OS version, what it includes, and how to check what a device runs. > Taku OS research preview. Availability varies by device and version; see current progress. This section describes **Taku OS 1.4.0** (`v1.4.0-20261118070714`), an open-source research preview based on Android 17. Original Taku source in [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os) is licensed under [Apache-2.0](https://github.com/Taku-OS/taku-os/blob/main/LICENSE), while bundled third-party components retain their own licenses ([NOTICE](https://github.com/Taku-OS/taku-os/blob/main/NOTICE)); `Taku-OS/taku-os-docs`, server-side services, Taku for Mac, and Marketplace remain private. [Supported devices](https://docs.taku.ai/os/install/devices/) lists the devices with a published image; each device page provides the full OTA, matching recovery files, and SHA-256 checksums. For build `20261118070714` that is Pixel 9 (`tokay`) (signed with `test-keys` for unlocked bootloaders — never run `fastboot flashing lock`), and [GitHub Releases](https://github.com/Taku-OS/taku-os/releases/latest) also publishes the open-source ARM64 emulator archive ([`TakuOS-emulator-arm64-images.tar.gz`](https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz)). ## [What 1.4.0 includes](https://docs.taku.ai/os/releases/overview/#what-140-includes) - The assistant, including background workspaces and cross-app question cards - Taku Memory, Taku Keyboard, and the shared Taku AI settings and permission center - Google Play services and the Play Store on the phone preview images (install other Google apps from the Play Store) - Published ARM64 emulator system images for Apple Silicon Macs and ARM64 Linux KVM hosts [Available features](https://docs.taku.ai/os/releases/current-progress/) lists what each feature does and where it was tested. [GitHub Releases](https://github.com/Taku-OS/taku-os/releases) is a public download entry point for release manifests, device recovery bundles, and ARM64 emulator archives. Full OTA ZIPs larger than GitHub's 2 GiB asset limit, such as the 2.75 GB Pixel 9 package, are served from Taku's CDN and linked from each release and device page. ## [How versions are named](https://docs.taku.ai/os/releases/overview/#how-versions-are-named) The product is **Taku OS**. Its product version, written `MAJOR.MINOR.PATCH`, says how much changed. A build ID identifies one exact build, and several builds can share a product version. APKs, the SDK and the protocol have their own version numbers. The rules and examples are in [Understand versions](https://docs.taku.ai/os/releases/versioning/). An incremental update applies only to the exact build it was made from, so compare build IDs before installing one. ## [Check what a device runs](https://docs.taku.ai/os/releases/overview/#check-what-a-device-runs) Use [Environment checks](https://docs.taku.ai/os/guides/environment/) to read the system version and installed components from the device. `git rev-parse HEAD` on your computer tells you which source you have checked out, not what the device runs. To maintain a device you already set up, see [Update and recovery](https://docs.taku.ai/os/install/update-recovery/). --- # Understand Taku OS versions Separate product versions, build IDs and channels, and choose the right level for a fix or feature. > Taku OS research preview. Availability varies by device and version; see current progress. A product version describes the scale of a change. A build ID identifies the exact system artifact. The product name stays **Taku OS**; new product versions use **MAJOR.MINOR.PATCH**, such as `1.4.0`. ## [Choose the next version](https://docs.taku.ai/os/releases/versioning/#choose-the-next-version) | Change | Increase | | --- | --- | | Fix existing behavior, security, performance or compatibility while preserving public contracts and adding no new product capability | PATCH | | Add a compatible, usable capability, workflow or extension entry point, or begin deprecating a public capability | MINOR | | Upgrade the Android major platform, break a promised public interface/data-interchange contract, or make an explicitly approved system-generation change | MAJOR | For example, repairing existing keyboard candidates or OTA downloads is PATCH (for example, `1.0.0 → 1.0.1`). Adding a usable Memory workflow is MINOR (`1.0.2 → 1.1.0`). An Android 17-to-18 upgrade or an explicitly approved new system generation is MAJOR (`1.4.3 → 2.0.0`). Choose the highest level when a release contains several kinds of changes. Increasing MAJOR resets the other two numbers; increasing MINOR resets PATCH. Color, spacing or repairs to an existing interface do not by themselves constitute a system-generation change. Documentation, test or CI changes that do not enter a system artifact do not increase the product version. **An Android major-platform upgrade triggering Taku OS MAJOR is this project's policy.** Other platforms have their own numbering rules. Three numbers do not establish a universal SemVer contract. Classify ordinary QPR, kernel and firmware updates by their actual capability and compatibility effects. ## [Keep build IDs and channels separate](https://docs.taku.ai/os/releases/versioning/#keep-build-ids-and-channels-separate) | Field | Meaning | | --- | --- | | Product version | The scale of change for users and developers, in three parts such as `1.4.0` | | Build ID | Which exact build. Fourteen UTC digits: `YYYYMMDDHHMMSS` | | Android / API | Upstream platform compatibility. Taku OS 1.4.0 uses Android 17 / API 37 | | Security patch date | The actual integrated patch baseline. Read the system property; rebuilding does not update it automatically | | Channel | Who receives an update, such as `canary` or `stable` | | Alpha / Beta / RC | Candidate maturity. Record separately from version, channel and release eligibility | Compare integer components: `1.10.0` is greater than `1.9.0`. Neither decimal nor string ordering is valid. Each new component is a nonnegative integer without leading zeroes, except `0` itself. The system writes new versions in strict three-part form, still reads historical two-part versions, and prevents product-version downgrades. Current product fields and feeds do not accept newly improvised `-beta.1` or `+build` strings. Store stage, channel and build identity separately. A future Beta channel needs its own implementation and verification. ## [Candidates can share a version; released artifacts stay immutable](https://docs.taku.ai/os/releases/versioning/#candidates-can-share-a-version-released-artifacts-stay-immutable) An unreleased target version can have several candidates. Corrections, rebuilds and repeated OTA experiments receive new build IDs and archives. After formal release, any change entering the system requires at least PATCH, a new artifact and new validation. Promote a tested candidate using the exact same bytes; changing its channel is not a reason to rebuild or replace the old package. ## [Full packages, incremental packages and component versions](https://docs.taku.ai/os/releases/versioning/#full-packages-incremental-packages-and-component-versions) Full and incremental packages are delivery methods, not version levels. Both can install the same target version. An incremental package must also match the exact source build, device, signatures and boot verification (AVB), partitions and rollback protections. A small experimental delta does not predict future feature-update size. APK `versionName` / `versionCode`, SDK package versions and protocol versions evolve independently. The SDK's `0.1.0` is not the phone's system version. Updated APK content needs a higher component `versionCode`; do not put a fourteen-digit ROM build ID into that integer. A MAJOR release still needs data/configuration preservation; its number does not replace migration, signing or device verification. ## [Specification and sources](https://docs.taku.ai/os/releases/versioning/#specification-and-sources) This page is a reading guide. The authoritative specification is `docs/versioning.md` in the [taku-os](https://github.com/Taku-OS/taku-os) repository. --- # Capability status and evidence Filter canonical records by purpose, entry point, access and research, emulator or physical-device evidence. > Taku OS research preview. Availability varies by device and version; see current progress. Find a capability’s purpose, callable entry point and permission requirements here. Research records and tested operations have different scopes; use the entry’s date and environment when deciding whether to try it. ## [Read the validation scope first](https://docs.taku.ai/os/capabilities/status/#read-the-validation-scope-first) | Status | What it establishes | | --- | --- | | Research | An interface mechanism, permission model or implementation direction is documented; this is not successful execution evidence. | | Emulator verified | The stated environment and operations have emulator evidence. It does not establish all-app or physical-device compatibility. | | Physical-device verified | The stated device, version and scenario have device evidence. It does not extend to other devices or a complete ROM. | A dated inventory, not the project's total test count The inventory keeps each entry's state as recorded. Later Pixel 9 results are not backfilled. Physical-device system boot, AI, keyboard and Memory checks are outside this inventory's counts. System updates, full regression and a general extension marketplace are assessed separately. See [Available features](https://docs.taku.ai/os/releases/current-progress/). ## [Query the canonical inventory](https://docs.taku.ai/os/capabilities/status/#query-the-canonical-inventory) Filter by purpose, status or access, then open the generated reference for examples and evidence. An SDK (programmatic interface library) label identifies a registered implementation. Android API mechanisms in the inventory are not all implemented SDK methods. | Pinned inventory | Record count | | --- | --- | | Capability records | 57 | | Verified within emulator scope | 20 | | Research records | 37 | | Physical-device verification | 0 | This catalog includes research and tests; it is not a list of fully implemented SDK methods. Status applies only to the scope stated in each row. SDK labels come from the same source method registry. | Capability and purpose | Status / entry point | Permissions and authorization | Android / devices | | --- | --- | --- | --- | | [System version and execution identity](https://docs.taku.ai/os/reference/generated/system-info/)`system.info` Help agents choose compatible commands and assess UID, ABI, SELinux, and system-service prerequisites View limitations and verified scope **Verification scope**:Read-only system-environment readback in this run; the core device-report SDK also read back equivalent fields. No system write calls were tested. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Root and platform signing are different qualifications; UID 0 does not establish access to all data. - The SDK is a read-only wrapper; this does not establish that the entire OS API is open. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/system-info/) | Emulator verifiedSDK implemented **Build.VERSION / getprop / Taku SDK system.info**Existing experimental entry point | **App permission** **None**Regular apps can read Build; id/getprop/getenforce examples need authorized shell; Taku SDK adb transport needs ADB | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Memory and disk overview](https://docs.taku.ai/os/reference/generated/system-resources/)`system.resources` Assess whether there are enough resources to build APKs, run models, or save frames View limitations and verified scope **Verification scope**:Read /proc/meminfo and df /data in this run; low-memory process-killing policies were not tested. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Available storage does not grant access to other apps’ private directories; emulator memory differs from host RAM. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/system-resources/) | Emulator verified **ActivityManager.getMemoryInfo / StatFs / df**Existing experimental entry point | **App permission** **None**Regular apps use ActivityManager.MemoryInfo / StatFs; the example uses authorized shell | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Package names, versions, and install locations](https://docs.taku.ai/os/reference/generated/packages-metadata/)`packages.metadata` Determine whether traditional and generated apps are actually installed, with matching ABI and versions View limitations and verified scope **Verification scope**:Current package versions: WeChat 8.0.79, Xiaohongshu 9.49.1, Douyin 40.7.0. The hashes of two standalone APKs match their installed files. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - This run read only seven specified relevant packages, without scanning all user apps. - Installation of the three apps does not establish compatibility for post-login messages, payments, or livestreaming. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/packages-metadata/) | Emulator verified **pm path / dumpsys package**Existing experimental entry point | **ADB / Shizuku** **ADB shell; regular apps are subject to package visibility**Authorized ADB; regular apps need queries or a valid visibility scope; Shizuku authorization does not raise the shell ceiling | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Post the app’s own system notifications](https://docs.taku.ai/os/reference/generated/notifications-post/)`notifications.post` Keep task completion, app-generation progress, and actual statistics visible outside the app View limitations and verified scope **Verification scope**:Historical converter-notification UI and system notification records passed; no notification was sent again in this run. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Authorization differs before and after API 33; disabled apps or notification channels can prevent notifications. - Successful notification posting does not mean another app’s message was replied to. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/notifications-post/) | Emulator verified **NotificationManager.notify / mini-app tasks.notify**Existing experimental entry point | **App permission** **POST_NOTIFICATIONS(API33+);NotificationChannel(API26+)**Regular apps need runtime notification-permission consent and an enabled notification channel; the experimental shell can already call the mini-app service | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Listen for notification changes](https://docs.taku.ai/os/reference/generated/notifications-listen/)`notifications.listen` Receive text, times, updates, and removal events from notifications posted by apps, and create tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Only actual notifications are received; this cannot backfill complete chat history. - The system may redact sensitive notifications; declaring permission does not automatically enable access. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/notifications-listen/) | Research **NotificationListenerService.onNotificationPosted**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **BIND_NOTIFICATION_LISTENER_SERVICE (service-binding protection); special notification-access authorization**Declare the Service and its service intent-filter in the Manifest; the user enables notification access in Settings; wait for onListenerConnected | **API 18+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Quick-reply through existing notifications](https://docs.taku.ai/os/reference/generated/notifications-reply/)`notifications.reply` Reply to existing notifications using RemoteInput actions exposed by an app View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - This is not an arbitrary chat API; some apps do not offer quick reply or require unlocking. - This project has not validated WeChat notification replies and has not sent messages through this path. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/notifications-reply/) | Research **RemoteInput.addResultsToIntent / PendingIntent.send**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Notification access; can use PendingIntent and RemoteInput**First get the action from an authorized NotificationListenerService; the target app must provide a reply action | **API 20+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [ADB UI tree and control testing](https://docs.taku.ai/os/reference/generated/ui-tree-shell/)`ui.tree.shell` Debug actual pages, locate buttons, and verify results View limitations and verified scope **Verification scope**:Historical native Mirror and standalone APK UI Automator checks passed; the current GUI was not captured in this run. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - This is not complete app content; custom drawing and Surface video may expose few nodes. - Output may contain user-page content; reproduce only in test scenarios. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/ui-tree-shell/) | Emulator verified **uiautomator dump / UI Automator**Existing experimental entry point | **ADB / Shizuku** **shell / instrumentation**Developer enables ADB and the computer is approved; UI Automator starts via shell instrumentation | **API 18+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Read accessible UI trees from an ordinary app](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/)`ui.tree.accessibility` Let an agent without flashing understand the current page through text and nodes View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - This project has not implemented an accessibility-based agent. - A disabled service, windows without nodes, and custom-drawn content require explicit failure handling. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/ui-tree-accessibility/) | Research **AccessibilityService.rootInActiveWindow**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **BIND_ACCESSIBILITY_SERVICE (service-binding protection); canRetrieveWindowContent**Complete accessibility Service and XML capability; the user enables it in system settings; no Root required | **API 4+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Targeted taps, swipes, and keys](https://docs.taku.ai/os/reference/generated/input-shell/)`input.shell` Operate across apps and ensure input reaches the background display View limitations and verified scope **Verification scope**:Historically, native-preview taps paused DeskClock and timing continued after the main-screen viewer was collapsed. This does not guarantee every app or multi-touch. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - Successful injection is not business success; dynamic display IDs must not be hardcoded. - Same-app task migration, rotation, focus, and touch regions can affect results. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/input-shell/) | Emulator verified **input -d tap/swipe/keyevent**Existing experimental entry point | **ADB / Shizuku** **shell or the protected INJECT_EVENTS permission**Authorized ADB/shell; the current root host sends events via input -d; cannot be called directly from regular JS | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Semantic actions and gestures without flashing](https://docs.taku.ai/os/reference/generated/input-accessibility/)`input.accessibility` Click nodes, scroll, and perform single-finger gestures through accessibility View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Gestures require API 24; a node click does not guarantee the target processes it. - This path was not tested in the experiment and does not replace the trusted background-display API. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/input-accessibility/) | Research **performAction / dispatchGesture**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Accessibility authorization; canPerformGestures**User enables the Service; XML android:canPerformGestures=true; call within the Service lifecycle | **API 24+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Text input and input-method bridge](https://docs.taku.ai/os/reference/generated/input-text/)`input.text` Chinese forms, generated-app input, and draft restoration View limitations and verified scope **Verification scope**:Only historical Chinese drafts in Taku’s native input field and restart readback were validated; a general IME remains a research approach. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Ordinary input text is not a general Unicode solution; current native tests use AccessibilityNodeInfo.ACTION_SET_TEXT. - A general cross-app input-method bridge and background-preview keyboard forwarding have not been implemented. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/input-text/) | Emulator verified **InputConnection.commitText / ACTION_SET_TEXT**Existing experimental entry point | **App permission** **Default input method needs BIND_INPUT_METHOD; accessibility ACTION_SET_TEXT needs its authorization**Get InputConnection from the current editor in InputMethodService, or set text on a node with accessibility authorization | **API 3+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [ADB / Root screenshots](https://docs.taku.ai/os/reference/generated/screen-capture-shell/)`screen.capture.shell` Save main-screen or background frames for visual agents and verification View limitations and verified scope **Verification scope**:Historical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - screencap -d uses SurfaceFlinger display IDs, which differ from logical am/input IDs. - Capture of secure windows and protected content is not guaranteed; a black frame is not success. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/screen-capture-shell/) | Emulator verified **screencap / phone-display capture**Existing experimental entry point | **ADB / Shizuku** **shell / root; subject to secure window restrictions**Authorized ADB/shell; the virtual display ImageReader is held by the root host | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Screen capture without flashing](https://docs.taku.ai/os/reference/generated/screen-capture-public/)`screen.capture.public` Screen recording, OCR, and understanding the current page View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - With target 34+, each session requires new consent; the token cannot be repeatedly reused. - This project has not completed an ordinary-app MediaProjection adapter; secure-content capture is still not guaranteed. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/screen-capture-public/) | Research **MediaProjectionManager.createScreenCaptureIntent**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **MediaProjection user consent; target34+ foregroundServiceType=mediaProjection and FGS permissions**Get the createScreenCaptureIntent result in an Activity, then create the capture session in a valid foreground service | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Usage information and foreground-app clues](https://docs.taku.ai/os/reference/generated/context-foreground/)`context.foreground` Identify apps recently used by the user and choose when to perform tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Usage statistics may be delayed and are not a complete real-time window tree. - Real-time cross-app task management requires a separate privileged interface that is not exposed. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/context-foreground/) | Research **UsageStatsManager.queryEvents**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **PACKAGE_USAGE_STATS / usage-access AppOp**Declared in the Manifest and enabled by the user in usage-access settings; queryEvents works by time window | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Foreground clipboard / share entry point](https://docs.taku.ai/os/reference/generated/context-clipboard/)`context.clipboard` Add copied or shared content to the current agent task View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Ordinary background apps are restricted after API 29; continuous system-level subscription needs a separate design. - This does not read historical clipboard contents; this capability has not been tested in the project. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/context-clipboard/) | Research **ClipboardManager.getPrimaryClip / ACTION_SEND**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Foreground focus; share Intents do not need global background clipboard reads**Read primaryClip in a focused Activity; share targets register ACTION_SEND | **API 11+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Media-session state and playback control](https://docs.taku.ai/os/reference/generated/context-media/)`context.media` Music/podcast titles, pause, resume, and track switching View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - This is not an arbitrary audio-transcription interface; players may not expose complete metadata. - Not tested; audio routing and multiple displays for the same app still share resources. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/context-media/) | Research **getActiveSessions / MediaController.transportControls**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Notification access or MEDIA_CONTENT_CONTROL (protected)**Specify the listener component after notification-listener authorization; can control only sessions the app exposes | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [System SMS and call logs](https://docs.taku.ai/os/reference/generated/data-sms-calllog/)`data.sms.calllog` Delivery, flight, and contact events in system providers View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Hard-restricted permissions are not obtained with a single pm grant. - WeChat/Douyin history is not in the SMS provider; this project has not read or tested these personal data sources. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-sms-calllog/) | Research **ContentResolver.query(Telephony.Sms.CONTENT_URI)**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **READ_SMS; READ_CALL_LOG; hard-restricted installer allowlist / related roles**Consent at runtime is not sufficient; first check the installer allowlist, default SMS/phone roles, and OEM policy; call only on dedicated test data | **API 19+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Read and write contacts](https://docs.taku.ai/os/reference/generated/data-contacts/)`data.contacts` Associate contacts and create owned entries in the address book View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - The system address book is not every app’s cloud friend list. - Read permission does not include write permission or cross-organization account access. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-contacts/) | Research **ContentResolver.query(ContactsContract.Contacts.CONTENT_URI)**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **READ_CONTACTS; writing also requires WRITE_CONTACTS**Request separately at runtime; test with isolated accounts/test contacts | **API 5+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Query and create system-calendar events](https://docs.taku.ai/os/reference/generated/data-calendar/)`data.calendar` Schedule events and associate reminders and local calendars View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - A writable system-calendar account may not exist; cloud Feishu/WeChat schedules are not automatically in the provider. - Opening a confirmation page in the example does not establish that an event was saved; this has not been tested in the project. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-calendar/) | Research **CalendarContract / ACTION_INSERT**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **READ_CALENDAR; WRITE_CALENDAR authorized separately**Runtime authorization; ACTION_INSERT lets the Calendar app confirm, without holding the database write permission yourself | **API 14+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Photo library and file locations](https://docs.taku.ai/os/reference/generated/data-photos/)`data.photos` Image indexes, photo-to-task workflows, and optional Exif locations View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - GPS data may be absent or removed; it is not evidence of a visit or preference. - API 34 has partial-photo authorization; photo-database indexing has not been tested. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-photos/) | Research **ACTION_GET_CONTENT / MediaStore / ExifInterface**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Photo Picker / READ_MEDIA_IMAGES、READ_MEDIA_VIDEO(API33+);ACCESS_MEDIA_LOCATION(API29+)**Prefer Photo Picker authorization for selected URIs; reading all media needs version-specific permissions; location is authorized separately | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [File selection, search, and organization](https://docs.taku.ai/os/reference/generated/data-files/)`data.files` Import documents and archive user-selected directories View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Since API 30, some directories cannot be selected through a tree picker; all-files access still excludes other apps’ private directories. - The project has not implemented full-text file indexing. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-files/) | Research **Storage Access Framework**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **SAF URI grant; MANAGE_EXTERNAL_STORAGE special access when needed**Select a directory with ACTION_OPEN_DOCUMENT_TREE and persist URI read/write authorization; this is not private-directory authorization | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: exporting other apps’ private data](https://docs.taku.ai/os/reference/generated/data-private-files/)`data.private-files` Custom exports for test-device debugging and user-data migration View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - Root cannot decrypt app-level encryption or hardware keys; live databases must not be copied indiscriminately as raw files. - There is no exposed export service, testing, or credential-data reading. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-private-files/) | Research **Dedicated native export service / filesystem + app export**Upstream API / research implementation entry point; not an available Taku SDK method | **Root / system identity** **root DAC + SELinux + FBE / app-layer encryption**Must confirm device unlock state, sepolicy, the app’s own export, and a consistent snapshot; there is no general read-all API | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: backup, restoration, and migration](https://docs.taku.ai/os/reference/generated/data-backup/)`data.backup` Preserve business state before upgrades and restore owned apps View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Scope depends on allowBackup, transport, encryption, and OEM behavior. - Successful restart persistence of owned JSON is not a complete system backup. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/data-backup/) | Research **BackupManager.dataChanged / app export**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **App-owned backup configuration; privileged cross-app backup also requires BACKUP**Your own app implements BackupAgent / export format; cannot promise copying a third party’s complete login state | **API 8+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Launch existing apps or Intent functions](https://docs.taku.ai/os/reference/generated/apps-launch/)`apps.launch` Open traditional entry points such as Clock, WeChat, and maps View limitations and verified scope **Verification scope**:Historical specific pages in DeskClock and the three apps; the current probe confirms the packages remain installed. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Ordinary Intents cannot arbitrarily launch unexported components. - WeChat was checked only before login, Xiaohongshu only in the visitor image feed, and Douyin video failed. This does not establish account-workflow verification. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/apps-launch/) | Emulator verified **startActivity / am start --display**Existing experimental entry point | **App permission** **Target Activity exported / public intent; package visibility**Foreground apps can send public Intents; background starts are also subject to version policy; display targeting needs authorized shell/system policy | **API 26+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Install, update, and remove standalone APKs](https://docs.taku.ai/os/reference/generated/apps-install/)`apps.install` Make an on-device generated app a real package in the launcher View limitations and verified scope **Verification scope**:In this run apksigner verified two historical APKs, and their hashes matched the installed base.apk files; there was no reinstallation. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - The example path requires an actual test APK supplied first; it does not automatically download or build one. - Version downgrades and updates with a different signing key cannot be assumed to work; mismatched platform signing fails. Installation is not business compatibility. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/apps-install/) | Emulator verified **pm install / PackageInstaller Session**Existing experimental entry point | **ADB / Shizuku** **ADB shell / INSTALL_PACKAGES; regular apps need REQUEST_INSTALL_PACKAGES + user consent**shell pm install; regular installers need unknown-sources authorization and a user action; updates need a matching signature | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Runtime permissions, roles, and AppOps configuration](https://docs.taku.ai/os/reference/generated/permissions-manage/)`permissions.manage` Device initialization and capability diagnostics View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - This item was not executed in this run. Existing packaging scripts use grant, but this cannot be generalized to all permissions. - Permission granting and successful API behavior require separate verification. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/permissions-manage/) | Research **pm grant / appops / RoleManager**Upstream API / research implementation entry point; not an available Taku SDK method | **ADB / Shizuku** **shell / GRANT_RUNTIME_PERMISSIONS / special authorization per role**pm grant works only for valid runtime permissions; notification access/accessibility/roles/AppOps each have their own entry point; it cannot grant undeclared or signature-only permissions | **API 23+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [System settings, brightness, and Do Not Disturb](https://docs.taku.ai/os/reference/generated/settings-control/)`settings.control` Adjust available settings for tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - The read example establishes readability only, not that all switches can be changed. - Wi-Fi/Bluetooth and Do Not Disturb policies vary by Android/OEM; this research item has not passed verification. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/settings-control/) | Research **Settings.System / Secure / cmd service**Upstream API / research implementation entry point; not an available Taku SDK method | **ADB / Shizuku** **WRITE_SETTINGS special access; WRITE_SECURE_SETTINGS is protected; DND also requires policy access**Regular apps have only specific write-settings authorization; shell can call settings; prefer the owning service over writing the database directly | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Custom home screen, task cards, and traditional-app entry points](https://docs.taku.ai/os/reference/generated/home-launcher/)`home.launcher` Show task status and launch traditional apps directly from Home View limitations and verified scope **Verification scope**:Historical Chinese drafts and restart readback in native HOME; the current APK has minSdk 36. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - An ordinary launcher can also provide most cards; global SystemUI behavior is not automatically a launcher privilege. - The input widget and animated pet are still undergoing separate UI iteration; this item does not replace latest-design verification. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/home-launcher/) | Emulator verified **HOME Activity / TaskRequests / launcher intents**Existing experimental entry point | **App permission** **HOME Intent; the user selects the default Launcher; a system preinstall can set the default**Regular apps declare HOME; the current Taku assistant is system UID1000 with platform test signing, minSdk36 | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Global assistance layer / floating window](https://docs.taku.ai/os/reference/generated/home-overlay/)`home.overlay` Translation, task status, and current-page tools View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - This is not SystemUI privilege; overlays over sensitive windows and touch are restricted by system policies. - The project has only a native HOME pet, with no tested cross-app pet overlay. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/home-overlay/) | Research **WindowManager.addView**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **SYSTEM_ALERT_WINDOW special access; TYPE_APPLICATION_OVERLAY API26**User enables the overlay permission; WindowManager adds a non-blocking view and handles focus/input | **API 26+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Default digital assistant and global invocation](https://docs.taku.ai/os/reference/generated/assistant-entry/)`assistant.entry` Receive context and tasks through the system ASSIST entry point View limitations and verified scope **Verification scope**:Source and installed identity were checked, but this directory has no complete independent verification for global invocation/context capture. HOME testing does not change this item to validated. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - RecognitionUnavailableService in the manifest indicates that speech transcription is not implemented. - Background-interface/main-screen context may be redacted by the system; secure content is not guaranteed. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/assistant-entry/) | Research **VoiceInteractionService / android.intent.action.ASSIST**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **BIND_VOICE_INTERACTION (service binding); default assistant role**Implement VoiceInteractionService/SessionService and select the default assistant; integrated in the current test-signed system app | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Truly independent background display](https://docs.taku.ai/os/reference/generated/display-independent/)`display.independent` Let an agent operate another display while the main screen remains usable View limitations and verified scope **Verification scope**:Historical independent creation, targeted operations, concurrent main-screen HOME, and host stop/start lifecycle passed. Douyin video did not pass. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - It shares the Android user, data, and audio resources; it is not an independent VM or account sandbox. - Single-instance apps may move their windows. There is currently no user/agent conflict scheduling. Reboot requires a task start, not independent host init autostart. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/display-independent/) | Emulator verified **phone-display / createVirtualDisplay**Existing experimental entry point | **Root / system identity** **Current root app_process; TRUSTED/OWN_FOCUS and other flags need protected system permissions**The phone-display host holds the ImageReader Surface; currently root + SELinux Enforcing, not just a regular MediaProjection mirror | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [View and manually target the background display from the main screen](https://docs.taku.ai/os/reference/generated/display-preview/)`display.preview` Let users inspect agent activity and touch the background screen when needed View limitations and verified scope **Verification scope**:Historically, native Mirror paused 26:04.89→26:11.57, and after collapse timing continued from 1.71→7.66 seconds. The GUI was not retested in the current run. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - The target is at most approximately 5 fps; software rendering has latency and is not a 60 fps video stream. - Only single-finger taps/swipes/long presses and limited keys are supported. There is no automatic agent pause, cancellation, keyboard-text forwarding, or multi-touch. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/display-preview/) | Emulator verified **MirrorActivity / taku-mirror frame\|tap\|swipe\|key**Existing experimental entry point | **Root / system identity** **socket peer UID 0/1000/2000; currently system_app UID1000**Taku Native MirrorActivity connects to the abstract Unix socket taku-mirror; no network socket is opened, and touch is directed to the root host | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Research: task and multi-window policy changes](https://docs.taku.ai/os/reference/generated/display-window-policy/)`display.window-policy` Control app placement, focus, user/agent takeover, and same-app window conflicts View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - App multi-window/resizeable/singleTask behavior affects results; simultaneous dual instances cannot be guaranteed for all apps. - There is no implemented pause/cancel/handover event contract yet. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/display-window-policy/) | Research **ActivityTaskManagerService / WindowManager**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **ActivityTaskManager / WindowManager / display policy permissions and code**Requires designing task preemption/pause events and window policy on a locked AOSP branch; existing CLI flags cannot accomplish this | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Microphone and voice capture](https://docs.taku.ai/os/reference/generated/audio-microphone/)`audio.microphone` Meeting notes and voice input for agents View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Permission does not establish correct concurrency, lock-screen behavior, or Bluetooth routing; it does not include both sides of calls. - The project has no verification with actual microphone samples. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/audio-microphone/) | Research **AudioRecord.Builder**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **RECORD_AUDIO runtime; background use needs a valid microphone FGS type**Authorize in the foreground and configure recording parameters, audio routing, and lifecycle; background starts are restricted on newer Android versions | **API 3+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Capture other apps’ playback through ordinary APIs](https://docs.taku.ai/os/reference/generated/audio-playback/)`audio.playback` Subtitles, study notes, and understanding playback content View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Requires API 29; apps that disallow capture and call usages cannot be generalized as supported. - Not tested; Root does not imply access to arbitrary protected audio tracks. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/audio-playback/) | Research **AudioPlaybackCaptureConfiguration.Builder**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **RECORD_AUDIO + MediaProjection session**Same user; the playback app allows capture and usage matches; create AudioRecord after the user authorizes projection | **API 29+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: both sides of cellular / VoIP audio](https://docs.taku.ai/os/reference/generated/audio-calls/)`audio.calls` Device research for explicit call assistance and meeting-note scenarios View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - Cellular and VoIP use different paths; carrier, vendor HAL, and headset modes need separate validation. - There is no guarantee of universal phone support or implemented interface. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/audio-calls/) | Research **AudioPolicy / Audio HAL**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **AudioPolicy / Audio HAL / routing; may need protected permissions such as CAPTURE_AUDIO_OUTPUT**Select the device and route first, and prove non-silent RX/TX in a test call; do not read real calls | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: owned-track effects / system-input audio effects](https://docs.taku.ai/os/reference/generated/audio-effects/)`audio.effects` Noise reduction, clarity, and entertainment effects View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - Effects on an owned session are not a system-wide microphone modification. - Latency, echo, offload, and low-power routing have not been tested. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/audio-effects/) | Research **AudioEffect / AudioFlinger / Effects HAL**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **Your own audio session can use public effects; cross-app paths need AudioPolicy/HAL**Test AEC/NS first on your own AudioRecord session; cross-app/Bluetooth/cellular use needs device integration | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Ordinary camera preview / real-time understanding](https://docs.taku.ai/os/reference/generated/camera-read/)`camera.read` Object recognition, reading printed materials, and visual agents View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - The enumeration example does not obtain frames; an emulator’s virtual camera is not a physical-device camera. - Concurrency, temperature, power consumption, and background restrictions have not been tested. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/camera-read/) | Research **CameraManager.cameraIdList / openCamera**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **CAMERA runtime; background camera FGS subject to version rules**Authorize CAMERA, enumerate cameraId, and close the session and device correctly | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: cross-app camera beautification / image-pipeline replacement](https://docs.taku.ai/os/reference/generated/camera-global-filter/)`camera.global-filter` Let third-party video apps consume system-processed frames View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - Difficulty depends on formats, colors, protected buffers, concurrency, and vendor implementations. - Mentioned in the meeting only as an extension example; it is neither initial product scope nor implemented functionality. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/camera-global-filter/) | Research **CameraService / Camera HAL**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **CameraService / Camera HAL / GPU buffer pipeline**True cross-app processing needs device HAL or system service integration; the CAMERA permission alone cannot affect other apps’ output | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: low-power voice wake-up](https://docs.taku.ai/os/reference/generated/voice-hotword/)`voice.hotword` Invoke an agent without touch View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - Continuous AudioRecord is not low-power wake-up. - Speech recognition is not implemented; there is no verification for physical-device chips/models. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/voice-hotword/) | Research **SoundTrigger / HotwordDetectionService**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **SoundTrigger HAL / DSP support; VoiceInteraction default role**The target chip supports soundtrigger and a deployable model; implement HotwordDetectionService or a vendor path | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Location and location context](https://docs.taku.ai/os/reference/generated/environment-location/)`environment.location` Arrival reminders and itinerary-related tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - An old fix is not the current location; indoor operation, background frequency, OEM behavior, and battery consumption need testing. - Injected emulator locations do not represent field accuracy; not tested. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/environment-location/) | Research **LocationManager.getLastKnownLocation**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **ACCESS_COARSE/FINE_LOCATION; background also requires ACCESS_BACKGROUND_LOCATION**Authorize runtime permissions separately; background location is not covered by the foreground location authorization; geofencing can use GooglePlay Services, but it has not been verified on this system image | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Sensors and activity recognition](https://docs.taku.ai/os/reference/generated/environment-sensors/)`environment.sensors` Movement/posture assistance and adapting interaction to the scenario View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Emulator sensors differ from physical devices; newer versions restrict high sampling rates and background behavior. - There is no verification for walking/driving recognition. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/environment-sensors/) | Research **SensorManager.getSensorList**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **Most regular sensors need no runtime permission; step count/activity needs ACTIVITY_RECOGNITION; high sampling rates need HIGH_SAMPLING_RATE_SENSORS**Enumerate device support first; register a listener as the algorithm needs; do not treat raw sensor values as behavior facts | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Bluetooth / local-network device discovery](https://docs.taku.ai/os/reference/generated/environment-nearby/)`environment.nearby` Nearby agents, accessories, or collaboration nodes View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - API 16 NSD does not describe all Bluetooth/Wi-Fi permission requirements. - The project has no cross-device collaboration protocol or wireless-pairing verification. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/environment-nearby/) | Research **NsdManager.discoverServices**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **INTERNET; Bluetooth API31+ SCAN/CONNECT; version-specific permissions for Wi-Fi discovery**NSD discovers the test service on an authorized LAN; pairing/connection need separate authorization; discovery does not mean connected | **API 16+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: USB peripherals and NFC / HCE](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/)`environment.usb-nfc` Card readers, sensors, and tap-to-start tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - NFC/HCE does not mean payment secure-element credentials can be copied. - There is no actual USB/NFC peripheral path in the emulator; HCE API 19 and device support require separate tests. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/environment-usb-nfc/) | Research **UsbManager.deviceList / NfcAdapter**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **USB user authorization; NFC Manifest and hardware; HCE service binding**Check FEATURE_USB_HOST/FEATURE_NFC first; USB requestPermission names the target device explicitly; test peripherals only | **API 12+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [On-device task execution and state queue](https://docs.taku.ai/os/reference/generated/runtime-broker/)`runtime.broker` User request → actual agent execution → status and result View limitations and verified scope **Verification scope**:The init service was running in this run. The single source queue was checked, and historical task UI passed. No model task was submitted in this run. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - The current broker has a hard six-minute timeout; complete cancellation, preemption, and idempotent task recovery after restart are absent. - Main/background displays cannot arbitrarily share input; queue-task success requires an actual result. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/runtime-broker/) | Emulator verified **TaskRequests / root task service / tasks.status**Existing experimental entry point | **Root / system identity** **init root service;system UID TaskRequests;SELinux domain**Use the existing single TaskRequests queue; runs in init agentos_codex; do not create a second task queue | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Ordinary background tasks, boot notifications, and recovery](https://docs.taku.ai/os/reference/generated/runtime-background-public/)`runtime.background-public` Periodic organization, synchronization, and restoration of owned tasks View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Ordinary background execution does not guarantee constant operation or exact timing; background FGS launches have constraints. - A running broker and restart persistence of light-app JSON do not establish automatic recovery of all tasks. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/runtime-background-public/) | Research **JobScheduler / BOOT_COMPLETED**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **RECEIVE_BOOT_COMPLETED; BIND_JOB_SERVICE service binding; FGS types and permissions**Implement JobService/BootReceiver; tasks can persist but are subject to Doze/quota/OEM limits; DirectBoot data needs separate design | **API 21+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Power, WakeLock, and task scheduling](https://docs.taku.ai/os/reference/generated/runtime-power/)`runtime.power` Background synchronization or keeping computation active briefly View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - Battery use, temperature rise, and OEM policies are untested; an emulator cannot establish all-day standby. - Holding a lock does not grant access to any app’s content. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/runtime-power/) | Research **PowerManager.newWakeLock**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **WAKE_LOCK normal; ignoring battery optimizations is special access authorized separately**Set a timeout and release; long-term power use must be tested on a physical device; do not rely only on an unlimited wakelock to stay alive | **API 1+**Interface class first entered the public SDK (not the minimum version for every behavior described here) **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: system CPU/GPU/thermal management](https://docs.taku.ai/os/reference/generated/runtime-performance/)`runtime.performance` Allocate resources among local inference, interaction, and screen recording View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - Disabling thermal protection is not sustainable optimization; permissions do not substitute for closed-source vendor capabilities. - There are no physical-device conclusions about performance, power use, or temperature rise. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/runtime-performance/) | Research **task_profiles / Power HAL / Thermal HAL**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **task profiles / cgroup / Power & Thermal HAL**Lock device HAL capabilities and kernel interfaces; optimization is possible only within thermal protection limits | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: network state, VPN, and per-app networking](https://docs.taku.ai/os/reference/generated/network-vpn/)`network.vpn` Connection recovery, routing, and diagnostics View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - A VPN seeing packets does not imply HTTPS plaintext access; TLS and server authorization still apply. - Complete per-app routing policies and network measurement are not implemented. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/network-vpn/) | Research **ConnectivityManager / VpnService.prepare**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **INTERNET; BIND_VPN_SERVICE service binding and user VPN consent**User consents after VpnService.prepare; establish tun and forward correctly; concurrent use is limited to VPN configurations the system supports | **API 14+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Research: cross-device agent collaboration](https://docs.taku.ai/os/reference/generated/runtime-cross-device/)`runtime.cross-device` Continuous work across computer and phone, and remote developer calls View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges - There is no one-click maximum Android privilege; account isolation and protocol conflicts still need implementation. - The project’s experimental 127.0.0.1 API does not establish an open remote OS developer API. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/runtime-cross-device/) | Research **Custom protocol / HTTP / event stream**Upstream API / research implementation entry point; not an available Taku SDK method | **App permission** **INTERNET; custom identity/authorization/sync protocol**Usable for network communication; remote app interfaces need authentication/reconnection/conflict design; do not use the localhost development API as a public interface | **API 23+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [System diagnostics and performance tracing](https://docs.taku.ai/os/reference/generated/diagnostics-system/)`diagnostics.system` Investigate execution failures, app video abnormalities, and system state View limitations and verified scope **Verification scope**:Package/service diagnostics were read back in this run. Perfetto was not run, and the Douyin root cause is still unknown. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - Logs may contain user content and must be scoped to a scenario; they are not an all-day information archive. - The standard HEVC path passed, while Douyin rendering remains unresolved; do not conclude that the general codec is broken. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/diagnostics-system/) | Emulator verified **dumpsys / getprop / Perfetto**Existing experimental entry point | **ADB / Shizuku** **shell DUMP / log access; an app’s own logs are available normally**Developer-authorized ADB; limit to the target service and test logs; do not bulk-read personal content | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Research: ROM builds, OTA, and recovery](https://docs.taku.ai/os/reference/generated/release-ota/)`release.ota` Let users flash images and upgrade reliably View limitations and verified scope **Verification scope**:Not tested. The example is a research entry point, not an installed Taku API. **ROM requirements**:The target behavior here requires modifying/integrating Framework, system policies, or HAL; each device needs its own build verification - The latest assistant/host/light-app changes have not been re-exported into a complete ROM; there are zero physical-device validations. - Whether self-signing permits bootloader relocking must be checked per model; system rollback and data rollback are different. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/release-ota/) | Research **AOSP build / update_engine / AVB**Upstream API / research implementation entry point; not an available Taku SDK method | **ROM / Framework** **Device signing / AVB / bootloader / update_engine / recovery**Choose an unlockable device model and device/vendor tree, and set up repeatable build, signing, upgrade, and rollback experiments; do not distribute userdata login state | **API +**Non-public SDK / custom or device interface; no general minimum API claim **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device | | [Generate, preview, and export standalone APKs on the phone](https://docs.taku.ai/os/reference/generated/apps-generate/)`apps.generate` Let Codex write arbitrary app core code and quickly turn it into a new tool View limitations and verified scope **Verification scope**:Historically, two apps were generated/previewed on the device and a game launched as a standalone APK. In this run, both APK signatures and installed hashes matched. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - The first host/DEX shell was precompiled on a computer; subsequent core source writing and JSX/APK packaging happen on the phone. - Owned app source and toolchain/runtime initialization are still required; shell packaging alone does not support arbitrary native SDK features. - Values such as 760 ms are single packaging measurements, excluding AI generation, installation, and the first frame; they are not performance guarantees. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/apps-generate/) | Emulator verified **generate.sh / build.sh / package-app.sh**Existing experimental entry point | **Root / system identity** **Current root build/install scripts; regular web pages do not gain root themselves; depends on the preinstalled toolchain**The phone has React, esbuild, aapt, a dex wrapper, and signing test tools; App.jsx/api.mjs are free-form code; code generation requires users to sign in to an Agent themselves | **API 30+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Expose generated-app business functions / external calls](https://docs.taku.ai/os/reference/generated/apps-business-api/)`apps.business-api` Let agents call functions and state directly, with UI synchronization after external calls View limitations and verified scope **Verification scope**:Historical HTTP parameter/error/idempotency, API-to-UI, and standalone-board-tap-to-API readback checks passed. No business-state call was made in this run. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - This is an app business-API experiment, not all low-level Android APIs. - The service has no independent boot autostart, runs only on loopback for development, and is not publicly deployed; interface scoping still needs productization. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/apps-business-api/) | Emulator verified **mini-app / loopback HTTP / OpenAPI**Existing experimental entry point | **Root / system identity** **Experimental root Node service; INTERNET is used for loopback; the app’s own logical permissions**api.mjs implements arbitrary methods+params/result schema; service at 127.0.0.1:8765, with state shared by UI and CLI; start the service first | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [On-device Codex CLI and low-level shell](https://docs.taku.ai/os/reference/generated/agent-cli/)`agent.cli` Execute code, generate apps, and call open capabilities on the device View limitations and verified scope **Verification scope**: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. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - 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. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/agent-cli/) | Emulator verified **/system_ext/bin/codex exec / Android shell**Existing experimental entry point | **Root / system identity** **Current root CLI; sign in to the Agent account yourself; SELinux remains Enforcing**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 | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Query main/background displays through the open SDK](https://docs.taku.ai/os/reference/generated/displays-status/)`displays.status` Let external developers discover actual logical display IDs and whether the background display is active View limitations and verified scope **Verification scope**:The end-to-end SDK read displayIds [0,11] and background display 11 active in this run. This ID must not be hardcoded. **ROM requirements**:No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project - The query does not create displays, capture frames, inject input, or expose arbitrary shell. - The current SDK device-report example was tested only on the API 36 emulator. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/displays-status/) | Emulator verifiedSDK implemented **Taku SDK displays.status**Existing experimental entry point | **ADB / Shizuku** **Authorized ADB; root experimental phone-display state file**SDK adb transport reads only the display service and existing host state, with an AVD/serial allowlist | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | | [Query existing task status through the open SDK](https://docs.taku.ai/os/reference/generated/tasks-status/)`tasks.status` Let third-party extensions display live status without creating another task system View limitations and verified scope **Verification scope**:In this run device-report read five existing id/state records; includesPrompts=false and includesResults=false. **ROM requirements**:Requires appropriate Root or system signing/preinstall; may be deployed via OEM Root; this project has not verified that distribution path - The five completed historical IDs read in this run do not establish new task execution. - There is currently no general SDK for event subscription or task submit/cancel/handover. [Permissions, reproducible calls and verification →](https://docs.taku.ai/os/reference/generated/tasks-status/) | Emulator verifiedSDK implemented **Taku SDK tasks.status**Existing experimental entry point | **Root / system identity** **Current ADB/root reads only existing task service data; the new transport is not implemented yet**Explicit target serial query; returns only id/state and does not read prompt/results, authentication, or personal information | **API 36+**Key methods used by the example / this project’s target version **Historical source record (2026-10-10): **Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device Verified: Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 | Source inventory updated 2026-10-10. An API’s declared minimum version is not the Taku OS device support range. These dated inventory records do not include subsequent Pixel 9 tests. [Current project progress →](https://docs.taku.ai/os/releases/current-progress/) ## [Reproduce a verified result](https://docs.taku.ai/os/capabilities/status/#reproduce-a-verified-result) ### [Establish the environment](https://docs.taku.ai/os/capabilities/status/#establish-the-environment) Read the device, Android version, execution identity and permission prerequisites. Identify your own device serial and UID. ### [Use the documented entry point](https://docs.taku.ai/os/capabilities/status/#use-the-documented-entry-point) Follow the actual example in the generated reference. Research entries and unimplemented interfaces are not an executable command list. ### [Read back and retain evidence](https://docs.taku.ai/os/capabilities/status/#read-back-and-retain-evidence) Check actual state or the native interface, and record your version, input and result. An exit code alone does not prove business completion. Continue with [Capability overview](https://docs.taku.ai/os/capabilities/overview/), [Getting started](https://docs.taku.ai/os/guides/getting-started/) and [Submission requirements](https://docs.taku.ai/os/contributing/overview/). --- # Source and contributing Open-source licensing scope for Taku OS, cloning the repository, and contribution channels. > Taku OS research preview. Availability varies by device and version; see current progress. The Taku OS system source is open source in [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os): original Taku source is licensed under [Apache-2.0](https://github.com/Taku-OS/taku-os/blob/main/LICENSE), while bundled third-party components keep their own licenses listed in [NOTICE](https://github.com/Taku-OS/taku-os/blob/main/NOTICE). The documentation repository (`Taku-OS/taku-os-docs`), server-side services, Taku for Mac, and Marketplace remain private. [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) and [GitHub Releases](https://github.com/Taku-OS/taku-os/releases/latest) provide pinned development-preview images for the devices in [Supported devices](https://docs.taku.ai/os/install/devices/) and the ARM64 emulator archive. Open-source code does not establish verified support for other phones or every capability, and Marketplace remains a separate closed-source product. Read [system and extension responsibilities](https://docs.taku.ai/os/architecture/ecosystem/) for their division of work, or [capability iteration during use](https://docs.taku.ai/os/extensions/self-extension/) for the longer-term direction. ## [Choose a path](https://docs.taku.ai/os/contributing/overview/#choose-a-path) ### [Get the source](https://docs.taku.ai/os/contributing/overview/#source-access) Clone `Taku-OS/taku-os` directly from GitHub and inspect its license files. ### [Develop an extension](https://docs.taku.ai/os/extensions/contract/) Read identity, permissions and result requirements before implementing an extension. ### [Contribute a plugin](https://github.com/Taku-OS/taku-os-plugins) Submit to the public taku-os-plugins repository. ### [Page feedback](https://docs.taku.ai/os/contributing/overview/#feedback-correction) Correct the docs or report a reproducible problem. ## [System source](https://docs.taku.ai/os/contributing/overview/#source-access) The system source is publicly hosted at [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os). Anyone can clone it directly without requesting repository access: ``` git clone https://github.com/Taku-OS/taku-os.git cd taku-os ``` If cloning fails, verify the repository URL (`https://github.com/Taku-OS/taku-os.git`), your network or proxy configuration, and any cached Git credentials (an expired personal access token can cause HTTPS requests to fail even on public repositories). Make sure you use `Taku-OS/taku-os`; another repository with the same name is not this project. Original Taku source is licensed under [Apache-2.0](https://github.com/Taku-OS/taku-os/blob/main/LICENSE), and bundled third-party components retain their own terms in [NOTICE](https://github.com/Taku-OS/taku-os/blob/main/NOTICE). **Result**: You have the system source and can follow [Your first Taku API call](https://docs.taku.ai/os/guides/getting-started/). Each prebuilt phone package is for one device in [Supported devices](https://docs.taku.ai/os/install/devices/), and the prebuilt emulator archive targets ARM64 hosts; see [Mobile Quickstart](https://docs.taku.ai/quickstart/mobile/) for prerequisites. Cloning the source does not automatically produce verified ROMs for other phone models. Research, emulator, and physical-device status are recorded separately; see [Available features](https://docs.taku.ai/os/releases/current-progress/). ## [Contribution channels](https://docs.taku.ai/os/contributing/overview/#public-channels) - **System code, issues, and discussions**: Open Pull Requests, [Issues](https://github.com/Taku-OS/taku-os/issues), or [Discussions](https://github.com/Taku-OS/taku-os/discussions) in [Taku-OS/taku-os](https://github.com/Taku-OS/taku-os). - **Plugins**: Submit community plugins to [taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins). - **Security reports**: Report vulnerabilities privately through [GitHub Security Advisories](https://github.com/Taku-OS/taku-os/security/advisories/new) rather than public issues. - **Page feedback**: Because `Taku-OS/taku-os-docs` remains private, use the [feedback form](https://docs.taku.ai/os/contributing/overview/#feedback-correction) at the bottom of each page to correct the docs or report a documentation issue. Start the first line with “Docs correction” or “Issue reproduction”. ## [Contribution rules](https://docs.taku.ai/os/contributing/overview/#contribution-rules) [CONTRIBUTING.md](https://github.com/Taku-OS/taku-os/blob/main/CONTRIBUTING.md) in the repository sets the rules. In short: - Submit reproducible small changes. - Run `npm run verify`. - State the final behavior, reproduction steps and unverified limits in the PR. - Never commit credentials, keys, app caches, chats, full ROMs or APK packages. ## [Submit minimal, reviewable material](https://docs.taku.ai/os/contributing/overview/#submit-minimal-reviewable-material) State the purpose, input, success criteria, actual entry point, permissions, version, result, and failure boundaries. Separate research, emulator, and physical-device results. If implementation is missing, label it research; if no physical device was tested, state that explicitly. ## [Checks after changing system implementation](https://docs.taku.ai/os/contributing/overview/#checks-after-changing-system-implementation) Requires the system source The commands below run from the `taku-os` repository root. See [System source](https://docs.taku.ai/os/contributing/overview/#source-access) to clone it. ``` npm run verify npm run build:android ``` **Result**: Specification checks, tests and component builds. These do not replace installation, image cold boot, or physical-device verification. **Next**: Run the [read-only extension example](https://docs.taku.ai/os/extensions/device-report/), or describe a specific use through this page's feedback form. --- # Ways to create a Site Create a Taku Site with the Taku Agent or Publisher. A Taku Site is a website on a `*.taku.site` subdomain. An agent builds it; Taku provides hosting and platform capabilities. | Path | Best for | | --- | --- | | Publisher | Developing in Claude Code, Codex, Cursor or OpenCode; see the [Site Quickstart](https://docs.taku.ai/site/quickstart/) | | Taku Agent | Creating directly inside Taku products | ## [Project layout](https://docs.taku.ai/site/#project-layout) Put `taku.site.json` at the project root. Only these keys are allowed: ``` { "workerEntrypoint": "dist/worker.mjs", "assetsDirectory": "dist/assets", "migrationsDirectory": "migrations", "siteManifest": { "manifestVersion": 1, "auth": { "mode": "none", "scopes": [] }, "integrations": [], "storage": { "type": "turso", "migrations": false }, "egress": { "mode": "platform-proxy" } } } ``` Use any build tool; the CLI packages the build output only. | Limit | Maximum | | --- | --- | | Worker module | 1, up to 5 MiB | | Code asset files | 1000 | | Single code asset | 25 MiB | | Code assets per release | 64 MiB | | Image material, each | 25 MiB | | Video material, each | 512 MiB, within your remaining capacity | Images and videos use a separate material manifest and do not count as code assets. These are current values. `sites-contract --json` is the live authority. --- # Site Quickstart: publish your first Taku Site Use Publisher to put a website on a taku.site subdomain. Your coding agent builds and tests the website; Publisher handles sign-in, validation and publishing. You describe what you want, sign in once in a browser, and confirm the subdomain. **You need:** a Taku account, one of Claude Code / Codex / Cursor / OpenCode, and Node.js 20+. ### [Install Publisher](https://docs.taku.ai/site/quickstart/#install-publisher) Run only the command for your tool: ``` # Claude Code claude plugin marketplace add Taku-OS/taku-publisher@marketplace claude plugin install taku-publisher@taku # Codex codex plugin marketplace add Taku-OS/taku-publisher --ref marketplace codex plugin add taku-publisher@taku # Cursor (Node.js 20+) npx --yes --package https://github.com/Taku-OS/taku-publisher/releases/download/v0.4.2/taku-publisher-0.4.2.tgz taku-publisher install --host cursor --update # OpenCode and other Agent Skills hosts (Node.js 20+) npx --yes --package https://github.com/Taku-OS/taku-publisher/releases/download/v0.4.2/taku-publisher-0.4.2.tgz taku-publisher install --host agent-skills --update ``` **Start a new session** afterwards so the agent loads the `taku-sites` Skill. ### [Describe the website](https://docs.taku.ai/site/quickstart/#describe-the-website) ``` Use taku-sites to build an event sign-up page and publish it as a Taku Site. ``` ### [Sign in](https://docs.taku.ai/site/quickstart/#sign-in) The agent runs `sites-login` and gives you a link. Authorize in the browser; the agent confirms with `auth-check` and continues. Only you can complete this step. ### [Build and validate](https://docs.taku.ai/site/quickstart/#build-and-validate) The agent reads the live contract from `sites-contract`, builds and tests locally, then runs `sites-validate` until it passes. ### [Confirm and publish](https://docs.taku.ai/site/quickstart/#confirm-and-publish) The agent asks two things: **which subdomain to use** and **whether to list the Site on the Taku Marketplace**. Answering no keeps the URL public but leaves it out of Marketplace discovery. ## [How to tell it worked](https://docs.taku.ai/site/quickstart/#how-to-tell-it-worked) `sites_published` reports `ready: true`, or `sites-status` confirms the release, and `https://.taku.site` loads. An agent saying "published" is not enough. If something fails, see [common Publisher errors](https://docs.taku.ai/publisher/errors/). --- # Preview and publish Test a Site locally and confirm publication. Publisher does not provide previews or a hosted dev environment; test with your usual dev server and browser. `/__taku/*` platform capabilities are unavailable outside Taku, so stub them locally and tell the user which behaviors were only checked against a stub. ## [Publish order](https://docs.taku.ai/site/preview/#publish-order) 1. `sites-validate --project --json`; fix errors until it passes. This checks packaging and compatibility, not authorization. 2. Ask the user for one exact subdomain. 3. `sites-publish --project --slug --json` checks availability and returns `confirm_target`. 4. Ask whether to list on the Marketplace. 5. Rerun with `--listing public` or `--listing private` and `--confirm-target `. 6. Report the Site and Marketplace outcomes separately. --- # Capabilities Platform capabilities a Site can call, with scopes and billing. The `capabilities` array from `sites-contract --json` decides what a Site can use. Only `status: "ready"` with `published: true` works on a published Site. Anything missing does not exist for your Site; do not substitute or fake it. This is a summary of the 2026-10 release; the live result wins: | Capability | Call | Scopes | Billing | | --- | --- | --- | --- | | Sign-in | `taku.auth.*` | `profile.basic` | Free | | Personal records | `taku.storage.personal.*` | `storage.personal.read` / `.write` | Site resource usage | | Anonymous submissions | `taku.storage.submissions.create` | `storage.submissions.write` | Site resource usage | | SQL | `taku.storage.query` / `batch` | `storage.database.read` / `.write` | Rows read and written | | Usage summary | `taku.usage.getSummary()` | None | Free | | Search | `taku.integration.call('serpapi', 'search', …)` | `integration.serpapi.read` | Taku Credits | | Image generation and edit | `taku.media.quoteImageRequest` → `submitImageRequest` | `media.image.generate` / `.edit` | Taku Credits | | Video generation | `taku.media.generateVideo` | `media.video.generate` | Taku Credits | Declare only the scopes your Site uses in `siteManifest`. ## [Who pays](https://docs.taku.ai/site/capabilities/#who-pays) On a published Site the **signed-in visitor's** Taku account pays; in a Taku preview the **Site owner** pays. Reuse the same `requestId` when retrying to avoid double charges. Paid capabilities currently have an internal-testing restriction; see [known issues](https://docs.taku.ai/support/known-issues/). --- # Manage Sites Inspect and update the Sites you own. Find the `projectId` with `sites-list --json`, then confirm the current release with `sites-status --project-id --json`. Use `--project-id` to update an existing Site rather than choosing a subdomain again. Full commands are in [managing published content](https://docs.taku.ai/publisher/manage/). A Site is live when `sites_published` has `ready: true` or `sites-status` confirms that release. Read Marketplace state separately from `marketplace.status`: `listed` is discoverable, `unlisted` is not, `pending` is waiting and `failed` failed. --- # Install and update Install Publisher in Claude Code, Codex, Cursor or OpenCode. Publisher lets you publish to Taku from a coding agent. It ships two Skills: `taku-sites` for websites, and `taku-publisher` for Skills, SubApps and Stax Cards. The current version is **0.4.2** and needs Node.js 20+. ## [Install](https://docs.taku.ai/publisher/#install) ``` # Claude Code claude plugin marketplace add Taku-OS/taku-publisher@marketplace claude plugin install taku-publisher@taku # Codex codex plugin marketplace add Taku-OS/taku-publisher --ref marketplace codex plugin add taku-publisher@taku # Cursor (Node.js 20+) npx --yes --package https://github.com/Taku-OS/taku-publisher/releases/download/v0.4.2/taku-publisher-0.4.2.tgz taku-publisher install --host cursor --update # OpenCode and other Agent Skills hosts (Node.js 20+) npx --yes --package https://github.com/Taku-OS/taku-publisher/releases/download/v0.4.2/taku-publisher-0.4.2.tgz taku-publisher install --host agent-skills --update ``` Start a new session afterwards. In Cursor, invoke `/taku-publisher` or `/taku-sites`. To install one Skill, add `--skill taku-sites` or `--skill taku-publisher` to the `npx` command. Do not use releases/latest The GitHub latest pointer does not track the current version. Always use a versioned URL or the `marketplace` branch. Publisher is not on npm or the official Cursor store. ## [Update](https://docs.taku.ai/publisher/#update) For Marketplace installs, follow your tool's plugin update flow. For `npx` installs, rerun the command with the new version URL; `--update` replaces the installed Skill. --- # Sign in Authorize in a browser and manage the local session. Publisher never asks you to hand secrets to the agent. Sign-in happens in your browser. | Command | Purpose | | --- | --- | | `sites-login --json` | Start sign-in; returns a browser link and request id | | `auth-check --request-id --json` | Check whether authorization finished | | `sites-whoami --json` | Show the current account | | `auth-status --json` | Report session validity without exposing credentials | | `auth-refresh --json` | Renew now | | `auth-logout --json` | Clear local authorization and attempt server revocation | New Site sessions renew automatically for a fixed 30 days. Whether you can use Sites, and your quota, is decided by the server from your account's current state, not your email domain or Skill version. If a command returns `legal_review_required`, open the returned link and finish the terms review on the web with the same account. Only you can enter your birthday and accept agreements. --- # What you can publish What Publisher can publish and which path each kind of content takes. | To publish | Use | Notes | | --- | --- | --- | | A website | `taku-sites` | Goes to `*.taku.site`; see [Taku Site](https://docs.taku.ai/site/) | | A Skill | `taku-publisher` | Packaged, scanned and reviewed for the Marketplace | | An existing project | `taku-publisher` | Assessed, then routed to a Skill or SubApp | | A Stax Card | `taku-publisher` | Creates a private draft and opens Review | Actions, Agents and Plugins cannot be published yet. ## [Rules that apply everywhere](https://docs.taku.ai/publisher/publish/#rules-that-apply-everywhere) - The agent builds and tests with its own tools; the Publisher CLI only does what needs Taku. - Pass `--json` to every command and trust the returned `status`, `requires_action` and `action_type`. Exit code 0 alone does not mean success. - You confirm the target before anything goes public. The agent must not choose a subdomain or Marketplace listing for you. --- # Manage published content Inspect and change what you published. ## [Sites](https://docs.taku.ai/publisher/manage/#sites) | Command | Purpose | | --- | --- | | `sites-list --json` | List your Sites and their `projectId` | | `sites-status --project-id --json` | Confirm release status | | `sites-publish --project --project-id --json` | Check the update target; returns `confirm_target` | | The same, plus `--listing public\|private --confirm-target ` | Publish the update | When updating, your Marketplace answer also changes the existing listing. ## [Creator Center](https://docs.taku.ai/publisher/manage/#creator-center) ``` node scripts/taku-publisher.mjs creator-center-list --json node scripts/taku-publisher.mjs creator-center-show --json --item-id node scripts/taku-publisher.mjs creator-center-stats --json node scripts/taku-publisher.mjs creator-center-update --json --item-id --name "New name" ``` Run these from the Skill directory. `creator-center-update` only edits private drafts; published items go through the Publisher flow. --- # Common errors Decide the next step from the status Publisher returns. | Result | Meaning | What to do | | --- | --- | --- | | `sites_login_required` | Not signed in or session expired | Run `sites-login` again | | `legal_review_required` | Terms need confirming | Finish at `review_url`, then continue; do not clear the session | | `sites_slug_unavailable` | Subdomain unavailable | Ask the user for another | | `SITE_CAPABILITY_INTERNAL_ONLY` (403) | Paid capability is in internal testing | See [known issues](https://docs.taku.ai/support/known-issues/) | | HTTP 404 | Cause unknown | Check the target, account access and CLI version | When reporting a problem include `http_status`, `server_error`, `request_id` and the summary, never credentials. If a renewal response is lost, repeating the original command within 60 seconds recovers it. --- # Connect AI tools to the docs Bring these docs into your coding agent with llms.txt, Markdown or MCP. ## [llms.txt](https://docs.taku.ai/learn/ai-tools/#llmstxt) Send your agent the address. [llms.txt](https://docs.taku.ai/llms.txt) is the index and [llms-full.txt](https://docs.taku.ai/llms-full.txt) is the full text. Chinese versions are under `/zh/`. ## [Markdown](https://docs.taku.ai/learn/ai-tools/#markdown) Every page has a Markdown version: replace the trailing `/` with `.md` (`/publisher.md`; the home page is `/index.md`), or send `Accept: text/markdown`. ``` curl -H 'Accept: text/markdown' https://docs.taku.ai/publisher/ ``` **Copy page** and **More page actions** give you the same content, and can open it in ChatGPT or Claude. ## [MCP](https://docs.taku.ai/learn/ai-tools/#mcp) These docs have a read-only MCP server at `https://docs.taku.ai/mcp`. No sign-in is needed. ``` # Claude Code claude mcp add --transport http taku-docs https://docs.taku.ai/mcp # Codex codex mcp add taku-docs --url https://docs.taku.ai/mcp ``` | Tool | Purpose | | --- | --- | | `search` | Search the docs; returns pages and excerpts | | `list_pages` | List pages, optionally by path | | `get_page` | Read one page as Markdown | `search` and `list_pages` take a `locale` of `zh-CN` or `en`, defaulting to English. --- # Migration Documentation address changes and old links. When these docs grew from Taku OS into every product line, Taku OS articles moved under `/os/`, English became the default language, and Chinese moved under `/zh/`. | Old address | New address | | --- | --- | | `/agents/overview/` | `/zh/os/agents/overview/` | | `/en/agents/overview/` | `/os/agents/overview/` | | `/agents/overview.md` | `/zh/os/agents/overview.md` | Old addresses permanently redirect (HTTP 308) to the new ones, keeping the path and query, so existing links keep working. --- # Troubleshooting Find troubleshooting by product. | Problem | See | | --- | --- | | Publishing or sign-in fails | [Common Publisher errors](https://docs.taku.ai/publisher/errors/) | | A Site capability is unavailable | [Capabilities](https://docs.taku.ai/site/capabilities/), [known issues](https://docs.taku.ai/support/known-issues/) | | Phone connection or runtime | [Taku OS help](https://docs.taku.ai/os/help/overview/) | --- # Known issues Confirmed issues that currently affect developers. ## [Taku Site](https://docs.taku.ai/support/known-issues/#taku-site) **Paid capabilities are in internal testing.** Capabilities that use Credits (search, images, video and so on) return `403 SITE_CAPABILITY_INTERNAL_ONLY` unless both the Site owner and the signed-in visitor are verified @taku.ai accounts. Sites without paid capabilities are unaffected. Show this state in your UI rather than faking results. ## [Publisher](https://docs.taku.ai/support/known-issues/#publisher) **The GitHub latest pointer is not the current version.** Use a versioned URL or the `marketplace` branch; see [install and update](https://docs.taku.ai/publisher/). --- # Feedback Tell us about problems with the docs or products. - **Documentation:** every page has a feedback control at the bottom. - **Publisher:** open an issue on [taku-publisher](https://github.com/Taku-OS/taku-publisher/issues). - **Taku OS plugins:** use [taku-os-plugins](https://github.com/Taku-OS/taku-os-plugins). Include version numbers and the `request_id`. Never include tokens, keys or account credentials.