Apps & websites Open source

Octopus OS: an agent harness agents can edit themselves

Vechen, a 17-year-old developer, built Octopus OS, an open-source agent harness where agents can modify the harness mid-task. A 45k-line Rust kernel holds the system, and the desktop app took three months on the Codex source.

View on X
2Klikes
136reposts
3.1Ksaves
142Kviews
Made with
Codex, Rust
Role
17-year-old developer
Posted
vechen@miu21590

Introducing Octopus OS, a reinvented agent harness.

Agents can edit their own harness in the middle of a task, on their own. Unlike Harness² and similar projects, self-improvement isn’t a separate stage bolted onto the agent. The whole architecture is just the environment they work in.

Over 8 months, chasing self-improvement that feels truly native, I dropped the usual agent loop entirely and designed a new architecture that works a lot like a real operating system, with a 45k-line Rust kernel holding it all together. The system state lives in JSON files: goals act as real environments where agents work, along with inputs, outputs, and custom triggers they respond to. Agents can edit all of it while they work inside.

It was also built as a product from day one, not a research demo. The full desktop app took 3 months, built on top of the Codex source.

The client already works, and you can use it today like any other agent, Codex included.

And it’s open source.

View on X
Still from the video

More in Apps & websites

Touch ID enrolled from Linux on a wiped T2 Mac, after nine yearsApps & websites@macintogdev2992797
60 more three.js components added to an open-source UI libraryApps & websites@MengTo1.1K961.2K
Open-source video production studio, built with Claude Code or CodexApps & websites@jorgevayron718691.2K
A free reverse-engineering tool where your agent reads the binaryApps & websites@chiziaruhoma761139735