Everything is a file: designing an agent harness for LLMs as the OS user

remilouf · x · 2026-12-02

Part 1 of remilouf's seven-part engineering notebook on the ansi Rust harness argues LLMs are a new kind of OS user: native text, finite RAM, no mouse, choked by UI chrome and schema bloat. Batteries-included harnesses like Claude Code haul 30-60 JSON tool schemas and 180KB API dumps into context, stacking MCP, subagent RPCs, permission modals and frontend protocols on a fragmented surface. The fix: re-bend OS primitives around the LLM—Plan 9-style everything-is-a-file, Bash-only, content-addressed prompts, event-driven design.

Original post →

More from coding & agent

coding & agent channel →