<labelid="sidebar-toggle"class="icon-button"for="sidebar-toggle-anchor"title="Toggle Table of Contents"aria-label="Toggle Table of Contents"aria-controls="sidebar">
<inputtype="search"id="searchbar"name="searchbar"placeholder="Search this book ..."aria-controls="searchresults-outer"aria-describedby="searchresults-header">
<p>This document provides a high-level overview of the architecture, core technologies, and guiding principles for developers looking to build on or contribute to the Dao OS ecosystem.</p>
<li><strong>Web-Native & Portable</strong>: We leverage technologies born from the web as the <strong>primary path</strong> for application development, creating a portable core that runs anywhere.</li>
<li><strong>Polyglotism via WASM</strong>: The core application logic is compiled to WebAssembly (WASM). This allows developers to use their language of choice (like Rust, Go, or Nim) to write high-performance logic.</li>
<li><strong>API-First</strong>: The interaction between application logic and the user interface is defined by a strict, versioned API contract, enabling true decoupling.</li>
<li><strong>Security-First</strong>: All third-party application logic runs in a secure sandbox within the Meta Unit, adhering to the "principle of least privilege."</li>
<li><strong>FOSS (Free and Open Source Software)</strong>: The entire core protocol and reference implementations are open source to foster transparency, community trust, and collaborative innovation.</li>
<h2id="the-application-development-paths"><aclass="header"href="#the-application-development-paths">The Application Development Paths</a></h2>
<p>From a developer's perspective, a Dao OS application consists of a backend "soul" (WASM Service Module) and a frontend "skin" (UI). We offer multiple paths to build them, catering to different needs and preferences.</p>
<h3id="1-the-mainstream-path-recommended-start"><aclass="header"href="#1-the-mainstream-path-recommended-start">1. The Mainstream Path (Recommended Start)</a></h3>
<p>This is the most robust and accessible path.</p>
<li><strong>Backend (Hosted by <code>Core Avatar</code>)</strong>: The application's core logic, existing as a WASM module written in Rust or Go. While it can run on any Avatar, its persistent and resource-intensive tasks are typically designed to be hosted by a <strong><code>Core Avatar</code></strong>.</li>
<li><strong>Frontend (Rendered by <code>Facet Avatar</code>)</strong>: A standard <strong>Web Application</strong> (using TypeScript/JavaScript and a modern framework). This UI is designed to run inside our official, secure <strong>"Dao Web Avatar"</strong>.</li>
<h3id="2-the-accelerated-path-the-nim-sdk-officially-supported"><aclass="header"href="#2-the-accelerated-path-the-nim-sdk-officially-supported">2. The Accelerated Path: The Nim SDK (Officially Supported)</a></h3>
<p>For maximum productivity, we provide first-class support for <strong>Nim</strong>.</p>
<li><strong>Backend (Hosted by <code>Core Avatar</code>)</strong>: The application's core logic, compiled from Nim to <strong>WASM</strong>. Like the mainstream path, it's ideally suited for execution on a <code>Core Avatar</code>.</li>