Harness Engineering posts
How I run coding agents as a system instead of a chat window: orchestration, delegating to cheaper models, independent review, scheduling around usage limits, and proving that work is done. Notes from an agent loop that runs unattended on my own machine.
DeepSeek and GLM as Worker Models: A December 2026 Review
The cheapest tier in my agent loop still calls a DeepSeek checkpoint DeepSeek retired in September. What is current from DeepSeek and GLM, what it costs, and where each fits under an orchestrator.
The Help Flag That Published a Blog Post: Writing Scripts for Coding Agents
A session in my agent loop ran a script with --help to read its usage. The script had no help flag, ignored the argument and published a blog post. It was one of six calls in eleven weeks where an argument a script did not know ran something for real. Here is what those incidents say a script should do before an agent calls it.
What Is Not Evidence: Seven Times My Agent Loop Was Confidently Wrong
For 264 ticks my production monitor wrote an empty health map and no warning. My agent loop now keeps a written list of things that are not evidence of done, and every entry on it is an incident where a check returned a plausible answer, usually a zero or a green, instead of an error.
Every Model's Code Is a Draft: My Three-Tier Review Rule
In the loop I run, nothing a model writes ships because the model wrote it. Verification has three clauses, and the third one, independent review, has three tiers with a strict order of preference and a hard exception for payments code.
Handing a Half-Finished Job From My Session to a Headless Agent
An interactive session and a scheduled agent share one subscription and one repo. When the session hits its limit mid-ship, a queued resume job must start exactly once, only after the session stops, and know what was done. The mechanism is a lease, a ledger, and a prompt that re-enqueues itself.
Two OpenRouter Cost Traps I Found by Reading Receipts, Not Docs
Reasoning effort defaulting to max cost 6x on a task that needed no thinking, and two identical calls billed 2.2x apart because the provider kept changing. Both are now hard-coded against in the wrapper that runs my loop's utility coding.
A Scheduler That Only Runs Coding Agents With Headroom to Spare
My autonomous loop shares a Claude subscription with the human who owns it. The scheduler ticks every 20 minutes and decides whether an agent run fits in the current usage windows. It broke once by reading the wrong rate-limit snapshot: 0% at 93%. Here is the policy, the math, and the bug.