Skip to content
Taku Docs

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

NameMeaning in this chapter
Agent Harness, the broader execution systemThe mechanisms organizing model calls, tool execution, context, task coordination and feedback; responsibility is spread across existing components
Taku Harness moduleThe 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
System relationship diagram. Boxes describe responsibilities, not process isolation or a verified security sandbox.

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

PartResponsibilityRead next
DeepSeek and other model servicesInfer from input and return text or tool-call requests; the current DeepSeek path uses an online APIModel connections
Codex App ServerManage native conversations, turns, items and the model/tool loopComponents and responsibilities
MagpieThird-party open-source model gateway; provides an on-device gateway and catalog, routing requests to configured upstream servicesOn-device DeepSeek tutorial
Taku Harness moduleSupply versioned background, append changes and link execution trace informationContext 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

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

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