TannX OS GitHub

Apps and drivers

Apps for people. Drivers in C. All of it in ring 3.

Everything below is in the v2.89 release image – the same image boots in your browser. Commands are typed at the tannx> prompt or picked from the desktop's Help menu. Source: the project README.

60-second demo

A model wrote this script over the wire.

From the README: llmscript asks the model for a TannX script, the OS persists it through its own disk driver into an AgentFS slot, and script 6 executes it – ring-3 agents, scheduler, fault isolation and all. The transcript below is the real one.

tannx · serial console
tannx> llmscript 6 find the 100th prime and celebrate with a beep
--- the LLM wrote: ---
spawn prime
task prime 100
sleep 40
tasks
beep
echo 100th prime found
----------------------
llmscript: saved to slot 6 - run it:  script 6
tannx> script 6
>> Agent [0] prime done = 541
Beep!
100th prime found

In motion

Boot, agents, forest – recorded in QEMU.

Animated captures from the repository. The first two load as you scroll; the full boot-to-tour recording is about 1 MB and loads on request.

Full-screen programs

Fourteen apps on one framebuffer toolkit.

Two syscalls carry them: SYS_FGRAB – an app owns keyboard and framebuffer – and SYS_SHELL – type a line into the shell. The tour runs spawn prime for real this way and reads the result back.

gui

Dark Glass desktop

The compositor: windows, an agent panel with live cards, a clock, the wish console. Renders via virtio-gpu or the firmware framebuffer.

run tour

Guided tour

Explains the OS in the brand style while it runs real agent commands live and shows their output. Enter steps forward, q leaves. Start here.

forest

Forest

The agent table as a living forest: a fir per slot that grows a tier per finished task, glowing crowns for busy agents, seeds flying to the tree that works, aurora and stars.

fetch

Fetch

The neofetch-style card: the fir in teal block art next to version, kernel budget, uptime, boot path, cpuid, E820 RAM, display mode, agents and tasks, NIC, disk and the palette strip.

run chat

Chat

Talks to the model in message bubbles over the same proxy path as llm, with scrollback and a proxy status chip.

run edit NOTE.TXT

Editor

A nano-like editor – arrows, Home/End, PgUp/PgDn, Ctrl+S, Ctrl+Q – that saves onto a FAT volume or, without one, into an AgentFS slot a script can run.

run sysmon

Monitor

Live agent roster with state and done counts, the task queue, the ring-3 heap, NIC link and rx, and a scrolling graph of the CPU share the agents hold.

run www example.com

Text browser

The host proxy fetches over HTTPS and strips HTML to numbered-link text; private addresses are refused (SSRF-guarded).

run files

File manager

For the FAT volume on a disk or USB stick: sizes, free space, a viewer, delete.

run rec

Recorder

Intel HDA playback and capture: level meter, scrolling waveform, playback, WAV to the FAT disk. R records, P plays, S saves.

run synth

Synthesizer

Two octaves on the keyboard, four waveforms, ADSR envelope, an oscilloscope. run synth demo plays a score by itself.

run voice

Voice wish

Speak; the host proxy transcribes with Whisper; script 7 plants the wish. The whole loop in one line: run voice; wait; script 7.

run shot

Screenshots

Writes a BMP to the FAT volume or streams the framebuffer to the proxy, which saves a PNG.

run cast https://youtu.be/…

Chromecast

YouTube and http(s) media to a TV on the host's LAN; the proxy drives only Chromecasts it discovered itself by mDNS.

run rain

Agent rain

The screensaver.

invaders

Games

Snake and Space Invaders in ring 3. Space Invaders was the first wish that arrived through the acknowledged netwish channel from the test PC.

script 6

Script engine

Runs slot text as commands: sleep, if, repeat, two registers, waittask, waitall, wait. llmscript lets the model write them; autopilot chains them forever.

llm @ollama hello

LLM commands

llm asks a model from the shell (@api, @openai, @ollama), spawn ask is an LLM agent on the real agent ABI, autopilot [mission] asks what to do next, does it, asks again.

Ring-3 C userland

Drivers that live in userspace.

Possible because two syscalls, pci_cfg and mmio_map, let a ring-3 program configure a PCI device and map its MMIO. Fault isolation still applies: a driver that crashes takes itself down, not the box.

NVMexHCI USB mass storagevirtio-blkvirtio-gpuIntel HDA, playback + captureFAT16/FAT32 read+writeTCP/IP: ARP · IPv4 · ICMP · DHCP · DNS · TCP · HTTP clientHTTP server with live status page and uploadbaseline JPEG decoder · M-JPEG player

In the kernel

And the drivers in assembler.

Written in GNU assembler inside agentos32.S, polled rather than interrupt-driven where it keeps the kernel small.

VGA text + VBE/GOP framebufferPS/2 keyboard and mouseEHCI USB HID16550 serialPIT / RTCATA PIOAHCI/SATA + ATAPIRTL8139RTL8168e1000virtio-netAC97PC speaker

Stills

Screens from the release.