06-reference

indy dev dan self compact pi agent zero hype devlog

2026-09-21·reference·source: IndyDevDan (YouTube)·by IndyDevDan
agentic-codingai-agentscontext-managementharness-engineeringagent-architecture

"Self-Compact Pi Agent: ZERO HYPE Agentic Coding Devlog" — IndyDevDan

Full transcript: [[2026-09-21-indy-dev-dan-self-compact-pi-agent-zero-hype-devlog-transcript]].

Why this is in the vault

IndyDevDan is a tracked tier-1 channel for RDCO's own agent-harness practice, and this devlog is a direct case study in agent-controlled context management — letting the agent, not a fixed harness default, decide when to compact — which is exactly the kind of context-discipline decision AGENTS.md hard rule #4 (route long artifacts through subagents) is already trying to solve by hand.

Episode summary

Dan builds a "self-compacting" Pi Coding Agent that owns its own compaction tool instead of relying on a fixed-percentage auto-compact default, giving it graduated soft/warning/forced thresholds plus agent-authored "note to self" hints carried across compaction. He plans the build once in a spec doc with an explicit rubric ("definition of ready/done" plus instant-failure conditions), then runs the identical plan through Claude Code (GLM 5.2), Codex (GPT-5.x "Astra"), and the Pi Coding Agent (Fable 5.1) side by side to compare which model/harness combination actually completes the work and how efficiently.

Key arguments / segments

Notable claims

Guests

Solo — no guests.

Mapping against Ray Data Co

This maps directly onto RDCO's own operating discipline, not just abstractly. AGENTS.md hard rule #4 already mandates routing long artifacts (>5KB) to subagents rather than reading them raw into parent context — Dan's self-sealing pattern is the same problem attacked from the other side: instead of (or in addition to) pre-filtering what enters context, give the agent itself graduated awareness of its own context budget and a dedicated tool to act on it. Two concrete transferable ideas: (1) the "definition of ready / definition of done" rubric-as-prompt technique, which is close in spirit to the sub-agent dispatch acceptance-contract pattern already used in RDCO's own dispatch prompts (verify-dispatch skill); (2) the instant-failure isolation trick (each agent forbidden from touching another agent's spec/programs directory) as a clean way to run true side-by-side model bake-offs — relevant if RDCO ever wants to A/B different models against the same skill spec rather than trusting a single model's self-report. The GLM-5.2-context-blowout result is also a concrete data point for model selection on long-horizon autonomous work.

Related