Writing/ Beyond the prompt, part 2

Beyond the Prompt: Teaching AI to Design

And what it means for content creation

HANDBOOKrole, rules, reasoningCATALOGUEevery layout block, what it needsinput textAGENTTHE PAGEbuilt only from the cataloguethe learning loop: trainers refine the handbook and the catalogue, not the model

We live in an era where AI can write text, generate code, and even create images. But how do you teach AI to design a visually appealing and functional publication, fully aligned with your brand? That was the challenge I worked on. The answer didn’t lie in a single magical prompt, but in a deeper process: training an agent the way you would onboard a new colleague.

Training an agent (and why it’s not magic)

Forget the idea of an AI being spontaneously creative. Think instead of onboarding a highly intelligent but very literal intern. This intern already speaks the language, but still needs to learn the actual job: building a page from a fixed set of layout blocks.

“Agent training” is the process of equipping this AI with a hyper-detailed instruction manual:

  • The System Prompt The “company handbook” defining the agent’s role, purpose, core rules, and reasoning process.
  • Template Instructions The “product catalog” that describes each available layout block (the ‘ingredients’): what it does, what content it needs, and how it relates to other blocks.

Programmed Creativity: Rules as a Launchpad

It might sound contradictory, but by giving AI strict rules and clear structure, we actually enable it to make “creative” decisions within those boundaries. Compare it to a home cook who, following a recipe from a pro chef, delivers a delicious three-course meal.

The agent analyzes the input text, identifies semantic blocks (like intros, lists, or quotes), and chooses the most appropriate layout ingredient from its catalog. It takes into account word counts, block logic, and even content variation.

The Learning Loop

This process is far from simple. We often run into contradictions in the rules. We see the AI stall or make ‘bad’ choices. But every mistake is a learning opportunity, not for the underlying model, but for us as trainers. We refine the system prompt, improve the template instructions, and test again. And again. And again. Until the agent consistently delivers the desired, logical, and visually solid result.

Why layout is a different problem

Many platforms integrate AI, usually for text generation. Layout asks for something else: not just understanding content, but visually orchestrating it within specific building blocks and design principles.

The goal isn’t random creativity, but efficient, brand-consistent, and scalable content creation. The AI becomes an intelligent co-pilot, not an unpredictable artist.

The Result

A system that has the potential to dramatically accelerate the production of high-quality, interactive content, while keeping the user in control.

It’s a fascinating journey into the future of content creation, where human intent and artificial intelligence work more closely together than ever before.