Documentation

Build for VibeOS

VibeOS is an operating system that runs in the browser. Your app is one HTML document that gets a real window, a real filesystem, hosted AI and a place in the App Center on every VibeOS desktop.

window.vos SDKno toolingno API keysfs.watch · rename · deleteDir

Start here

Hello, VibeOS

This is a complete, valid VibeOS app. There is nothing to install and nothing to import — the operating system injects window.vos into your document at runtime.

html
<!doctype html>
<html>
<body style="font-family:system-ui;padding:24px">
  <h1 id="title">Loading…</h1>

  <script>
    function start() {
      window.vos.app.getInfo().then(function (info) {
        document.getElementById("title").textContent = "Hello from " + info.name;
      });
    }
    // The SDK may already be there, or may arrive in a moment. Handle both.
    if (window.vos) start();
    else window.addEventListener("vos-ready", start, { once: true });
  </script>
</body>
</html>

Run it right now

Paste it into the VibeOS IDE to see it running against the live SDK, with a JavaScript console and a file explorer beside it.

How apps work

Your app runs inside a sandboxed window with no direct access to the desktop, other apps, or the network. Everything the operating system owns is reached through the SDK, and everything the SDK can do is scoped by permissions the user approved when they installed you.

  • One document. All markup, CSS and JavaScript inline — no external scripts, stylesheets or fonts.
  • One global. window.vos for files, AI, network and app info. Every method returns a Promise.
  • User-approved capabilities. Ask for the minimum; nothing is granted implicitly and permissions are re-checked on every call.
  • Nothing to operate. No hosting, no keys, no billing — AI runs on the signed-in user's plan.

The runtime architecture page explains the bridge, the lifecycle and the trust boundary behind all of this.

Choose an app type

.vibe appWebsite app
What it isOne JSON manifest with your inline HTML documentA wrapper around a URL you host
HostingNone — VibeOS serves itYou host and maintain the site
SDK accessFull window.vos surfaceNone — it runs as an embedded site
Best forNative-feeling tools, games, utilities, anything using files or AIBringing an existing web app to the desktop

The SDK at a glance

NamespaceUse it forRequires
vos.fsReading, writing, renaming, deleting and watching files in Home or your private app folder.read
vos.aiHosted chat completions on the user's plan — no keys, no billing.ai: true
vos.netCORS-free HTTPS requests to origins you declared.network
vos.appYour app's name, id, private folder path and granted permissions.Nothing

Documentation map

Everything is testable before you submit

The IDE runs your app against the real SDK with a console and a file explorer, so you can verify persistence, permissions and error handling without publishing anything.