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.
Apps & websites
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.
2Klikes
136reposts
3.1Ksaves
142Kviews
- Made with
- Codex, Rust
- Role
- 17-year-old developer
- Posted









