Vibe Engineering: A chocolate line on a Saturday
Vibe engineering put to the test: an AI agent plans a chocolate bar line in two hours instead of two months. Numbers, mistakes, consequences for engineers.

A while ago I watched someone use a handful of AI agents to produce a factory design – flow diagrams, P&IDs, floor plan, all of it from prompts. My first thought was an engineer's thought: pretty, but that will never survive a review. Vibe engineering, they call it. And at the same time I couldn't shake the question of how much of it was actually right. There was only one way to find out.
So I tried it – on a weekend, with an AI agent, a toolbox that costs zero euros in total, and a company that doesn't exist - or rather, didn't: Chocolaterie Schokittel AG from Appenzell. It wanted a line for 2,000 filled chocolate bars per hour, unstaffed at night, because nobody in Appenzell wants the night shift. In the end there were no bars. Instead, a few hours after the first prompt, there were flow diagrams, P&IDs, equipment lists, a floor plan, a 3D model, an energy balance and a cost estimate – for something that, in my experience, would otherwise have taken months and a specialized engineering firm.
This article tells you what came out of it: the numbers, the mistakes, the places where the agent was smarter than me – and the ones where it would have drained a pipe into the wrong end. And it asks what it means for planning processes when drawing is no longer the bottleneck in the future.
What vibe engineering is – and what it isn't
The term is derived from “vibe coding”, programming by shouting instructions, where you accept the AI's code without reading it. In the fall of 2025, Simon Willison countered it with “vibe engineering”: the same agents, but with full engineering discipline – tests, review, accountability. Applied to plant design, this means: an engineer describes the plant in natural language, an agent generates the planning artifacts, and the human checks, corrects and takes responsibility.
| Vibe Coding | Vibe Engineering | |
|---|---|---|
| Attitude | accept the output, don't read it | check the output, take responsibility |
| Artifact | working code | consistent plant model |
| Quality assurance | “It works” | standards, HACCP, safety distances |
| Role of the human | client | specifier and reviewer |
The decisive technical difference from the image generators we all know: the agent doesn't draw, it models. It writes structured data – graph descriptions, XML, Python scripts, OpenUSD – and then it renders. To the agent, a P&ID isn't a graphic but a data structure from which the graphic follows. That's why a pump tag shows up identically in the bill of materials, floor plan, 3D model and data point list, and a change in one place carries through to all the others. How far that holds up was the real question of my test.
How plants are planned today
Plant design runs in stages: requirements specification, block flow diagram, process flow diagram, P&ID, layout planning, detailed engineering. Each stage has its discipline, its tool and its file format. The process engineer draws the P&ID in one CAE system, the layout planner builds the 3D model in another, the bill of materials lives in Excel, the energy balance in a third program. Between the stages there are handovers, and at every handover information gets lost or typed in again. So-called media breaks, and the death of every fully automated process.
The real problem isn't the duration of a single stage, it's the loop. A change in the layout – a tank doesn't fit through the door – runs back into the P&ID, from there into the lists, from there into the cost estimate. Every revision takes weeks because it has to pass through every discipline, and every revision is an opportunity for new inconsistencies: the tag that was changed in the P&ID still has its old value in the bill of materials.
From a corporate perspective, there's more: the project initiation phase of a large plant project typically takes up to 12 months. During that time, several subject-matter experts sit together with specialized engineering firms, and the result is a preliminary design that serves as the basis for further quotes. For the process part alone, without buildings and permits, I reckon with at least three months. That's the reference value I measured my test against.
The self-test: a bar line in one day
The scenario. To stay well away from my current job, I made up Chocolaterie Schokittel AG in Appenzell – the name is a typo of my own that became a brand. It needs a line for 2,000 filled chocolate bars per hour, two varieties, alpine herb cream as the filling, three-shift operation without operators, electricity and spring water as the only utilities. The requirements specification with 87 numbered requirements came out of a two-hour dialogue with Claude Fable 5.1, which asked me several questions and wrote the text from my answers.
The tools. Claude Code as the agent in VS Code on Linux Mint, plus Graphviz for flow diagrams, draw.io for P&IDs, Python with ezdxf and CadQuery for the floor plan and 3D model, Git for everything. Everything except the language model is open source and free. The repository had a work instruction for the agent (role, standards, tag convention, mandatory consistency check) and a check script that compares every tag in the P&ID against the lists and data points.
The process. Four phases with a fixed time budget, after each phase a review by me with minutes, then a change to the requirements specification with a stopwatch running. I never touched the files myself – every correction went in as a prompt, so the iterations stay countable.
The numbers.
| Today (experience) | Test (measured) | |
|---|---|---|
| Duration of preliminary design (process) | at least 3 months | 1 h 51 min agent time, 4 phases |
| People involved | several experts + engineering firm | one engineer + one agent |
| My effort | – | 60 min prompting, 60 min reviewing, 40 min correcting |
| Expert review of the results | ongoing over weeks | an estimated one day with a process expert |
| Change run through 8 artifacts | days to weeks | 6 minutes |
| Deliverables | PFD, P&ID, lists, floor plan, 3D, energy, costs | the same, plus 300 data points, 14 documented decisions, 34 flagged assumptions |
The change. After phase 5, I added a chapter to the requirements specification: the line is no longer tended by people but by three humanoid robots – charging stations, cleaning airlocks, gripping heights, safety concept according to ISO 10218. I gave the agent 45 minutes. It needed six. In that time it changed the flow diagram, P&ID, lists, data points, floor plan, 3D model and energy balance, and created a new cost estimate. That only worked because in phase 4, unprompted, it had built something I hadn't asked for: a generator that produces the P&ID, lists and data points from a single shared source. In that source, three robots are a dozen lines; everything else follows. The speed didn't come from the language model but from an architecture decision the agent had made on its own.
What the agent found that I had missed.
My requirements specification had three contradictions: the required dwell time of the filling didn't match the required buffer size; washing the molds “outside production hours” is impossible in round-the-clock seasonal operation; and “the robots take over all tasks” collided with some things I had specified myself. Plus a gap: cocoa butter wasn't on the raw materials list but was needed for changing varieties. It reported every point with a proposed solution, without changing anything on its own. It read the specification like a reviewer, not like a draftsman.
What I found that the agent had missed.
It planned to refill cocoa butter pastilles “by hand” – in a plant whose guiding principle, “lights-out”, is in the very first line. It solved mold washing with a weekly shutdown that 24/7 operation doesn't allow. A planner would have spotted both immediately. The agent knows the standard, but not always its consequence: in phase 8 it gave all chocolate lines the required slope of two percent and then noticed on its own that the lowest point is often at the start connection – the pipe drains into the tank instead of into the depositing station.
What surprised me.
The honesty: it labeled the mass balance as “constructed”, the energy figure, which at 0.9001 kWh/kg landed exactly on my target of 0.9 kWh/kg, as a lucky hit, and of the 16 tasks the robots were supposed to take over, it left seven with humans instead of reporting the requirement as met. Second, the progress bias: it ignored a time limit for the 3D model “because of continued progress”; only an explicitly hard limit held. It defined all layout and collision checks itself and passed them itself. That's not proof, just a claim with a script – and exactly the point where the human must not look away.
My verdict. The drafts are good enough as a basis for a first conversation with an engineering firm and for further iterations. I consider the instrumentation with 142 measuring points and the hall with 1,010 square meters plausible; the cost estimate of 14.5 million Swiss francs is enough for a first iteration, but of course I can't verify it without detailed quotes – and the agent says the same about its own number.
What changes for planning processes
Three shifts are emerging, and none of them is primarily about technology.
- From drawing to specifying. Of my 160 minutes, zero went into drawing and 60 into formulating requirements and corrections. The quality of the result depended almost entirely on how precise the requirements specification was – and the agent found three places where it wasn't. Anyone planning plants in the future has to be able to do one thing above all: write testable requirements. In many planning departments today, that skill lives in the head of the experienced colleague, not on paper.
- From a sequential to an iterative process. When a revision takes six minutes instead of two weeks, it pays to calculate variants instead of discussing them. Electric heater or high-temperature heat pump? The agent balanced both and documented the decision with the payback period. Separate or shared refrigeration? Same again. The planning meeting of the future doesn't look at one P&ID but at three, and decides between them.
- From discipline to repository. What sat at the center of my test deserves a name of its own. I call it the Centralized Engineering Repository (CER): a Git repository in which the requirements specification, decisions, assumptions and the sources of all drawings and models live as text, connected by shared names – requirement IDs, tags, line numbers. The word is deliberately borrowed from software development: a repository isn't just any data store, but one with history, accountability and review. The CER replaces the handover between disciplines with a shared source: P&ID, lists, floor plan, 3D model and data points are generated from it, not maintained side by side. The consistency check that ran after every phase in my test is what a checking engineer does today over days: matching tag by tag.
CER and UNS belong together. The Unified Namespace is where the running plant publishes its data – every measured value under exactly one address. The Centralized Engineering Repository is where the same plant is designed – every requirement, every piece of equipment under exactly one name. When the plant goes into operation, the planning tag becomes the operations topic: TIC-101 in the CER becomes schokittel/appenzell/riegellinie/m1/T-101/TIC-101 in the UNS, and the digital twin created from the CER's 3D model gets its measured values from the UNS. Planning and operations share the names, and the data streams of the real plant flow into a model that already knows them. The graphic shows how the picture turns around – from the relay race of disciplines to the CER as the hub.
On the left, every change travels back through all the stages to the beginning; on the right, the repository changes and the views are regenerated – in six minutes in my test.
Documents as code – what concretely changes in daily work. Today an engineer writes the requirements specification in Word. The drawings are created separately in CAD and pasted in as images; if the P&ID changes, the image in the specification is out of date, and nobody notices until a supplier builds from it. The requirement “return temperature at least 80 °C” sits in running text on page 14, and whether the control valve in the P&ID meets it is checked by a human with a finger on the paper. In my test, all of it was text in a Git repository, and that changes the work at every step:
| Work step | Today | In the test |
|---|---|---|
| Write a requirement | running text in Word, page 14 | PRC-04: Alle schokoladeführenden Leitungen beheizt, 40–45 °C, Gefälle ≥ 2 % – one sentence, one ID, testable |
| Get a drawing into the specification | paste a screenshot from CAD, again with every revision | the P&ID is a file in the same repository; every artifact names the REQ IDs it fulfills |
| Check a requirement | reviewer reads page 14 and searches the P&ID | check script: every tag exactly once in the P&ID, lists and data points – after every phase, in seconds |
| Correct the specification | new Word version by email, changes in “Track Changes” mode | one commit: spec: RAU-06 angepasst (L-2) – who, when, why, traceable forever |
| Document a decision | minutes of the planning meeting, somewhere on the project drive | ADR-011: electric heater instead of heat pump, payback 30 years, next to the artifact that depends on it |
| Release a revision | signature on the cover sheet (at best "electronic") | pull request with a diff: you see the three changed lines, not 40 pages of PDF |
Two examples from the test show what that means in practice. When the agent noticed that cocoa butter was missing from my raw materials list, in a Word specification someone would have written an email, and the answer would have been worked into version 1.3 – or not. In the repository, it became a numbered assumption, an entry in the list of assumptions and, after my confirmation, a commit that changed exactly that one line. And when the pipe lengths from the 3D model were available in phase 8, the agent updated the cost estimate, because both are fed from the same lists; the earlier percentage surcharge for piping was replaced by 994 measured meters, and the difference was in the document with a justification. In an Excel sheet that someone filled in three weeks ago, that doesn't happen by itself.
That makes the requirements specification a living thing: not a document you write once and then administer, but part of the source the plant is built from – plant as code, if you like. 42 commits in my test, 17 of them with the agent as co-author, each with the requirement IDs in the subject line – the Git log answers the question that comes up in every project sooner or later: who changed what, when, and why?
What that means for roles. The draftsman doesn't disappear, he becomes a model maintainer. The process engineer no longer draws, he specifies and checks – and he has to check faster than the agent produces. The engineering firm no longer sells hours of drawing but expertise in checking and taking responsibility. And the client who delivers a requirements specification in prose today will have to learn to write in numbered, testable sentences, because otherwise the agent makes up whatever is missing – and flags it, but not always correctly.
Limits and prerequisites
My test shows preliminary-design quality, not detailed engineering. No generated document is ready for approval, and that won't change as long as an engineer is liable with his signature. The question isn't whether the agent takes on the responsibility, but how much faster the human can take it on when the basics are available in hours instead of months.
Some things have to be named honestly. The cost estimate is based on benchmark figures without a single quote. The Unified Namespace that the specification calls for exists as a list of 300 data points with MQTT topics – nothing was connected; only real operation will show whether the data architecture holds up. And the expertise that went into my specification – tempering curves, hygiene zones, jacketed pipes – I had to bring myself; the agent would have guessed it from the internet, and I wouldn't have been able to tell.
On the tooling side, the bridge to the systems of engineering firms is still missing. My model exports to STEP, glTF, OpenUSD and IFC, but not to DEXPI, the exchange format for P&IDs, and no engineering firm will accept draw.io files. The fact that Markdown, Git and Python did the work in my test while the industry's standards stood on the sidelines says something about the state of standardization.
Above all, it says something about access to knowledge. Markdown, Git and Python are freely available, fully documented and can be found in millions of lines of code on GitHub – the agent knows them because it was able to read them. It only knows the EHEDG guidelines, DIN EN 1672-2, ISO 10628 and ISA 5.1 second-hand: from summaries, textbooks, forum posts. The text itself sits behind a paywall, document by document. That's exactly where its mistakes were: it knew that chocolate lines need a slope, but not in which direction; it knew the hygiene zones, but not the consequence for mold washing. An agent with full access to the texts of the standards would probably not have made these mistakes – and an engineer checking it needs the same access to find the mistakes in minutes instead of days. SOPs (Standardized Operating Procedures) will also increasingly become a source of knowledge for agents, so that company-specific rules can be taken into account directly.
That shifts what an engineer needs to know. Until now, he was the expert for his standard, which his employer bought once, and for the discipline next door he asked a colleague. When the agent touches hygiene, energy, robotics and costs at the same time in six minutes, the human checking it has to see far enough into all four fields to recognize the mistake. That only works with knowledge that is equally available to humans and machines – machine-readable, linkable, citable. An industry that sells its knowledge in PDFs at 180 euros apiece won't be accelerated by agents, it will be bypassed. Why that is and what the industry could change about it is an article of its own.
And one limitation that is often forgotten: I used a frontier model. The control run with a local open-source model is still pending; I expect it to show how much of the result depends on the model and how much on the method.
Conclusion
Months versus hours isn't the punchline. The punchline is that in those few hours it became clear what a planner will need to be able to do in the future: write testable requirements, compare variants instead of drawing one, and check a result in the time it takes to create it. The agent corrected my requirements specification three times before implementing it.
For decision-makers in engineering and digitalization, this means: don't wait for a study. A pilot costs a weekend, a requirements specification and a Git repository. It doesn't deliver a finished plant – but it shows two things no study shows: how much time today goes into drawing and handing over instead of deciding, and whether engineers can write requirements in a way an AI agent can implement. In my case, the agent read the specification better and faster than I did in three places and, even more impressive: a change had been carried through all the files in just 6 min and would thus be available as a further basis for discussion.
The repository with the requirements specification, work instruction, check script and all artifacts is public.