Ask an AI agent for a landing page and you will have one in seconds: a bold headline, three tidy cards and a confident blue button. It works. It also looks exactly like every other page an agent has produced this year. Nothing in it is wrong. The agent simply answered every open question with its own defaults, and those defaults belong to everyone.
Distinctive, polished work does not come from a cleverer prompt. It comes from the order in which the work is done. Settle the visual language first, write it down once, and then let two kinds of agents hand the work back and forth, each doing what it does best. What follows is that order, step by step, and every image in this post was produced by following these same steps.
Before you begin
- A coding agent. Claude Code is an excellent fit. Antigravity and Codex can fill the same role.
- A design agent. Claude Design is a strong choice. Stitch and the Figma MCP are capable alternatives, and Higgsfield earns its place whenever you need an image or a clip that code cannot draw.
- A sense of the aesthetic you are after. A handful of sites or apps you admire is plenty to begin with.
The two agents have complementary strengths. The coding agent knows your codebase, your data and your constraints. The design agent has an eye for layout, rhythm, timing and motion. Most of what follows is about orchestrating the handover between them.
Step 1: Establish the design system before anything else
Resist the urge to ask for a page. Instead, open a session with the design agent devoted to a single task: the design system. Describe the mood you want, the colours you are drawn to and anything you would rather avoid. Then ask for these foundations:
- Colour, with every value named for its role: the page canvas, a raised surface, a hover state, a divider and a single accent.
- Typography: one or two typefaces and a deliberately short type scale.
- Spacing, corner radius and elevation, each expressed as a fixed scale rather than a fresh value every time.
- Core components: buttons, cards, inputs and table rows.

Notice the naming in that table: canvas, raised, overlay, hover, scrim. Once colours are named by purpose, nobody pastes a hex code into a prompt again. You ask for a raised card, and every agent knows precisely what that means.
Then edit ruthlessly and keep only what you will genuinely use. A lean system that is respected beats an elaborate one that is quietly ignored.
Step 2: Make the system a single source of truth
Once the design system is settled, have the coding agent translate it into tokens: one block in your code that holds every colour, typeface and size.
From then on, copy that block, and never choose a colour again for a single page. If you maintain several sites or apps, place the identical block in each of them, byte for byte, and add a test that fails the moment one copy drifts from the others. It sounds strict. It is also the reason a page built months later still feels like part of the same family.
If your design agent can read real code components, connect those too. Claude Design can work from your actual building blocks, so it composes with the very buttons and cards the coding agent will ship, rather than improvising new ones.
Step 3: Lay out every page on a canvas, then approve it
Now ask the design agent for a canvas: every page you intend to build, laid out as boards side by side, with the phone layouts included. Where a page is still uncertain, ask for two or three variations next to one another.

Critique it board by board. Point at whatever feels off, ask for changes, and keep iterating until it is right. Only then say the word: approved.

Hand the approved canvas to the coding agent and have it build each page from its board, value for value. For a site with several pages, you can run a few coding agents in parallel, each owning its own section. The blog above was built by three agents working side by side from a single canvas.
The economics are simple. Revising a board takes one message, while revising a built page means touching components, tests and every breakpoint. Settle every question of look and feel on the canvas, where change is cheap.
Step 4: Have the coding agent prepare a kit
For anything more ambitious than a static page, such as an animation or a video, do not go straight to the design agent. It has never seen your real screens, it does not know your real numbers, and it has no idea what you have already tried and rejected. Deprived of that context, it improvises, and improvised data looks fake at a glance.
Begin with the coding agent instead, and ask it for three things.
First, an interview. Let it question you. How long should the piece run? What story should it tell? Which screen sizes must it hold up at? What has already been tried and turned down? Answer each question in turn.
Second, a kit. A compact folder the design agent can open and understand entirely on its own, containing:
- the real screens of the product, rendered as HTML
- a single file listing every figure allowed on screen
- the fonts
- a README that sets out the rules
- a bench page that plays the animation at every real size, with a time slider

The animation that ships inside the kit is a placeholder and nothing more. Its only job is to prove that the screens, the figures and the player work together, so the design agent can pour its entire effort into the design itself.
Third, the prompts. A numbered sequence of messages to paste into the design agent in order. Here is a condensed example of such a brief:
I have attached a kit. Open bench.html first, then read README.md:
it has the screens, the figures, the sizes and the rules.
Already tried and turned down, so please avoid it: flat clip art,
the logo as the main picture, motion tied to scrolling.
The story: a rate found in one app drops into a row of a bill in
the other app. A camera moves over the screens like a product video
and zooms into the part that is moving, so it reads on a phone.
The figures: only the ones in facts.js, exactly as written. A total
may count up, but it must stop exactly on its figure.
Motion: everything is a function of the time t. No CSS animations,
no timers, no randomness. A loop of 15 to 20 seconds with a rest of
at least 3 seconds on the finished bill.
Before you build it, show me a storyboard: 8 stills at the laptop
size and the phone size, with the time of each. Wait for my yes.
Look at how much work that brief does. It names what has already been rejected, so no round is wasted rediscovering it. It locks the figures, so nothing is invented. It specifies how the motion must be built, so the result can drop straight into real code. And it insists on a storyboard first, which is the canvas step all over again, this time for motion.
Step 5: Let the design agent do what it does best
Attach the kit, paste the prompts in order and review the storyboard with a critical eye. Ask for changes, and give your yes only when it is right. Then let the agent build, and have it verify its own work on the bench at every size.

Set it beside the placeholder above. It is the same bench at the same moment, but now the camera glides into the real screen at a size that is comfortable to read.
Keep every design session focused on a single job: one for the design system, one per canvas and one per animation. A sprawling session that tries to do everything gradually loses track of the rules it was given at the start.
Step 6: Bring the export back to the coding agent
Whatever the design agent exports is a draft, not production code. Download it and hand it to the coding agent.
Exports tend to arrive as standalone files with their own player, their own copy of the screens and their own way of loading fonts. Ask the coding agent to:
- Port it into a proper component inside your app.
- Replace its copied styles with your real tokens.
- Show a single still frame to anyone who has reduced motion turned on.
- Check every figure on screen against the facts file, at every size.
Ship it only once all four checks pass.
That is the complete loop: the coding agent sets the direction and builds the kit, the design agent designs, and the coding agent refines and ships. Each one does the part it is strongest at, and neither is left guessing at what the other knows.
Step 7: Apply the same loop to video
Video follows exactly the same pattern.
For a short film, ask the coding agent for a kit containing the real screens, the script, the text that appears on screen and the brand assets. Have it record a scratch voiceover first and derive the length of every scene from it, so the pacing is locked before a single frame is designed. Tell it every format the film must ship in, such as landscape, square and portrait for phones.

The design agent then produces the film from that kit, and the cut returns to the coding agent for the final voiceover, the music and an export in every format.
To build the entire video in code, reach for Remotion. Each scene is a React component. useCurrentFrame() tells it which frame is being drawn, and interpolate() and spring() turn frame numbers into motion. Because every frame is computed purely from its number, the same code always renders the same video, which makes it effortless for a coding agent to adjust a single scene and render again.
Getting started takes four commands:
npx create-video@latest
cd launch-video
npm run dev
npx remotion render
The first three scaffold a project and open the Remotion preview, where you can scrub through the timeline. The last renders the finished video to a file. From there, ask the coding agent for one composition per scene and a single file of timings, which is the kit idea again in a new medium. Before using Remotion commercially, read its licence page, as larger companies need a paid licence.
For motion inside a web page rather than a rendered video, GSAP and Motion (formerly Framer Motion) reward the same discipline. Give the agent the timings and the rules, and drive every movement from a single timeline, so it can be paused, replayed and checked.
The whole workflow at a glance
- Establish the design system first, in a session of its own.
- Turn it into a single block of tokens and copy that block everywhere.
- Lay out every page on a canvas and approve it before writing any code.
- For animation or video, let the coding agent interview you and build a kit of real screens and real figures.
- Have it write the prompts, including what was already rejected, and ask for a storyboard first.
- Let the design agent design, one focused session per job.
- Bring the export back to the coding agent to port, refine and verify.
- For video in code, use a tool like Remotion, so every frame can be changed and rendered again.