SurfOS
SurfOS is the operating system I wrote in 2004. I’ve updated it for the agentic age so developers can work with an AI coding agent to build it, boot it, and test changes.
The original x86 kernel
I wrote the original kernel in C and assembly for x86 PCs. That source is still available. Today SurfOS boots into its own command shell, and its graphical desktop includes a file browser, a terminal, and a code editor.
How a coding agent can test a change
The same kernel now runs on x86 PCs and SurfCPU, the project’s custom RISC-V processor. Say a developer asks a coding agent to change how SurfOS reads a file. The developer guide shows them where to find the shared code and how to boot both versions in an emulator to check that the file still opens.