AI agents in everyday design

Could Codex Help Design a House?

One brief. Four versions. A closer look at what an AI agent can—and cannot—bring to the design table.

Start the experiment
Actual FreeCAD view of a roofless single-storey house model showing room walls, doors and windows.
The fourth model, exported from FreeCAD. A concept, not a construction plan.

A house begins with a question

Imagine a client describing a home: three bedrooms, two bathrooms, a kitchen and a place to gather. Before anyone builds a wall, those words need to become something the client and designer can look at together.

Could Codex, an AI coding agent, help create and revise that first model in FreeCAD? We tried it on a Windows computer, kept the files, and looked closely at both the promise and the gaps.

Take a look inside

Imagine the roof lifted off so you can see the rooms. We made these angled views from the saved FreeCAD model after the timed experiment, adding colours and numbered labels to help explain it.

Angled view from the entrance side of the roofless house model. Numbered markers identify the bedrooms, bathrooms, living area, kitchen and entrance in the key below.
The fourth model, viewed from the entrance side. The labels are added to the FreeCAD view.

Find the rooms

  1. Bedroom 2
  2. Bedroom 3
  3. Main bedroom
  4. Private bathroom
  5. Living and dining area
  6. Kitchen
  7. Entrance
  8. Shared bathroom
Lower angled view of the front wall of the house model, with the entrance opening and window openings visible.
From the front: the entrance opening and two window openings are visible in the outside wall.
Angled view from the other side of the roofless model, showing bedroom walls and window openings.
From the other side: the bedroom walls and window openings are easier to see.

The corridor runs through the middle. These are openings in the model: door panels, window glass, furniture and a roof have not been added. The floor colours identify rooms, not finishes.

The assignment

The guide called for a single-storey house with three bedrooms, a private bathroom for the main bedroom, a shared bathroom, living and dining space, a kitchen, an entrance, doors and windows.

No plot, style or footprint had been approved. To begin the experiment, we used a provisional 12 × 10 metre rectangle. The roof was left out so the rooms could be seen. This was a working assumption, not a client-approved design.

First, open the workshop

The terminal is a place to type instructions for your computer. On Windows, open Start, search for PowerShell or Windows Terminal, and choose a PowerShell tab. The commands below are an example of how to start; follow the current official instructions for your system.

In our actual session, Node.js, npm and Codex were already available. We checked their versions and confirmed that Codex was signed in with ChatGPT; we did not repeat a fresh installation or record a first sign-in.

  1. Check the tools

    Run node --version and npm --version. If they are missing, install Node.js from its official site and reopen the terminal.

  2. Set up Codex

    One documented route is the npm command below. Open your project folder, launch codex, and follow the sign-in instructions shown. Review the permissions available to your session before letting an agent change files.

  3. Prepare FreeCAD

    The official download page offers a Windows installer and a portable archive. For this experiment we downloaded the official FreeCAD 1.1.4 portable archive, checked its SHA-256 against the release metadata, extracted it into the project and launched FreeCAD.exe. This was not a system-wide installation.

For a new Codex CLI setup using npm:

node --version
npm --version
npm install -g @openai/codex
codex --version
codex

The installation and sign-in commands above are instructions for a new setup; they were not run as a fresh install in this experiment. Versions and steps can change.

How long did this attempt take?

We compared the local file timestamps from the creation of the FreeCAD download archive at 01:22:01 to the saved models on 22 November 2026, Madrid time.

7 min 41 sUntil the first editable model was saved at 01:29:41.
10 min 48 sUntil the fourth version was saved at 01:32:48.

These are approximate elapsed clock times derived from file timestamps. They include preparation, scripting, checks, an early reopen and waits; they exclude the final comparison of all four files and the later editorial work. Codex was already installed, and this was one machine and one run?not a benchmark or a promise of typical speed.

From a brief to four versions

Codex wrote a FreeCAD macro that created editable wall boxes and cut openings, with coloured floor markers for the rooms. We then reopened each saved file in FreeCAD.

The plan views below are generated sections of the actual models at a height of 1.1 metres. They are FreeCAD exports, not photographs or generated illustrations.

Floor section of the first FreeCAD house model, with three bedroom zones at the top and a divided kitchen and living area below.
Version 1 · the initial layout.
Floor section of the fourth model, showing the main-bedroom extension and a wider opening between kitchen and living area.
Version 4 · after three revisions.

Reading the plan: the bedrooms are along the top; the main bedroom is on the right, next to its private bathroom. Along the bottom, from left: living and dining, kitchen, entrance and shared bathroom. The corridor runs through the middle.

Each view is fitted separately, so the images are not at the same visual scale. The small high bathroom windows sit above the section height.

  • Version 2: A 1.76 × 1 metre strip extends the main bedroom; the exterior footprint changes too.
  • Version 3: A 3 metre opening makes the kitchen and living area more connected.
  • Version 4: Two existing windows become wider. No daylight calculation was performed.

The first top-view export was slightly tilted and the full-height lintels hid the doors. We disabled the camera animation and made the section views instead—an early reminder to inspect the result, not just the success message.

How good is the house?

As an early conversation piece, it is useful: the rooms are distinguishable, the main bedroom has a private bathroom, and the changes can be seen in separate editable files. All four reopened models contained three bedroom markers and two bathroom markers; 19 geometric opening checks passed in each.

As a home, it remains a rough concept. The main bedroom has a narrow, irregular portion, the shared bathroom and entrance take substantial space, and the corridor marker is only about 0.96 metres wide. Furniture placement, practical clearances and circulation need a proper design review; these are observations, not code-compliance findings.

There is no roof, furnishing, structural design, foundation, plumbing or electrical layout. We did not assess a site, local rules, accessibility, fire safety or daylight. The checks confirm selected properties of the model—not that it is habitable or ready to build.

A new way to explore possibilities

A designer and client could use a workflow like this to discuss layouts, try a wider living space, compare orientations or document a revision. Clear instructions—what may change, what must stay and what to save—make the conversation more productive.

Codex can help prepare geometry and organize versions; FreeCAD makes the model inspectable. A designer still has to decide whether the layout works for real people and a real site, and architects and engineers must validate any design intended for construction.

A plan for what comes next

How could other tools take the house further?

The FreeCAD model gives us a starting point. The following is a proposed workflow for a future project, not work performed in the experiment above. Each stage produces something a designer and client can review before moving on.

  1. Start with a real site

    Use QGIS to bring available maps, terrain data and a survey together. Record the plot boundary, orientation, access and known constraints; ask a surveyor and local professionals to verify the information. Codex can help organize the source files and list the questions that remain.

    Useful tools: QGIS

    Keep: A site plan and a list of confirmed facts and open questions.

  2. Make the spaces easier to imagine

    Keep the editable FreeCAD file, then export a separate mesh copy for Blender. Check a known dimension and the axes after import; create angled views and simple material studies. Any roof, furniture or landscaping added for a view should be identified as a proposal.

    Useful tools: Blender

    Keep: The original model plus clearly labelled images and a separate visualisation file.

  3. Prepare a model for collaboration

    If the team needs building information modelling (BIM), use the concept as a reference to create or classify walls, doors and other elements. Bonsai can work with IFC, an exchange format for building information. Reopen the IFC and inspect its geometry and properties: simple solids do not automatically become reliable BIM objects.

    Useful tools: Bonsai / IFC

    Keep: A reviewed IFC file and a record of missing or changed information.

  4. Compare energy choices

    Build an energy model in OpenStudio for EnergyPlus using defined spaces, a roof and other envelope surfaces, local weather, materials, occupancy and system assumptions. Compare design options, such as orientations or insulation, and record the inputs. Codex can help prepare files and summarise results for an expert to review.

    Useful tools: OpenStudio · EnergyPlus

    Keep: An assumptions sheet and a comparison report, not a prediction of the finished home.

  5. Bring in structural expertise

    A structural engineer can develop a separate analysis using the proposed structure, material properties, loads and supports. FreeCAD FEM with CalculiX is one possible tool; the engineer chooses the method and checks the results against applicable requirements.

    Useful tools: CalculiX / FreeCAD FEM

    Keep: Reviewed engineering calculations and questions to resolve with the design team.

Keep the handoffs honest

Keep house_v04.FCStd and its later revisions as source files. A mesh such as STL is useful for a visualisation, but it does not preserve the editable design history or building classifications; check scale and orientation. An IFC exchange needs its own checks for dimensions, openings and properties. Keep versions, assumptions and review notes alongside each export.

A practical next prompt for Codex

With the necessary software available to the session, a first request could be:

Use a copy of house_v04.FCStd as the reference. Export a separate mesh for Blender, check a known dimension and orientation after import, and create three angled views of the current layout. Save the Blender scene separately, list missing details and label any proposed additions. Do not change the original file.

Commercial tools are also an option: SketchUp and Revit can participate in IFC workflows. Check the edition, licence and the information retained in a trial exchange before choosing. SketchUp · Revit

Explore the evidence

The experiment used FreeCAD 1.1.4 and an existing Codex CLI 0.171.0 session. The images show actual FreeCAD exports. The timing uses file timestamps, not a stopwatch. The first installation, permissions menu and voice controls were not captured.

Read the experiment data and timing method (JSON)