MixViu
An agent-first operating environment

One computer,shared by peopleand AI agents.

MixViu is a shell, a service host, a compositor and a widget toolkit that all speak one message Bus. Anything you can click, an agent can ask for, and both go through the same door. Built for people.

open source · MIT OR Apache-2.0pure Rust foundationsapps written in MixWayland native
mix — a Bus-native shell
What is it, in plain words?

Four engines. One conversation.

Most computers are a pile of separate programs that only a human with a mouse can tie together. MixViu gives every program a front door that takes structured requests, so a script, a keyboard shortcut and an AI agent all ask for things the same way. Four engines share the work.

mix

the shell and language

Your login shell, REPL and script runner. Values are lists and maps, not text to re-parse, and talking to any service is one line.

  • structured results
  • programs run by argv
  • send is a keyword

mixd

the headless host

One binary for servers, holding every headless service: the Bus router, mail, web, DNS, media. No display code inside.

  • one multi-call binary
  • Mix services as Bus citizens
  • built for servers

viud

the compositor

The Wayland compositor and nothing else: pixels to the screen, input from your hands, and authority over windows and outputs.

  • scanout, render, capture
  • window and output authority
  • the comp Bus service

viu

the widget toolkit

Widgets and scenes. A scene document says what is on screen and what it binds to. A Mix behaviour decides what happens.

  • scene documents
  • Mix behaviours decide
  • shell and apps share widgets
The two-minute tour

How the pieces work together

Eight animated slides. They advance on their own; hover to pause, use the arrows or swipe, or press space.

01 · THE PROBLEM

Computers were built for clicks.

Every app is an island. To get one to do something, a person clicks, or a program pretends to be a person: it reads pixels, guesses where the buttons are, and breaks when the layout moves.

That is how most AI agents use a desktop today.

02 · THE BUS

Give every program a front door.

In MixViu every service and app joins one Bus and answers commands named owner.verb: maild.accounts, comp.windows.list, dopus.execute. The node daemon routes them and checks who may ask.

One transport, everywhere. No second message system on the side.

03 · MIX

mix: the language everything is driven in.

The same language is your shell, your scripts, your services and the behaviour of your apps. Results come back as maps you can index, not text you have to cut up. Agents do not get a special API; they write Mix and send Bus commands, like you.

Mix understands structure, not English. The agent does the English.

04 · MIXD

mixd: one binary, many services.

On a server, a single mixd binary holds every headless personality: the Bus router, mail, web, DNS, settings, media and more. Each one is a Bus citizen. Many new services are just a Mix script run with mixd serve.

No display or GPU library is linked in. It is built to sit in a server rack.

05 · VIUD

viud: the compositor, and only that.

viud owns the screen: it draws frames, takes keyboard and mouse input, captures the display and decides where windows go. It does not contain a widget toolkit.

It also answers on the Bus as comp, so a script can list windows, move them or record the screen, with a clear rule about which apps may be driven by an agent.

06 · VIU

viu: scenes describe, Mix decides.

An app is a scene document plus a Mix behaviour. The scene lists widgets and what they bind to. The behaviour holds the logic and updates a model; viu redraws whatever the model touched.

The panel, the launcher and ordinary app windows use the very same widgets.

07 · ACTIONS

Two commands that every app answers.

<app>.actions lists what an app can do, as data with typed parameters. <app>.execute {id, params} does one of them.

Menus, keyboard shortcuts, the command line and AI agents all end in that same execute. Nothing an agent does is a back door; it is the front door, used by everyone.

08 · TOGETHER

One request, end to end.

You ask an agent to tidy your downloads. It reads dopus.actions, then sends dopus.execute over the Bus. The node daemon checks the agent may ask. Dopus's Mix behaviour does the work and updates its model, viu redraws the pane and viud puts the frame on your screen.

Every hop is a Bus message, and the node daemon keeps a history of them: who asked, what, and when.

1 / 8
The front door, live

Four ways in. One way through.

Watch the Monitor app's “Refresh now” action arrive four different ways. Each one becomes the same execute call, with the same checks, the same result and the same record.

  • No hidden agent API that skips the rules
  • No screen scraping: actions are data, with typed parameters
  • A disabled action says why, so an agent can explain it to you
MenuFile ▸ Refresh now
ShortcutCtrl+R
Shellsend monitor monitor.execute
Agent“refresh the process list”
monitor.execute
waiting…
Why bother?

What changes when everything has a front door

The usual way

  • Shell scripts glue text from one tool into the next and break on a stray space
  • Every service has its own API, client library and config language
  • Agents drive apps by screenshots and simulated clicks
  • “What just changed, and who did it?” is a hunt through logs

The MixViu way

  • One language passes structured values from end to end
  • One Bus, one naming scheme, the same two commands in every app
  • Agents use the same actions you do, with the same permissions
  • Bus traffic is recorded, so the system can show you what it did

Curious newcomers

See what a computer looks like when it is designed for conversation, not just for clicks. Start with the FAQ.

Server folk

One binary, one shell and one language from the login prompt to the mail server. Mix replaces a stack of glue.

Agent builders

A system whose state and actions are typed data, reachable through one Bus, with MCP offered at the edge.

Desktop tinkerers

A Wayland desktop whose apps are scene files and Mix scripts you can read, change and reload.

Counted from the public repository at build time

24 days of MixViu

1419commits on main
931Mix source files
26services
16app bundles
Straight talk

Where it stands today

MixViu is young and moving fast. One person builds it with several AI agents, and it runs every day on its own desks and servers. It is not yet something you can download and install in five minutes.

Working now

  • mix as a daily login shell
  • mixd running real mail and web sites
  • viud desktops with Dopus, Email, Term, Monitor, Prefs
  • Bus actions across every app
  • pure-Rust AV1 + Opus media

Not the goal

  • a chatbot glued onto an old desktop
  • a hidden agent API that skips your permissions
  • natural language inside the shell: agents do that part
Start here

Take the deeper tour.

The how-it-works page takes each engine apart with live diagrams, and the Mix page shows real code with output captured when this site was built.