The world’s first agent-native operating system from the future.
Yu OS is under active development; its architecture, APIs, and behavior may change significantly.
Agent-native is the whole bet: the next operating system is one where the assistant is not a tab you open but the layer the system runs through. Here that means:
- The AI is part of the system, not an app on top of it. It runs as a privileged system service, not in a sandbox, so you can just ask the things an app could never reach — "why is my network so slow?", "why did that app just crash?", "why can't I get online?", "what's eating my disk?" — and it actually looks at your processes, logs, network, and resources to answer.
- It understands every app. The agent can inspect which apps are installed and used, what permissions they have, what resources they can access, their activity and history, their logs, and the evidence behind a crash. It can connect that app context with the rest of the system instead of diagnosing each app in isolation.
- One agent across every app. Instead of a separate, siloed assistant inside each app, a single agent spans the whole machine — it can drive several apps in one request (read a document, draft an email, post a notification) and reasons from real system state, not just one app's view.
- It remembers. The agent has persistent memory across conversations: what you did in your apps, what changed on the system, your preferences, and context that carries from one app to the next — so you never re-explain yourself. It's your memory; you can review it and forget any of it, down to a single app.
- Every app can use the system's models. Apps call the built-in model layer through the Yu OS SDK, whether the model runs locally or through a configured cloud provider. Developers can build AI-powered apps without embedding a model or rebuilding provider integration, credentials, consent, budgets, safety, and logging.
- Local-first. The system's intelligence belongs on your own machine, not someone else's servers. As edge hardware (CPU / GPU / NPU) matures, fully on-device "edge AI" becomes the default; today it runs local models where your hardware can handle it and falls back to cloud AI APIs where it can't — without changing how you use it.
- Apps open up to the agent. Every app publishes what it can do and the
permissions it needs through the
yuos-sdk(Rust, Python, Node, Go). The agent can discover and call those APIs, then combine operations from multiple apps into complex workflows. - Safe by construction. Every privileged action goes through a capability check and your approval, so "system-level" never means "unrestricted" — looking, changing, and touching the kernel are each gated separately. Primitives return structured, machine-readable data instead of scraped UI, and setting up, asking, chatting, and diagnosing are first-class parts of the OS. Agent consent is bound to the exact validated capability rather than a coarse tool name; see Capability-aware Agent consent.
Together, the system-level agent, persistent memory, local-first model runtime, scoped permission model, cross-app session store, audit trail, and app SDK form one integrated agent-native OS layer.
Application products are developed in
yuos-app and composed into signed
OS packages from an immutable source pin. Native Notifications now lives there
with its complete UI/MCP/config/util source; Yu OS retains notification
authority, durable state and delivery. The migration plan
distinguishes source ownership from pending legacy data and visual cutovers.
Ubuntu — install the Agent layer without replacing Ubuntu
Install the signed yuos-agent package on an existing Ubuntu system:
sudo install -d -m 0755 /usr/share/keyrings
curl -fsSL https://xiaoyu-work.github.io/Yu-OS/apt/yuos-archive-keyring.gpg \
| sudo tee /usr/share/keyrings/yuos-archive-keyring.gpg >/dev/null
ARCH="$(dpkg --print-architecture)"
echo "deb [arch=$ARCH signed-by=/usr/share/keyrings/yuos-archive-keyring.gpg] https://xiaoyu-work.github.io/Yu-OS/apt trixie main" \
| sudo tee /etc/apt/sources.list.d/yuos.list >/dev/null
sudo apt update
sudo apt install yuos-agentVerify the daemon:
systemctl is-enabled yuosd.service
systemctl is-active yuosd.service
sudo systemctl status yuosd.service --no-pagerWSL — local build
Build the WSL distribution from source and import it from PowerShell.
Docker / OrbStack — local build
Headless VM — experimental
Build and boot the default headless QEMU image:
sudo ./build.sh vm
qemu-system-x86_64 -m 2G -nographic \
-drive file=build/yuos-vm-amd64.qcow2,format=qcow2,if=virtioOn first boot, the serial console requires you to set a password for the
locked yu account before it starts the normal login prompt. The image ships
with no default password. Then log in as yu with the password you just set;
sudo uses the same password.
Desktop / ISO / VM — experimental
Build a bootable desktop VM disk image and load it in VMware — see Building the Yu OS Desktop Image for the steps on Windows (WSL2), macOS, and Linux.
Azure Compute Gallery — generalized fixed VHD
Build a generalized Hyper-V Generation 2 fixed VHD:
sudo ./build.sh azureAzure supplies the administrator and SSH key for each VM through cloud-init. See Building an Azure Compute Gallery image for desktop builds and publishing commands.
Updating an existing installation
Package-level fixes to yu, yuosd, bundled apps, browser automation, and
systemd units do not require reinstalling the operating system or replacing
its image. Yu OS uses the same signed APT update path across WSL, installed
desktop/VM systems, Azure instances, and long-running containers:
sudo apt update
sudo apt full-upgradeSee Updating Yu OS for repository checks, setup for older images, service restart behavior, container guidance, and the exceptional cases that require a new image.
Call structured system primitives directly, or ask the built-in agent to choose and combine them:
yu # list primitives
yu app web read https://example.com # fetch URL → {url, title, text, links}
yu agent setup text # configure the conversational text model
yu agent ask "why is my network so slow right now?"
yu agent ask "why did my last app crash?"
yu agent chat # interactive REPL with cross-app memoryApache-2.0 for original Yu OS components. See the NOTICE for
vendored sources and their upstream licenses.
