A ~200-line TS coding agent: cap tool output, compact at 90K, split long loops
TejasKumar_ · x · 2026-12-05
On the aiDotEngineer show (30K+ views), Tejas Kumar built a 200-line TypeScript coding-agent harness from a while(true) loop. Key lessons: cap tool output at 12K chars, compact context at 90K tokens before Haiku 5.5's 5x 100K cliff, and split 122-step loops (29% of runs) into retryable phases. Shared via a repost by LifanBuilds.
More from coding & agent
- Celesto CI Undercuts GitHub Actions by ~90% With Free 20K-Minute Trial — aniketmaurya · 2026-12-05
- Conductor's remote control is live now in experimental settings — charlieholtz · 2026-12-05
- Conductor to support running on network-connected Mac mini by next Thursday — charlieholtz · 2026-12-05
- awesome-llm-apps hits 147k GitHub stars with 100+ open-source AI agents — Saboo_Shubham_ · 2026-12-05
- Qwen3.8-27B tops Hugging Face's most-liked models as open models close gap to 2-5 months — The Decoder · 2026-12-05
- Peter Yang on cloud AI threads: they can't touch my browser or handle multi-GB video edits — petergyang · 2026-12-05