imaga logo
Engraving on a beige background: a stock ticker under a glass dome on a round wooden base. Its paper tape runs out of the dome and ends in a sheet that shows a landing page layout as blocks: a header bar, lines of text, two columns, and a button.

A Landing Page from One Message: How a Website Run by an AI Agent Is Built

A business unit head asks an AI agent, in one message, to launch a landing page with a lead form wired to the CRM, matching case studies, links from existing pages, and a test of the hero section. We use this request to show what has to surround the agent so that an edit doesn't damage the design, the facts, or security.

A corporate website changes more slowly than the company behind it. Yet keeping it up takes the budget of a whole team, at minimum: management, frontend and backend, design, and copywriting.

Take an ordinary request. A business unit head writes in the work chat: "We're launching the service in the Netherlands. We need a landing page with a lead form by Thursday, with leads going to the CRM. Pick case studies from logistics and retail, and link to the landing page from the service page and from related blog posts. And let's test two versions of the hero section."

In the old process, that's a small project: a manager, a ticket in the tracker, a designer, developers, copywriting.

We suggest cutting it down to one message to an AI agent.

Connecting an agent to a website isn't hard: there are plenty of services and off-the-shelf tools for it today.

But you want the site to stay intact when different people edit it through the agent for months: with on-brand design, checked facts, and no security holes.

This article shows how to build a working system, and at every step, what the agent does, what constrains it, and where a human decides. Our example is launching a new service in the Netherlands.

What changes when business teams edit the website through an AI agent?

When the business edits the website through an agent, the person who used to relay comments between everyone drops out of the work.

Editors, designers, and developers stay, but their job changes: they design the rules, components, and checks. The business uses them directly — asking the agent to describe a service, prepare a landing page, put together a case study, or write an article or a job posting.

The agent first finds the right page or piece of content and asks for what's missing. For the Netherlands request, it might ask which cities the service covers, whether to show prices, which clients can be named in case studies, and who approves the release. From the answers, the agent builds a structured task, applies the rules, and sends back a link to the finished result.

Mockup of a work chat thread in #website-requests. Maya Ruiz asks for a Netherlands landing page with a lead form by Thursday. Site Agent asks four questions: which cities, whether to show prices, which clients to name, who approves the release. After her answers, the agent posts a task card with blocks, content, case studies, leads to the CRM, links, a two-version hero experiment, and the approver, and later a link to the preview of build #1482.

Four short answers turn a one-paragraph request into a task with seven fields, including who approves the release.

One request can touch dozens of pages. The Netherlands request changes more than the new landing page: links to it will appear on the service page and in blog posts. And a request like "Rewrite all job openings so more people apply" touches every job opening on the site. For each piece of content, the request starts the same chain of steps, carried out by agents and automation:

  • find the content and identify its type;
  • check the source, how current it is, and the rights to publish it;
  • strip boilerplate blocks and old formatting from the text;
  • apply the editorial policy;
  • update the structure, metadata, and internal links;
  • prepare an illustration by the design system's rules;
  • run a technical and a content review;
  • save the change with version history;
  • publish it or send it to a human for review.

In the old process, every additional piece of content would add work for nearly everyone: authors, editors, SEO specialists, designers, and developers.

In the agent setup, automated reviews, CI, and security checks verify each piece, and people define the criteria for them. Specialists' know-how turns into checks, repeatable pages are assembled from ready-made components, and analytics runs from day one.

Table "Running a website without an AI agent and with one": seven rows compare the process without an agent (hatched column) and with one (lime column), from how a request arrives to who checks quality.

With an agent, people stay in the first and last rows: they set the task and the criteria.

Why not just give an AI agent access to your CMS?

A language model gives different answers to the same request, while a website has to behave the same way after every edit. That's why the agent gets no direct database access and doesn't draw the interface from scratch. Deterministic parts surround the model, and they decide which edit goes through.

Claude Code or another coding agent will quickly build a first screen, and for a prototype that's enough.

Problems start when several people develop the site and earlier decisions must not break.

The agent itself brings no verifiable data, access rights, editorial rules, component contracts, version history, analytics, tests, or stable order of changes. All of that is built around it.

The core of the setup is a Git repository with a typed set of components. Articles, case studies, services, and pages live in it as versioned files, and a static site generator builds a release from them according to the design system's rules.

In Astro, for example, you can give a content collection a schema, and Astro flags any file that doesn't match it as an error.

The agent changes a working copy: it picks allowed components and gives them parameters that must pass validation.

The Netherlands landing page from the start of this article is assembled from what already exists: a hero section, a service description, a case study block, a form.

If the agent passes the hero section a parameter the component doesn't have — say, a third button — the check rejects the edit, and the agent has to choose from what's allowed.

A new component type appears only by the team's decision: contract, implementation, and tests.

While the agent works, other people change the site too. If the version the agent started from has gone stale in the meantime, the edit goes back and is rebuilt on the fresh version, so it doesn't land on top of someone else's change. Before finishing, the agent itself checks two things: the diff against the previous version and the finished preview.

This way the model does what it's good at: understanding the task, choosing among the available options, and preparing the change. Git, types, validators, tests, and the build keep the site predictable.

Flow diagram "How an edit gets from one message to production": a business unit head writes one message; the AI agent prepares an edit in the Git repository; checks (types and schemas, editorial policy skills, image checks, CI and the security gate) send rejected edits back to the agent; the release candidate, tied to the commit, is approved by the business unit head and goes to production with no rebuild; analytics feeds results back to the business; a public assistant reads production only. Below: "The model prepares the change. Git, types, validators, tests, and the build decide what goes through."

Only one block on the path from message to production is a model: the agent. Everything after it follows fixed rules or waits for a person's approval.

How does an AI agent follow your editorial and brand rules?

The know-how of editors, SEO specialists, and designers is written into skills: instructions the agent follows on every edit.

Guidelines work only while a person remembers them and applies them to their task. A skill describes the inputs, the order of work, the quality criteria, the blockers, and the output format.

For example, an article review skill scores a piece on seven criteria:

  • expertise and technical depth;
  • practical value;
  • quality and trustworthiness of the facts;
  • editorial policy and clarity;
  • fit with the company's strategy;
  • original value;
  • visibility in search and in AI answers (SEO, AEO, GEO).

Besides the scores, the check has blockers — things good style can't make up for: obvious self-promotion, unverified facts, naming a client without approval.

Say that in the Netherlands request, the unit head asks to call the company the leading partner for this service in the country. If the landing page review skill has the same blocker for unverified facts and there's no proof, the check stops the text, and the agent goes back to the unit head with a question: what supports this claim, or how else to put it.

This way the editorial policy stops being a file someone opens once a year: it applies to every piece of content.

How does an AI agent build pages and images without breaking your design?

The agent builds pages only from a finished design system, so the design system comes before the pages. Visual rules are locked in after the brand strategy and positioning have been tested on interfaces. Then the design system elements and the block library are coded. The agent checks against the UI kit, takes the allowed components, their states, and the composition rules, and doesn't improvise a "similar" style on its own.

The agent makes illustrations the same way. For covers, asking for "our style" is enough: the system takes a reference from a prepared set and accounts for the topic, the palette, and recent posts, so the feed doesn't fill up with look-alike images.

Every finished file goes through two checks. The first is technical: proportions, brightness, how readable the preview is. Then a separate multimodal model looks for errors of meaning: an invented brand, text in the wrong language, a blank device screen, an implausible object, an unsuitable face.

For example, if the model puts a storefront sign in German on the cover of the Netherlands landing page, the second check sends the image back for regeneration. There are no more than two corrective generations.

How do you make sure what goes live is exactly what was approved?

The business approval is tied to a specific build, and that same build goes to production. After all the checks, the pipeline builds an immutable release candidate tied to the commit and shows it in a preview. The unit head reviews the page and approves it, and the same artifact is promoted to production with no rebuild.

If a new commit lands in the repository during approval, the old approval no longer counts.

Say that while the unit head is reviewing the landing page preview, the legal team edits the consent text under the form. The approval covers the build without their edit, so it no longer counts: you need a new build and a fresh look. Without this binding, it's easy to approve one version and ship another.

Mockup of a preview of the Netherlands landing page, build #1482, drawn as blocks: hero section (version A of 2), service description, case studies, lead form. The consent text under the form is outlined with the note "Legal edited this text after the build." On the right: five passed checks, a warning about new commit 8d41e07, a crossed-out "Approve build #1482" button, and a "Build a new preview" button.

All five checks are green, and this build still can't be approved: a commit landed after it.

How do you check the security of code an AI agent writes?

The agent changes more than text. Say leads from the Netherlands landing page need to go to a new CRM pipeline: that's a code change to the form component, the integration, and the handling of visitor data. An editorial check alone won't cover it.

Site changes go through tests, type checks, and CI, with a separate security gate on top.

The gate is built on top of open-source scanners, each with its own main area:

  • Semgrep looks for bugs and risky spots in code;
  • Gitleaks looks for passwords, API keys, and tokens in the repository;
  • Trivy looks for known vulnerabilities in dependencies and containers;
  • Checkov looks for errors in infrastructure configuration;
  • ZAP tests the running application.

Custom rules for checking AI-written code are added to the scanners. The gate merges the scanners' different output formats into one list of findings, applies the project's versioned policy, and gives CI a clear answer: pass or stop.

Say this change leaves the CRM key right in the form's code. Gitleaks looks for keys like this by pattern; if it finds one, the gate stops the build, and the edit goes no further than its branch.

On every pull request, the gate compares findings against a baseline of already known ones and decides only on the files changed in that request.

The main branch gets a separate full run across code, secrets, dependencies, and infrastructure configuration. It blocks nothing; its job is record-keeping.

The software bill of materials belongs to this run too: CycloneDX format, signed with cosign.

After release, separate jobs check open ports, the TLS version, and certificate expiry, and run dynamic analysis of the live site.

The gate's dashboard has to state two things plainly. An accepted risk has an expiry date: when it passes, the finding goes back into work. And if a run was incomplete and some scanners didn't finish, zero findings means "nobody looked."

A language model helps triage findings: it can flag a likely false positive and cut the noise. A deterministic engine decides whether an edit passes or stops, using thresholds from the policy file.

Engraving of an assay balance on a beige background: a thin beam on a tall turned pillar over a wooden block; one pan holds a small bead of silver, the other two small weights, and the beam is level.

From 1300, English silver had to meet the sterling standard before it was marked. In 1478, a statute made London's Goldsmiths' Company responsible for its Keeper of the Touch, the warden who marked the silver, and liable for penalties. The Company then employed a Common Assayer to test pieces at Goldsmiths' Hall under the warden's supervision. A date letter, changed every year, identified the warden responsible. The assay decided, and the mark showed who answered for it.

What should a public AI assistant on your website be allowed to do?

A public assistant on the website only reads what's published. It comments on the page's content, gives hints in context, shows interactive widgets, and answers visitors' follow-up questions. It's connected to the site's content, a structured knowledge base about the company, and outside publications about it, so it can explain more than fits on one page.

The assistant and the editorial agent have different rights. The editorial agent prepares changes in Git and runs them through the checks. The public assistant gets only published content and has no write tools: drafts and production releases are out of its reach.

How do you know a change worked, and that the setup works?

Analytics is wired into the components in advance, so data on a new page flows from day one. In PostHog, for example, web and product analytics show what's happening in the funnel, session replays show where a visitor stopped, and error tracking ties a problem to a specific user flow.

Feature flags and experiments run in the same setup. The agent builds a variant from design system components and hooks up the planned events, and the team sets the hypothesis, the audience, and the success metric.

For the Netherlands landing page, that's two versions of the hero section: a feature flag splits visitors between them, the metric is submitted lead forms, and an experiment calculates which version won.

Measure the setup itself, too. For example, track the share of edits that pass the checks on the first try and how many go back to a human: that shows how much manual work is left. Next to it, track the time from message to release — that's what the setup is built for.

When does an agent-run website pay off, and when doesn't it?

The setup needs investment before the first edit:

  • gather the company's context;
  • develop the design concept and the design system;
  • define the allowed components;
  • describe roles and permissions;
  • write specialists' know-how into skills;
  • build typed tools;
  • set up version history, audit, and rollback;
  • connect CI and security checks;
  • define the analytics events;
  • build sets of checks and reference examples.

That costs more than one landing page and is harder than a big prompt. In return, every new piece of content uses a ready foundation, and every new skill adds capabilities to the whole system.

In the project model, cost grows with the number of changes. Need a new landing page? Start a new small project. Need ten experiments? Tie up designers, developers, and testers ten times.

In the platform model, a significant part of the cost moves to the start: the design system, context, tools, security, and quality rules. After that, every repeatable change takes less manual work.

To keep that investment, the company must own the setup: the code, the design system, and the skills live in its repository, and releases run on its infrastructure. Then it can change vendors and keep the system.

Chart "Cost as the number of changes grows": the dashed project-model line starts near zero and rises steeply; the platform-model line starts higher, after the investment before the first edit, and rises slowly. Past the crossing point, marked "the setup starts to pay off," the gap between the lines is shaded.

The crossing point has no number: where it falls depends on how many repeatable changes the website gets.

If a company releases one unique landing page a year, classic development may come out cheaper.

The setup starts to pay off when you have:

  • a long tail of content;
  • regular campaigns and special projects;
  • landing pages for new markets and languages, like the Netherlands example;
  • several business stakeholders;
  • repeatable pages and components;
  • ongoing experiments;
  • audit, permission, and security requirements;
  • know-how that can't live in one employee's head.

What stays with people?

The website still needs to be run as a product: it has an owner, goals, resources, and development in iterations. The setup adds a layer for agents on top: structured context, limited tools, measurable quality rules, and a safe path to publishing.

Agents lower the barrier to the website: the business changes content and runs experiments on its own.

People still build in the quality: they design it, write it into rules, and embed it in the platform. No prompt produces it.

An agent put this article on our website too: it built the page by our blog's rules and checked it against the approved text, and a person published it.

If your corporate website changes more slowly than your company, write to Imaga. We'll look at which edits repeat for you and estimate whether the setup pays off at your volume.

Request a project estimate

Up to 3 files, 5 MB each.
Your privacy is protected — we'll use your details only to reply to your inquiry. See our Privacy Policy.
What happens next
1
NDA. If checked, we'll send a standard NDA for e-signature right away.
2
Discovery. We'll reach out to clarify goals, constraints, and discuss potential AI use cases if they make sense.
3
Proposal. You'll get timeline and budget, plus key architectural options and risks.
We build for