ButterOps

PLA

Performance Livestock Analytics is a software company of about 50 people. Here is where its engineering and revenue teams started, what we changed together, and what came of it.

PHPGoSwiftReact/TypeScript
~50 people · 12 engineers · 4 codebases
Before we started

Twelve engineers, four codebases, and AI used only here and there.

A few people paid for their own AI subscriptions, and there were no shared standards for how to use it. Much of the code was a decade-old PHP codebase that people were careful around, and the team merged about 65 changes a month. The revenue team wasn’t using AI at all.

We began with a pod of four engineers and grew from there.

65merged changes a month, on average, in 2025
12engineers
4codebases: PHP, Go, Swift, and React with TypeScript
0shared standards for using AI
Noneof the revenue team using AI
4engineers in the first pod
The numbers

What changed after we installed the practice.

These results came from the same team, and they were proven on real runs.

Engineering throughput
~4×

The same 12 engineers merge about four times as many changes a month, and reverts fell from 1.41% to 0.25%. Throughput compares the 2025 monthly average with July-September 2026. Reverts compare 2025 with April 1-October 11, 2026.

2025
65
Jul to Sep 2026
~260
ML modelRewritten in Go
~15×

A large pre-AI ML model behind product insights now runs about 15× faster. It was rewritten in Go with byte-for-byte parity against its test suite, and the AI-written proofs found long-standing bugs.

Before
1×
Rewritten
~15×
Roadmap
2quarters

Roadmap projects were pulled forward two full quarters, and a full backlog was cleared before year end.

AWS billProjected
33%

A projected 33% savings on the AWS bill.

How we proved it

Our biggest change made product data fresh in real time, and it removed the caches without adding any new databases.

It entered production October 9, 2026. The following is the October 11 snapshot.

  • Run the whole change against real systems and data. We used executable checks and a test environment based on the production application to verify the full process. With the change switched off, responses for 250 yards were byte-for-byte identical to the existing code, and the 15,386 database reads matched one for one. Switched on, the same response came back while 500 per-yard lookups collapsed into 2.
  • Real runs caught what review missed. A teammate ran the change in his local Docker test environment and found seven real bugs, including two security issues and a crash-restart loop. An AI review had already approved the change. All seven were fixed before it shipped.
  • Check what happens when operations overlap. Modeling the refresh rules exposed a bug in the existing code that tests and review had missed. As of October 11, we had reproduced it with a failing test and were verifying the fix.
  • The rule we took from it. Every issue that review missed was caught by a check that actually ran the code.
  • Interim snapshot, October 11, 2026. In its first 48 hours it had 0 restarts, 0 refusals and 0 errors.
How it unfolded

How the team went from skeptical to clearly ahead.

Where it started

AI use was scattered and personal.

There were a few personal AI subscriptions, no shared standards, and a decade-old PHP codebase that people were careful around. Merges ran at about 65 a month.

First

The practice reached all four codebases, safely.

Environments, tests and agent checks came first. That made rewriting old code safe, including the pre-AI ML model, which was brought to byte-for-byte parity and made about 15× faster.

Then

Throughput reached about 4×, with fewer reverts.

The same 12 engineers merged about four times as many changes a month, and reverts fell from 1.41% to 0.25%.

What that allowed

Leadership could take on more at once.

Roadmap projects moved forward two full quarters, and a full backlog was cleared before year end.

Most recently

Product data became fresh in real time, with no new machinery.

The caches were removed and fresh data became possible with no new databases or heavy infrastructure, and it was verified against realistic systems and data before it shipped. It also set up the codebase for its rewrite toward MCP and Connect.

How the rollout ran at PLA

There was no big-bang change program.

The rollout happened alongside real project work, with the same people shipping while the practice spread.

It went roughly in this order: one pod first, then all four codebases, then the revenue team. Each step followed real work rather than a schedule.

The adoption curve, from the repositories

Merges in the product repositories went from 49 in March to 88 in April and 248 in May, then to about 4× the 2025 rate from July to September, with the same 12 engineers.

Beyond engineering

The revenue team now runs work that used to be manual.

It went from no AI to running its own automations, dashboards and integrations.

Commission reporting, before and after
Before
  • Quarterly commission payouts were built by hand in a spreadsheet from a CRM activity view. The fiddly parts (day-by-day allocation, the tracking threshold, and the cumulative total minus what was already paid) were typed, not computed.
  • The revenue data feeding it had drifted out of sync with what customers actually paid.
After
  • One read-only command produces the quarter’s payouts straight from the CRM and the billing system, using the commission workbook’s own formulas.
  • It refuses to print unless it reproduces all 16 payout cells of the workbook exactly, and an audit trail links every figure to its source records.
  • The even-split workflow was replaced by a day-aware one. It was dry-run against the live book first, where 82% of customers needed no change and there were 0 errors.
  • Automated and reconciled against every payout cell, it caught real errors on the first run.
  • The commission owner can now run it themselves, with written instructions that encode the definitions.
Compute and CI

We also looked at what compute and CI cost.

AWS billProjected
33%

A projected 33% savings on the AWS bill.

CI volumeModeled
~4×

About 4× the CI volume for about today’s cost, modeled. The always-on CI runners were retired. They had sat idle 94% of the time while merges queued for about an hour.

Next: ButterTrip, our playground and incubator

Free45 minutesWith Tyler and Julian

Let’s talk about what your team could do with AI.

In a free, 45-minute conversation, we learn how your company works and what isn’t working, sketch what working together could look like, and agree on next steps. If it makes sense, a written proposal follows within 24 to 72 hours.

Book a no-obligation conversation