Home / Insights and Inspirations Posts / Cities & Campuses / Inside the AI Experiment That Recreated the Gherkin, One of London’s Most Iconic Towers

Inside the AI Experiment That RecreatedĀ the Gherkin, One of London’s MostĀ IconicĀ Towers

Two decades ago, Stuart Milne helped shape the Gherkin, one of London's most famous skyscrapers. Now a Product Manager at Bentley Systems, he rebuilt it with help from AI.

Tomas Kellner Profile Image

Tomas Kellner

Share

Before the London office tower had a name, it had a shape. Rising 41 stories, wrapped in a steel lattice, and clad in shaded glass that tapered to a point at the top, it looked like a futuristic Easter egg. But when the tower’s elongated curves caught the sun and shimmered in pale teal, Londoners saw something different: a gherkin. The affectionate name stuck.Ā 

The twisting form of the tower, officially named 30 St Mary Axe and designed by Foster + Partners, turned heads well before it was finished. It kept Londoners guessing how it would look and how it could possibly be built. The design firm’s founder, Norman Foster, had long argued that architects must advocate for new ideas. He believed the building was genuinely radical—and when it opened in 2004, much of the architectural world agreed. It was one of the most innovative and energy-efficient towers in the world, and it looked like nothing else on London’s skyline.Ā 

One of the team members working on the Gherkin was Stuart Milne, now a product manager at Bentley Systems, the global infrastructure engineering software company. Taking Foster’s maxim to heart two decades later, Milne has also done something radical: He used an AI agent to recreate the Gherkin in just minutes, then proved the design would hold up. His experiment paired a probabilistic AI, the kind that imagines and guesses, with deterministic AI techniques, which turn probability into reality.Ā Ā 

The AI connected to Bentley software provided the creativity. Milne checked the design and supplied the proof.

The Gherkin, one of London's most iconic skyscrapers. Officially named 30 St Mary Axe.
Bentley's Stuart Milne has also done something radical: He used an AI agent to recreate the Gherkin in just minutes, then proved the design would hold up.

A Building made of code

The Gherkin began the way many buildings did before the advent of computer modeling: architects worked out the early form with their hands in paper, colored pencil sketches, foam and cardboard models. But then the computers took over. “What few people outside the profession understood was how much math went into the tower’s curves,” says Milne, who handled the computer-assisted design.Ā 

DesigningĀ the twisting glass skin to fit the building’s double helix-like skeleton and repeating, offsetting floor plates was a challenge, and the final solution relied on a repeating system that let computation do the heavy lifting. Doing that math by hand would have taken years, Milne says. Instead, the team—which included Milne, Francis Aish, whose father Robert was the director of research at Bentley, and the late Hugh Whitehead—used Bentley’s MicroStation software to build a parametric model of the building. This means that they encoded the design as a set of dependent variables, rather than as static geometry. Next, they generated an intricate script that defined each panel, one after another, until they had the entire surface.Ā 

The approach let them turn architectural sketches and models into something a contractor could actually construct. From their point of view, the Gherkin was a story about creativity meeting computation long before anyone said the words ā€œgenerative AI.ā€Ā 

Same Engineer, New Tool

AfterĀ he movedĀ to Australia,Ā MilneĀ never lost sight of the Gherkin, and his name appears in a monograph about the buildingĀ titledĀ 30 StĀ Mary Axe: A TowerĀ ForĀ London. But when he returned to its design this June, he did not start with a pencil or even a desktop workstation. He started with an AI agent in a data center. Ā 

Speaking from Sydney, Milne said he wanted to see ā€œwhether a modern AI system could take on a problem that once required a team of computation specialists.ā€ He wanted to know if AI could handle the computational process and find the points where a human needs to step in. Ā 

The answer turned out to be a useful lesson in what AI in engineering can and cannot do.Ā 

Teaching the Agent the Building

First, Milne had to make sure the agent understood what it wasĀ doing. Searching online, he gathered background on the Gherkin and loaded it intoĀ NotebookLM, aĀ GoogleĀ tool that letsĀ AIĀ studyĀ a set ofĀ publicĀ documents,Ā such as websites and YouTube videos,Ā and answer questions about them. That gave the agent a working knowledge of the building’s geometry, its history, and the logic behind its shape.Ā Ā 

“Many people had tried to recreate the building in the past,ā€ Milne said, including with tools like MicroStation, Generative Components, Rhino, Revit, and Dynamo. “There was plenty of information I could find, but it required a lot of research and constant back-and-forth referrals to the data. AI pulls this messy information, structures the data, then organizes in such a way that new AI capabilities in MicroStation can rebuild it.ā€Ā 

Only then did the design work begin.

Plugging the AI into Real Software

This is where the project got exciting for Milne. He used a Claude AI agent, which is an autonomous AI system, to analyze the information. He connected it to MicroStation through a tool called an MCP (Model Context Protocol) server.Ā Ā Ā 

In plain terms, that MCP connection is the plumbing of the AI revolution we live in. MCP servers let the AI agents reach directly into professional design software and other sources, almost any software, really, and command it in plain English. They are built around an open standard that connects probabilistic large language models (LLMs) with engineering software. Engineers describe what they want in plain English, the AI carries it out inside the application, and the engineer stays in the loop to review and validate every outcome. ā€œWe did it by using deterministic techniques we deploy in the process, like refining the code, to get what we need,ā€ Milne said.Ā Bentley engineers have built MCP servers for MicroStation, the company’s STAAD structural analysis software, PLS Power Line Systems, and other solutions. Many more are on the way.Ā 

With the MCP link in place, the AI agent generated the tower’s form inside the same tested and reliable engineering tool used on the real Gherkin more than two decades earlier. The AI was creating a design that could be verified by engineering software and trusted by architects and engineers.Ā 

From a good idea to a real answer

The agent’s first output was a proposal shaped by everything it learned from the material Milne loaded into NotebookLM. But AI systems like Claude work by predicting what should come next, which makes them good at imagining a form but does not always make them right. Engineers, and the rest of us who rely on their work, require safety and unrelenting reliability.Ā 

To verify the AI design, Milne used two features already available to any MicroStation user around the world: Bentley Copilot and a Python Assistant. The Copilot allowed him to turn the AI design into a 3D model of the Gherkin. Next, he used the Python Assistant to create reusable scripts that defined and checked the model’s geometry. He then repeatedly ran those scripts to ensure the results held up and behaved the way the engineering demanded.Ā 

Those two stepsĀ dramatically changedĀ the nature of theĀ experiment. The model stopped being an AI-generated shape and became a physics-based, deterministic design. Deterministic means the same inputs always produce the same result, every time, with no guesswork allowed.Ā ā€œThe scripts could be rerun and verified,ā€Ā MilneĀ said.Ā ā€œA human engineer stayed in the loop the whole way, deciding when an answer was good to keep. The division of labor was clear:Ā The AI generated the design, the engineering software tested it, and the human verified it.ā€Ā 

Why a redesigned skyscraper matters

The Gherkin already exists, and this project was not about replacing it. Rather, it was about testing a new approach. What Milne demonstrated is a way to use AI on work where a wrong answer has real consequences. It also showed that AI agents could help architects power through their workload and handle the time-consuming parts of a project while humans use their judgment and check the work. Ā 

ā€œNobody wants to sign their name on a design if they’ve not been able to verify whatĀ isĀ generatedĀ is not going to put people in danger,ā€Ā Julien Moutte, Bentley’s chief technology officer,Ā recentlyĀ toldĀ AI Magazine.Ā ā€œI really see the role of civil engineers becoming an orchestrator, where you create a team of AI agents doing specific parts of the workflow and you remain the one taking the important decisions.ā€Ā Ā 

The experiment also contributes to the debate about the evolution of engineering. “While this experiment took the outcome of years of design expertise, and recreated it in minutes, how do architects and engineers capture their own expertise and apply that to design in the new AI future,ā€ Milne asks. ā€œHistorical design expertise is recorded in drawings, documents, sketches, physical models, 3D models. It lives in the experience of great designers. How can they leverage AI to increase their expertise?”Ā 

There isĀ alsoĀ a neat symmetry to all of this. The Gherkin design was completed with scripts and parametric math, written by people who believed a building could be designed with code. The young mathematician behind its facade, Francis Aish, learned the craft in part from his father, who was building the very tools that made it possible.Ā 

More thanĀ 20Ā years later,Ā Milne,Ā oneĀ of the engineers from that original team,Ā picked the building up again and handed it to an AI. The AI agent is just the latest chapter in a story the Gherkin has been telling all along.Ā 

FAQ:

Milne first gathered historical and geometric data on the Gherkin and fed it into Google’s NotebookLM so the AI could learn the building’s logic. He then used a Claude AI agent connected to Bentley’s MicroStation software via a Model Context Protocol (MCP) server, enabling the AI to generate the tower’s form in minutes using plain-English commands.

A purely probabilistic AI design is based on guesswork and prediction, which isn’t enough for structural safety. To ensure reliability, Milne used deterministic tools—such as a Python Assistant—to turn the AI’s proposal into a physics-based 3D model, running repeatable scripts to rigorously verify the geometry, with a human engineer in the loop at all times.

As Julien Moutte, Bentley’s CTO, explained, the role of civil engineers is evolving into that of an “orchestrator.” Instead of doing all the manual heavy lifting, engineers will manage teams of AI agents to handle time-consuming tasks, while humans remain responsible for making critical decisions, verifying the work, and ensuring public safety.

Relevant Tags

This December, the crowds at Berlin’s Christmas markets will be admiring more than the festive stalls and delicious Glühwein. With ...

How can a city keep first responders safe? Which streets are more prone to fires and flooding? How much rain ...

Jack Kavanagh is leading an effort to make municipal data work harder. As the open data lead at Smart Dublin, ...

Subscribe to The Bentley Brief

Stay ahead of the curve with the latest infrastructure news and insights.