Version 1.4.0 (current)
Understanding the Taku OS Harness
Place the agent execution system within Taku OS and distinguish it from the Taku context module.
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.
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.
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
| 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 |
| Codex App Server | Manage native conversations, turns, items and the model/tool loop | Components and responsibilities |
| Magpie | Third-party open-source model gateway; provides an on-device gateway and catalog, routing requests to configured upstream services | On-device DeepSeek tutorial |
| Taku Harness module | Supply versioned background, append changes and link execution trace information | Context and recovery |
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
1. Components and responsibilities
2. How a task executes
3. Context, updates and recovery
4. Inspect and troubleshoot
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.
Research preview · Current availability
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
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.
Components and responsibilities
Separate task scheduling, native conversations, model connections, context, Skills and Android tools.