Skip to content
AI Writes Faster. Your Batches Should Get Smaller.
AI

AI Writes Faster. Your Batches Should Get Smaller.

Tony Ruiz
Tony Ruiz

When code becomes faster to produce, teams are tempted to put more of it into each change. It feels efficient: if an agent can complete a week of implementation in a day, why not review and release the whole result together?

Because generation speed is not the same as delivery capacity.

DORA's research says working in small batches predicts software delivery and organizational performance. Its updated guidance also describes small batches as a safety net for AI adoption because they shorten feedback and reduce the instability that higher generation velocity can amplify.

The operational response to faster coding should be smaller changes—not larger bets.

Define a batch by feedback

A useful batch is the smallest change that can produce meaningful evidence. It may be:

  • one API endpoint behind a feature flag;
  • one migrated user path;
  • one policy rule with tests;
  • one integration adapter;
  • one internal user cohort; or
  • one reversible data transformation.

“Complete the billing module” is usually too large. “Allow an internal user to create a draft invoice through the new service without changing the legacy posting flow” gives reviewers and operators a bounded claim to verify.

Keep changes independently understandable

AI agents can generate broad refactors that mix behavior changes, formatting, dependency upgrades, and test rewrites. That makes human review slower and rollback less reliable.

Set change rules:

  1. One primary intent per pull request.
  2. No unrelated cleanup inside a functional change.
  3. Generated files and dependency updates separated where practical.
  4. Clear acceptance evidence attached to the change.
  5. A rollback or disable path for production behavior.

If a change cannot be explained in a few sentences, it may contain several batches hiding together.

Release in vertical slices

Small does not mean technically incomplete. A narrow vertical slice should cross the layers required to deliver one usable behavior: interface, logic, data, controls, telemetry, and support.

Horizontal batches—“build all database tables, then all APIs, then all screens”—delay user and operational feedback. Vertical slices let the team learn whether the complete path works while the scope remains manageable.

Use AI to reduce the cost of small batches

Agents can help teams create tests, documentation, migration scripts, feature flags, telemetry, and repetitive integration code that once made small releases feel expensive.

Use that leverage to improve reversibility and evidence, not to inflate scope.

Measure change lead time, deployment frequency, change failure, recovery, and deployment rework at the application level. DORA's current framework treats throughput and instability together and warns against using one metric as a target in isolation.

Review trends together so one local improvement does not hide a slower or less stable system.

The goal is not more pull requests. It is faster learning with a smaller blast radius.

Cayru's senior nearshore teams combine AI-assisted engineering with continuous delivery, automated quality controls, and pragmatic release design to help clients ship useful changes safely.

Reduce the batch size of one delayed initiative and create a two-week production slice.

Share this post