Skip to content
Taku Docs

Version 1.4.0 (current)

Agents and execution

Follow a user request through phone commands, visible state, and results.

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 for progress on creating, testing, loading, and retaining extensions during use.

To run a task now, start with your first task. To write code that queries the device directly, use your first device tool. This page explains the components behind those two paths.

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.

StageResponsibility
Home or assistant inputReceive the user request
System task serviceManage task IDs, the queue, and execution state
Codex App ServerManage conversations, tool calls, approvals, and interruption
Android commands and app interfacesPerform actions and expose results that can be checked

For the current interface, see Tasks and 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

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.

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

TopicDocumentation
queued, running, completion, and errorsTask lifecycle
The current device executorCodex device path
Adapting another Agent runtimeRuntime boundaries
Calling application business functions directlyApplication interfaces
Using main and background screens togetherIndependent 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 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 to turn a query into repeatable code.

Research preview · Current availability

Documentation retrieval

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

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

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

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

Built with Fumadocs

On this page