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
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.
Find the rooms
- Bedroom 2
- Bedroom 3
- Main bedroom
- Private bathroom
- Living and dining area
- Kitchen
- Entrance
- Shared bathroom


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.
- Check the tools
Run node --version and npm --version. If they are missing, install Node.js from its official site and reopen the terminal.
- 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.
- 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
codexThe 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.
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.


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.
-
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.
-
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.
-
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.
-
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.
-
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.
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.