RC RANDOM CHAOS

Ambiance: An Agent Harness Built on Unix Instead of Chat Panes

· via Hacker News

Original source

Towards a harness that can do anything

Hacker News →

A developer argues that most LLM agent harnesses fail because they fight the model instead of leaning on what it already knows. Coding and systems administration dominate training data, so an agent handed a familiar Unix/Linux environment wastes far fewer tokens than one dragged through a bespoke framework. The stated design goals are a tiny core prompt with skills loaded on demand, maximum determinism in how goals get pursued, loud-failing modular tools, and thorough logging so failures can be audited or self-healed at runtime. Since LLMs degrade as they near context limits, the whole philosophy is to minimize cognitive load measured in tokens.

The author’s prototype, Ambiance, treats everything as a flat text file and maps external data sources onto the Filesystem Hierarchy Standard — logs in /var, config in /etc, agent workspace in /home — so the model can navigate and grep its world natively. The notable departure from convention is scheduling. Rather than the heartbeat model used by always-on agents like OpenClaw (a full LLM turn every 30 minutes to poll for changes), Ambiance uses an event bus dubbed “the Kernel” that watches files with cursors and wakes the model only when something actually changes, while also acting as a safety layer that vets each action. Work is split across three specialized LLM “users”: root for system and tooling, pai for human-facing interaction, and librarian for journaling.

The underlying bet is that a model’s priors are the cheapest resource available, so a harness assembled from primitives the model already understands — files, users, logs, docs — will outperform one it has to be taught. The piece is more design manifesto than shipping product, but it captures a real tension in agent tooling: heavy frameworks accrue rules and warnings that fade turn over turn, whereas a transparent, filesystem-native substrate gives the agent genuine agency over itself.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.