---
title: "Behind the Scenes: Building an SEO Pipeline Alone With an AI Agent"
url: https://www.devjpt.com/en/blog/behind-the-scenes-ai-seo-pipeline/
site: "Jean-Philippe Thériault"
type: post
language: en
published: 2026-12-04T14:00:00+00:00
updated: 2026-11-29T03:50:13+00:00
author: "Jean-Philippe Thériault"
description: "More than 750 commits in five months, alone with an AI agent. What worked, what broke, and the rules I drew from it."
translations:
  ca: https://www.devjpt.com/ca/blog/interioritats-pipeline-seo-ia/
  es: https://www.devjpt.com/es/blog/entresijos-pipeline-seo-ia/
  fr: https://www.devjpt.com/blog/coulisses-pipeline-seo-ia/
agent:
  instructions: "This site offers a search endpoint for AI agents. Results are returned in Markdown."
  endpoint: "https://www.devjpt.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.devjpt.com/.well-known/agent-skills/lire-devjpt/SKILL.md"
---

# Behind the Scenes: Building an SEO Pipeline Alone With an AI Agent

Can you **develop a project with AI** of this size, alone, with an AI agent as your only colleague? My experience says yes, as long as you accept that AI makes mistakes, that data sometimes lies, and that every error has to become a rule. Here’s what goes on behind the scenes of the [AI SEO pipeline](https://www.devjpt.com/en/ai-seo-pipeline/): what worked, what broke, and what I kept from it.

## The starting point

I didn’t come to AI by chance. I have more than 15 years of web development behind me, and more than 20 years of sales and marketing. The project was born where the two meet: understanding what customers want, and knowing how to build the tool that measures it.

It all started in late 2024 with a simple question: how does AI read a website, and what does it rely on to give advice? The SEO tools on the market didn’t answer that question. A first small script, which cleaned up a web page before giving it to AI to read, led to others. By early 2026, I had a whole toolbox. On May 30, 2026, I started over in a single project. I tell that journey in detail in [from idea to reality](https://www.devjpt.com/en/blog/build-seo-tool-with-ai/).

## The scale

In a little over five months, alone with an AI agent, I wrote several hundred scripts and made more than 750 commits, meaning that many recorded changes in the project’s history. As of November 5, 2026, there were 767, for more than 300 Python scripts.

The pace tells the project’s story. June and July 2026 were the months of intensive construction, with more than 600 commits between them. From August, the pace slows: the pipeline goes into production, serving a North American franchise network. Less building, more auditing, producing and measuring.

I won’t give a number of lines of code. Some modules are copied from one folder to another, and the total would be inflated. A flattering but false number is exactly the kind of thing this project taught me to refuse.

The AI agent wrote much of the code. But it never decided the architecture, the priorities, or what was worth building. My conviction, after these months of work: **AI is a brilliant executor and a lazy strategist**. Give it the frame, and it writes and scales remarkably well. Let it find the frame, and it picks the most ordinary answer.

## What broke

A project this size almost never breaks spectacularly. It breaks silently. The most expensive failures produced no error message: they produced results that were plausible and wrong.

The first taught me to isolate every run. Two processes, for two different markets, dropped their results in the same place, and one read the other’s results. One market’s evidence file ended up contaminated by another. That’s [the incident that taught me isolation](https://www.devjpt.com/en/blog/data-contamination-pipeline-incident/), and the lesson goes far beyond my project.

The second came back in several forms. An error gets caught, swallowed, and replaced with an empty result. The next step reads that emptiness as a decision: “the AI decided no.” And the final report announces success, with a deliverable missing. I learned to recognize the pattern, and I tell it in [when a silent error imitates a decision](https://www.devjpt.com/en/blog/silent-error-ai-pipeline/).

There were other surprises. For days, one of my tools misread a change on Google’s side, and drew a false conclusion from it. And when I had my code reviewed by three different AIs, they all flagged the same top-priority “bug.” Unanimous, convincing, and wrong: once checked in the code, the bug didn’t exist. Three matching opinions don’t replace a check.

## What it costs

A pipeline that puts AI to work on tens of thousands of items has a cost, and that cost can be managed. Batch processing, which means sending large volumes of requests to be processed later, costs about half price, in exchange for a delay. A model can be retired overnight. A default setting can bill you for reasoning you weren’t even measuring.

None of this is serious when you know it. All of it can be expensive when you discover it on the invoice. I gathered these lessons in an article on [the costs and surprises of AI APIs](https://www.devjpt.com/en/blog/ai-api-costs-pipeline/).

## My ground rules

Working for months with an AI agent forced me to write rules. Not abstract principles: answers to real problems that came up along the way. Here are a few:

- **reuse before reinventing**: before writing anything new, the agent names the solution that already works in the project and starts from it;
- **every new feature switches off with no change**: each added function has a switch, and when it’s off, the result is identical to the original;
- **nothing changes without an explicit green light**: a design discussion is not an authorization;
- **flag what is degraded loudly**, instead of fixing it or hiding it silently.

I go through them, with the situations that gave rise to them, in [my rules for coding with an AI agent](https://www.devjpt.com/en/blog/coding-with-ai-agent-rules/).

## What I would put in place from day one

Looking back, most of my rules were born from an incident. If I started over, I wouldn’t change the approach, but three things would be there from day one, instead of arriving after a failure:

- **a separate space for every run**, so two processes can never step on each other;
- **alarms that ring loudly**: a zero, an empty result or a success too good to be true should stop the chain, not pass through it silently;
- **tests on real data, at full size**: the first time the article-ideas step ran on a complete project, it produced zero proposals. The test samples, meanwhile, passed without a problem.

## Go further

This pipeline, born from a question and built one fixed mistake at a time, now works for clients. To see what it can do for your market, discover [the AI SEO pipeline](https://www.devjpt.com/en/ai-seo-pipeline/).
