cd /news/ai-agents/small-batches-still-matter-when-agen… · home › topics › ai-agents › article
[ARTICLE · art-148169] src=markoanastasov.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Small batches still matter when agents write the code

A team told a practitioner this week that it tries to cap pull requests at 500 lines but keeps failing, because AI coding agents never tire and keep generating code until a feature looks complete. The practitioner still recommends splitting large changes into reviewable, independently deployable chunks, with the agent maintaining a Markdown plan file that each fresh agent session reads at the start and updates at the end. The stated rationale is that agents writing code does not remove the need for people to understand the systems they are responsible for.

read1 min views2 publishedOct 9, 2026
Small batches still matter when agents write the code
Image: source

Spoke with a team this week who told me they try to cap pull requests at 500 lines and keep failing.

The cap is there to stop people throwing slop grenades with 10k lines of code at each other. Agents never get tired. They keep going until the feature looks complete. Before AI, some people worked the same way, spending days or weeks in a branch and only asking for review when they felt done.

Continuous Delivery taught us to ship in small batches for two reasons: so a human can understand each change, and so we can roll it back quickly when something breaks. Agents writing the code doesn’t change the fact that people need to understand the systems they’re responsible for.

So I still recommend splitting large changes into chunks that can be reviewed and deployed on their own. The simplest way today is to have the agent write a plan in a Markdown file and keep it updated as it goes. Then each change gets a fresh agent session that reads the plan at the start and updates it at the end.

The best unit of work is still what fits inside our head.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/small-batches-still-…] indexed:0 read:1min 2026-10-09 · —