All case studies
Bernard AI logo

The AI agent inside SerpDashboard

Bernard AI

An AI agent that recommends domains to each client every day and repairs live websites, with every change approved by a person and undoable.

Role
System Owner & Lead Software Engineer
When
Mar 2026 to present
AWA Enhancement, powered by Bernard: run finished

Daily

Per-client recommendations

6 stages

Scan to verify, per website

1 click

Restore of any change

The problem

Websites rebuilt from archived copies lose things: content, images, alt text, even whole stylesheets. Fixing each site by hand does not scale, and letting an AI change live sites on its own is not safe.

What I built

  • A Python AI service with its own database, connected to the Laravel core over HTTP.
  • Daily per-client domain recommendations using RAG, tool use and structured JSON outputs.
  • A six-stage website-repair pipeline: scan every page (including in headless Chrome), recover what the original site had from Archive.org, let AI write only what cannot be recovered, human review, apply with backups, then verify on the live site.
  • Repair CSS written from screenshots by vision models when a layout lost its stylesheet, with the page's own HTML as context.
  • Every AI proposal is checked in code before a person sees it, for example CSS may only name classes the page really has.

How it fits together

Inputs

Live website
Archive.org
Crawler data

Bernard

Python AI service
LLM and vision models
Rule checks

Control

Human approval
Backups
Budgets

Outputs

Recommendations
Site fixes
Verified results

Keeping it reliable

  • Nothing reaches a live site without a person's approval, and every change can be restored in one click.
  • After a fix goes live, the pages are checked again in a browser; what is still wrong goes back for one more round.
  • Each run has an AI budget, and every call is logged with its model and cost.

What I owned

  • Agent design
  • Python AI service
  • Prompts and structured outputs
  • Approval workflow
  • Live verification

Stack

PythonOpenAIAnthropicGeminiGroqLaravelPlaywrightPostgreSQLRedis

Want something like this built?

Get in touch