Case study · Generative AI and agentic systems

AI level design from a written prompt

A US game development studio needed walkable graybox environments generated automatically from written prompts instead of blockouts built by hand. Brainy Neurals built a multi-agent AI level design pipeline that turns one text prompt into a structured 3D scene. Every object in the level file is generated, placed, and sized automatically by the pipeline.

1.
Text prompts per level
0.
Objects placed by hand
1.
Prompt edits to revise a level
Mitesh Patel, Computer Vision Expert at Brainy Neurals

Mitesh PatelComputer Vision Expert

Viral TrivediAI Agents Expert

Published August 2026 · Last updated August 2026 · 11 min read

02Quick answers

At a glance

Q·01What problem did this solve?

Building graybox 3D levels meant placing every object by hand before anyone could walk the space. Iteration was slow, and each new idea cost the same manual effort.

Q·02What did Brainy Neurals build?

Brainy Neurals built a multi-agent AI level design pipeline for a US game development studio. It turns a written prompt into a structured 3D scene and a walkable graybox file.

Q·03What changed after it went live?

A level idea now goes from text to a walkable graybox automatically. Designers spend their time judging layouts instead of building them, and revisions take a prompt edit.

Q·04Who else could use this?

Prompt-to-3D generation fits any team that plans space before building it. Game studios, architecture firms, warehouse planners, and training-simulation builders all sketch layouts the same way.

Engagement record
IndustrySub-verticalClientEngagementTimelineCapabilitiesDelivery
Gaming3D level design toolingUS game development studioPrompt-to-level generation pipelineNot disclosedGenerative AI, agentic AIProject-based delivery

03Problem

Why was level blockout so slow?

A US game development studio builds 3D titles, level by level. Every level starts life as a graybox: plain blocks a player can walk before any art exists. Blockout is the stage where a layout either earns its art pass or gets cut from the game.

The studio wanted far more layout ideas tested each cycle than its designers could block out by hand. And generative AI development had so far only given the team images and text, never a space it could walk.

Every block dragged into place by hand Every revision meant rebuilding the layout Every pitch waited on a walkable build Every variant cost the same hours again

None of this is unusual, in games or anywhere else. A 2013 survey of procedural content generation said it plainly: hand-made game content no longer scales against rising production costs[1]. That gap is exactly what this AI level design build closed.

BLOCKOUT BY HAND WAITING TO BE PLACED …AND MORE REVISION · REBUILD THE BLOCKOUT PLACED THIS PASS STILL EMPTY ONE BLOCK AT A TIME EVERY REVISION STARTS THE LAYOUT AGAIN
Before the pipeline, a layout lived on paper until someone had built it in the editor, block by block.

04Alternatives

What do studios usually reach for?

Four routes, each reasonable.

ApproachWhat it gets rightWhere it stopsWho it still suits
Hand blockoutFull control, every blockHours per layout, per revisionHero levels and final passes
Rule-based generationEndless variation, fastCannot follow a written briefRoguelike runs and terrain
Learned generatorsPick up a game’s styleNeed existing levels to learnGames with levels to spare
Prompt-to-level pipeline, our routeA brief becomes a walkable fileSchema and validation up frontTeams testing many spatial ideas

Machine-learned generation names the third route’s catch[2]. The models are trained on existing levels, so a working library has to exist before anything can be generated.

Tried one of these and hit the same wall? Tell us where it stopped.

05Solution

How we designed the prompt-to-level pipeline

Brainy Neurals built the pipeline as a chain of small agents, the central AI agent development call on this build. A planning agent reads the incoming brief and splits it three ways. Specialist agents then own one concern each: the layout, the objects, and the constraints between them.

Their answers merge into one structured scene, and one strict schema defines exactly what that scene may contain.

The model decides what goes where, and deterministic code turns that decision into geometry.

The first decision was what the model would be allowed to produce. We rejected free-form output early, because geometry code can’t negotiate with prose. So every agent answers inside the schema, and anything else counts as a failed attempt.

The second decision was where generation stops and code takes over. The model never emits a vertex or a mesh. It only emits a description of the level, and an open-source mesh library builds real geometry from it.

The clever part isn’t any one agent. It’s the contract every agent answers to.

The model decides what goes where, and deterministic code turns that decision into geometry.

THE PIPELINE LANGUAGE GEOMETRY THE SCHEMA PROMPT IN PLANNING AGENT LAYOUT AGENT OBJECT AGENT MERGED SCENE SCHEMA CHECK SPATIAL CHECK SENT BACK MESH BUILDER LEVEL FILE OPENS FILE GAME ENGINE HAND MODELING NOT IN THE LOOP
Language stops at the schema line, and only numbers that pass validation ever become geometry.

06Stack

The technology stack we used

Every layer on this stack exists to keep language and geometry apart. The technology selection questions were the usual ones: what the model decides, what code guarantees, and where the line sits. The list is short on purpose. Fewer moving parts means fewer places where a scene can quietly go wrong.

LayerWhat we usedWhyWhat we ruled out
Language modelA frontier model familyRead spatial briefs most reliably in our testsTwo other families we benchmarked
OrchestrationOne agent per concernSmall focused prompts hold detailA single do-everything prompt
Scene schemaOne strict schema per sceneGeometry code needs guarantees, not proseFree-form model output
ValidationSchema and spatial checksBad scenes bounce back before becoming geometryTrusting the first answer
Mesh generationAn open-source mesh libraryDeterministic geometry from validated numbersAsking the model for meshes
OutputOne standard 3D fileOpens in the engines the team already usesEngine-locked exports

07How it works

How does one prompt become a level?

One prompt, start to finish, in the exact order the pipeline runs it.

LANGUAGE CODE 1 WRITE BRIEF 2 SPLIT BRIEF 3 GENERATE SCENE 4 VALIDATE SCENE SENT BACK 5 BUILD MESH 6 WRITE FILE
A scene that fails a check goes straight back for repair before any geometry gets built.
  1. A designer writes the level in plain language: the spaces, the paths, the obstacles, and the overall mood.
  2. A planning agent reads the brief and splits it into layout, objects, and constraints for the specialist agents downstream.
  3. Specialist agents turn each part into entries in one structured scene, with a shape, position, and size for every object.
  4. A validation pass checks the scene against the schema and against the spatial rules, and sends failures back for repair.
  5. The mesh stage reads the validated scene and builds real 3D geometry from it, one primitive for each entry.
  6. The pipeline then writes one standard 3D file, and the team opens it in the engine and walks the level.

Six steps, and a person appears only at the two ends of the chain.

CTAWalkthrough

Want this walked through for your content? Book 30 minutes with Mitesh Patel.

No pitch. If it is not a fit, you will know in five minutes.

08Failure

The three walls we hit first

Three things broke, in this order.

The first scenes read well and parsed badly. A field went missing, a type changed, a list arrived as prose. And the geometry code crashed on input it had every right to trust.

The second failure was spatial rather than structural. Scenes started validating and still made no sense: objects overlapped, floated above the floor, or sealed off the only path.

Valid JSON. Unplayable level.

The third was overload. One prompt handling layout, objects, and constraints together dropped requirements as briefs grew longer. The model wasn’t wrong so much as stretched.

Work on language-guided 3D scene generation names object positioning as its own challenge[3]. The published fix is explicit spatial constraints and a solver, not a model’s raw coordinates. These are the weeks when clients bring in specialist engineers rather than learning every lesson the slow way.

09Repair

How we got past each one

Each of the three fixes reads as one line, and none was found in one.

Structure

We locked every agent to the schema and made every answer validate on arrival. A failed check goes back with the exact error, and the agent repairs its own output. And nothing malformed has reached the geometry code since that change landed.

Space

We added a spatial pass behind the schema pass. It checks overlap, support, and reachability, then returns violations with the offending coordinates. A scene becomes geometry only after it clears both gates.

Split

We broke the one big prompt into the agent chain the pipeline runs today. Each agent holds one concern, so detail stopped falling out of long briefs.

This is the work a proof of concept exists to surface, before anything gets promised.

SCHEMA CHECK SPATIAL CHECK TO MESH SENT BACK
Every generated scene passes the schema gate and then the spatial gate, or it goes back for repair.

10Results

What changed after go-live?

WhatBeforeAfter
Getting to a walkable layoutHand placement in the editorOne written prompt
Objects placed by handEvery object in the sceneZero
Revising a layoutRebuild the blockoutEdit the prompt, run again
Trying variantsOne at a time, by handOne prompt each
What a designer doesBuilding the spaceJudging the space

We have not published a generation-time or an hours-saved figure, because this build measured neither. A number we have not measured is a number we will not print.

Day to day, AI level design changes where attention goes: a layout idea gets typed out, not dragged into place. And because every variant costs only one prompt, exploring more ideas no longer costs the team more building.

The graybox itself did not change. What changed is how it gets made.

What should a prompt build for you?

Levels, layouts, massing, racking, scenario spaces. If your team plans it before building it, a prompt can probably draft it.







    11In production

    What is running today

    The AI level design pipeline is in use at the studio today, on the agent chain the first version proved. A designer writes the brief, runs the pipeline, and opens the finished file in the engine. The schema is still the contract between language and geometry, and nothing becomes a mesh without passing it.

    Every level the pipeline produces still starts as one prompt, and that hasn’t changed since the first working run. Judging layouts is the real design work now, and typing is the whole build step.

    01 · PROMPT A ruined courtyard, walled on three sides, one gap leading east. Steps to a platform. Two pillars, one beacon. 02 · AGENTS PLANNING LAYOUT OBJECTS CONSTRAINTS 03 · STRUCTURED SCENE slab x 0 y 0 18×12 wall x 0 y 12 18×1 wall x 0 y 0 1×12 steps x 12 y 4 3×3 pillar x 3 y 9 1×1 pillar x 14 y 9 1×1 04 · VALIDATE SCHEMA SPATIAL FAILED · SENT BACK FOR REPAIR 05 · LEVEL FILE WALKABLE ONE PROMPT IN ONE LEVEL FILE OUT · NO OBJECT PLACED BY HAND
    The pipeline as it runs today: the brief splits across the agents, the scene fills in row by row, failures go back for repair, and the level assembles itself.

    12Lessons

    What would we do differently?

    Design the schema before the prompts

    We wrote the prompts first and reworked them when the schema landed. The schema is the product.

    Put a check at every handoff

    Our first validator sat at the very end, so one early mistake surfaced three stages late. Errors got cheap the day checks started running at every handoff.

    Walk every candidate before judging it

    A generated level that cannot be walked is a picture, not a design. Early reviews leaned on top-down views, and clean layouts read wrong at player height. Now nothing gets judged unwalked.

    Keep the model away from numbers

    It’s tempting to let the model fix coordinates when a scene is close. Every nudge invites drift. So repairs go back through the schema like everything else.

    A generated level that cannot be walked is a picture, not a design.

    13Porting

    Where else does prompt-to-3D fit?

    Prompt-to-3D generation turns a written description into a walkable 3D layout, used wherever space gets planned before it gets built.

    IndustryThe equivalent problemWhat changes in the build
    ConstructionClients want walkable massing before drawings existReal dimensions, code-driven constraint rules
    LogisticsWarehouse rack layouts sketched before steel is orderedRacking sizes, aisle-width rules in the schema
    RetailStore planners test fixture layouts per siteA fixture vocabulary, footfall constraints
    Training simulationSafety teams need many scenario spaces cheaplyHazard placement rules, scenario variants
    Virtual productionScenes blocked before any set is builtCamera-aware layouts, per-shot variants

    Porting takes a new object vocabulary in the schema, that domain’s constraint rules, and a validation pass tuned to both.

    SAME PIPELINE STRUCTURED PLAN NEW VOCABULARY
    The same prompt-to-3D pattern planning a warehouse layout, aisles and racking blocked before anything is built.

    14FAQ

    Questions buyers usually ask

    How it works

    Q·01Can AI generate a 3D level from a text prompt?

    Yes, when the model describes the level and code builds the geometry. A language model turns the prompt into a structured scene, and a mesh stage turns that scene into geometry. Asking a model for raw 3D geometry directly does not hold up.

    Q·02What is a graybox level, and why start there?

    A graybox is a level built from plain untextured blocks, made to test layout and flow before any art exists. Teams start there because moving a gray block is cheap and moving finished art is not.

    Q·03How is this different from procedural generation?

    Classic procedural generation follows fixed rules or noise, so it cannot read a designer’s brief. A prompt-driven pipeline starts from written intent: a designer describes the level and gets that level, not a random one.

    Time, cost, and rollout

    Q·04How long does it take to build a prompt-to-level pipeline?

    A working proof of concept on your own content usually takes a few weeks. The scene schema, the agent split, and the validation rules each need a dedicated pass. A production pipeline follows once generated levels start surviving review unedited.

    Q·05How much does an AI level design build cost?

    The cost depends on the object variety, the constraint rules, and how much content already exists. Brainy Neurals scopes it from a short call and a close look at your content, then quotes a fixed price. An AI readiness assessment tells you first whether your briefs and assets can actually drive one.

    Q·06Does AI level generation replace level designers?

    No. AI level design replaces the placement labor, never the judgment about what plays well. Designers still decide what makes a space worth playing, and the pipeline gets them to that decision sooner.

    Sources cited on this page

    1. [1]Hendrikx M, Meijer S, Van der Velden J, Iosup A. Procedural Content Generation for Games: A Survey. ACM Transactions on Multimedia Computing, Communications, and Applications. 2013;9(1):1-22. DOI 10.1145/2422956.2422957.
    2. [2]Summerville A, Snodgrass S, Guzdial M, Holmgård C, Hoover AK, Isaksen A, Nealen A, Togelius J. Procedural Content Generation via Machine Learning (PCGML). IEEE Transactions on Games. 2018;10(3):257-270. DOI 10.1109/TG.2018.2846639.
    3. [3]Yang Y, Sun FY, Weihs L, VanderBilt E, Herrasti A, Han W, Wu J, Haber N, Krishna R, Liu L, Callison-Burch C, Yatskar M, Kembhavi A, Clark C. Holodeck: Language Guided Generation of 3D Embodied AI Environments. CVPR 2024. arXiv 2312.09067.

    CTAClosing

    If your team plans space before building it, tell us what a prompt should build.

    Cite this case study

    Trivedi, Viral and Patel, Mitesh. AI level design from a written prompt. Brainy Neurals, August 2026. https://brainyneurals.com/case-studies/ai-3d-level-design/