Agency client record for a fictional client, showing an auto policy's coverage, vehicle and drivers, and a home renewal re-quoted across four carriers

Equal Parts

Platform engineering · InsurtechScaling a product team that ships with AI
UI mockup with a fictional client, carriers and data. Not Equal Parts' product.
Overview

Equal Parts ($23M Series A) buys insurance agencies and runs them on one AI-powered platform.

Built withEqual Parts product & engineering team
ScopeCI/CD & Release Gating
Test Strategy
Documentation Systems
AI Agent Guardrails
My roleLed frontend engineering at Equal Parts. I was brought in to set the guardrails that let a fast-moving, AI-assisted team scale without building itself into dead ends.
The shift

Writing code got cheap. Keeping it coherent didn't.

AI coding tools changed who ships. A feature that took a week now takes an afternoon, and it can come from an engineer, a PM, or an agent running in someone’s terminal. Output stopped being the constraint. The constraint became a codebase that holds together when everyone can change it.

Most teams feel this in the frontend first. It’s the surface every feature touches, the one everyone has an opinion on, and the last place anyone invests in structure.

The situation

A proven product. A shared frontend. No rules.

Equal Parts had already done the hard part. The core hypotheses were validated, the engineers were strong, and the backend was built with discipline. The frontend was where the whole product team, and their AI agents, shipped changes every day.

That speed was the advantage. The risk was what speed leaves behind: patterns that drift, regressions nobody sees until a user does, and early decisions that become dead ends the moment the platform has to scale.

The job: bring backend-level rigor to the frontend without taking away the speed.

Close-up of a white car's headlight in a suburban driveway
Pipeline

Nothing reaches production by accident.

The first guardrail was structural. CI/CD with gated environments: dev, staging, prod. Every promotion runs the checks, and nothing skips a stage. Breakage gets caught where it costs minutes, not where it costs a customer.

The pipeline also solved a problem nobody had named: visibility. Every deploy posted to a shared Slack feed showing what shipped and who shipped it. Work that used to disappear into merged PRs became visible to the whole team, and features shipped could be tracked as a team instead of reconstructed from commit history.

certificate.tsfix/coi-date-format12 export function effectiveDate(d: Date) {13- return format(d, "MM/dd/yyyy");14+ return format(d, "dd/MM/yyyy");15 }$▍
Testing

Unit tests and e2e tests answer different questions.

Unit tests answer does this logic still work? They’re fast, cheap, and run on every change. They can’t tell you whether a user can still finish a task.

End-to-end tests answer can a real person still do the thing? They drive a real browser through real flows. They’re slower and more expensive, and they catch exactly what users would hit.

Treating them as interchangeable is how teams end up with high coverage and broken products. We split the work: unit tests on logic, e2e tests on the critical paths, and gates enforced on the flows that matter.

The snag

Guardrails that slow you down don't survive.

Nobody joins a fast-moving startup to write tests, and gating everything puts a toll on every change. Push too hard and velocity drops, and people start routing around the process. A guardrail that feels like a tax gets dismantled one exception at a time.

Tests had to become something people wanted to write.

The second problem

Features were shipping faster than anyone could explain them.

At the same time, the company was outpacing its own documentation. New features landed every week. Guides and training lagged behind, and anything written by hand was out of date by the next release.

test2docs

Every test is a guide.

Two problems, one artifact. An e2e test already walks through a feature step by step: click here, fill this in, confirm that. That’s a guide. It just wasn’t being written down.

So we made the tests record. Playwright captures a screenshot at every step, GIFs of key interactions, and a full MP4 walkthrough of each flow. The output publishes to an Astro site that serves as the documentation and training library.

  • Write a test, get a guide.
  • Change a feature, and the test changes with it. The guide regenerates.
  • If the docs build, the flow works.

Docs can’t drift from the product, because they’re produced by the same tests that gate it. And writing tests stopped being overhead. It became the fastest way to ship something the rest of the company was asking for.

A training guide titled Issue a certificate of insurance, generated from an end-to-end test: a walkthrough video and three numbered steps with screenshots
Agent guardrails

Write the rules once. Every agent follows them.

Much of the frontend was written with AI. Left alone, every agent invents its own patterns, and code review turns into the same correction on repeat.

So the conventions moved to where the agents read them. CLAUDE.md and AGENTS.md files codify how the codebase works: component patterns, file structure, testing requirements, and what not to touch. The rules apply to every contributor, human or not, before code ever reaches review.

AI-written code arrives already following house patterns. Review time goes to judgment, not formatting.

Guardrails that
pay for themselves.

What it added up to

Speed, without the dead ends.

The product team kept shipping at the pace that proved the business. The difference was the system around it: every change gated, every critical flow tested, every test producing documentation, every agent working from the same rules.

Gated release pipeline

Dev, staging, prod, with a shipping feed that makes every contribution visible.

Targeted test strategy

Unit tests on logic, e2e on the critical paths. Gates where they matter.

test2docs

Playwright tests that generate screenshots, GIFs, and video walkthroughs into a living docs and training site.

Agent guardrails

CLAUDE.md and AGENTS.md conventions that every AI contributor follows.