CodeMode set to take over agent harnesses: keep tool results in the REPL, print only what's needed

dosco · x · 2026-12-02

A discussion on where agent harness design is heading. Patrick Toulme argues tools like Read, Edit, and Bash are constructs for humans, and that CodeMode — where agents just write chained TypeScript to manipulate their harness — will take over all major harnesses, noting adoption already in Opencode and Claude Code (beta), with much better token efficiency.

dosco adds a practical detail from his ax-agent: keep tool results in the REPL too, so the model only prints what it needs — the RLM pattern that further cuts context overhead.

Original post →

More from coding & agent

coding & agent channel →