mini-harness: a teaching agent harness in ~1,300 lines of Python with skills, MCP and compaction

PawelHuryn · x · 2026-11-06

Pawel Huryn open-sourced mini-harness (MIT, 1,300-1,400 lines of Python, two dependencies, readable in one sitting) — a fully working agent harness built for teaching:

Motivation: existing minimal harnesses lack goal mode, permissions, skills and MCP — he wanted a complete runnable implementation to explain exactly how a harness is built. Great source-reading material for developers who want to understand agent harness internals.

Related event: Developer Open-Sources ~1,300-Line Teaching-Grade Mini Agent Harness in Python(5 posts)→

Original post →

More from coding & agent

coding & agent channel →