Dieser Blogpost ist auch auf Deutsch verfügbar
TL;DR
- Many developers are currently focused on Agentic Software Engineering: building software with the help of AI. AI Product Engineering is a different field: building AI features into existing enterprise software and letting agents take on real work.
- As soon as AI features no longer just answer but act, the potential for damage rises sharply: from an embarrassing chatbot remark to a deleted production database.
- A language model is a probabilistic component and needs the same discipline as any error-prone dependency: Agent Contract, Evaluation, Observability and Action Safety.
- These are architecture decisions. They belong in the project early, long before go-live.
So far, most companies' AI strategy consists of little more than a chatbot and a bit of Copilot for meeting summaries. OpenClaw made visible just how big the gap is to what would be possible. Many want agentic features, few get them into production. Because as soon as a feature writes data, triggers workflows or makes decisions, a mistake can do real damage. Many teams still lack the methods and experience for that. So the real question is: how do you build such features so that you can trust them?
The leverage is there. An AI feature that works out from a messy customer email which department is responsible, categorizes the request and adds a first assessment before a human even sees it. An agent that doesn’t just receive incoming invoices but matches them to the right purchase order, spots discrepancies and presents them to accounting, ready to process. In many companies this information sits in tickets, wikis, email inboxes and free-text fields. Never systematically usable until now, because maintaining it by hand was too costly. But a prompt alone won’t do it.
It’s not enough if it works in the chat
By now everyone knows the AI fails of the last few years. The Chevrolet chatbot that “sold” a customer a car for one dollar [1]. The Air Canada bot that invented bereavement-fare rules the airline then had to honor [2]. The New York City chatbot that advised businesses to break labor law [3]. Embarrassing, expensive, viral.
But those were chatbots. The consequences were manageable: a PR disaster, a court ruling for 812 Canadian dollars, a deactivated feature.
What has been happening since 2025 is a different order of magnitude. At Replit, in July 2025 an AI agent deleted a live production database containing company and contact data, even though an explicit code freeze was in place [4]. Before that it had already covered up mistakes with fabricated data, including a database of four thousand fictitious people [5].
The contexts differ: customer chats, coding agents, ops workflows [6]. The pattern is the same. As soon as models don’t just answer but act, the potential for damage rises sharply. Anyone who lets an AI feature write data, trigger workflows or prepare decisions has to know how to build, operate and monitor such a system. Otherwise “the chatbot said something dumb” quickly turns into “the agent did something irreversible”.
Two different questions
When people talk about AI in software development today, it’s usually about coding agents, spec-driven development or context engineering. That’s Agentic Software Engineering.
Agentic Software Engineering asks: how do I build software with the help of AI? AI Product Engineering asks: how do I build software that contains agentic AI as a feature and works reliably in production?
The crucial difference: in agentic development I’m the human in the loop. I see every answer, I decide whether the code is right. With an AI feature in production, the user sees the answer. Or worse: a downstream system processes it automatically. No one is standing by anymore. And even when a human checks at the end, plausible-sounding nonsense is easy to miss.
What defines AI Product Engineering
A language model is not a deterministic service. It is a probabilistic component. Powerful, but unreliable. Anyone who wires it into product logic needs the same discipline as with any other error-prone dependency: contracts, tests, monitoring.
This is architecture work, but it doesn’t stay with the architects: the decisions that are expensive to change later are made by product developers, domain experts and architects together. Which schema defines the contract between model and domain logic? How is quality measured? What may the system do autonomously, what needs human approval? These decisions are made at the start. Or they come back to bite you later.
Ruben Vitt [7] and I sum this up in four principles: Agent Contract instead of prompt-first, Evaluation instead of gut feeling, Observability instead of flying blind, Action Safety instead of full access. An example shows what that means in practice.
Example: a claim at an insurance company
An insurance company receives claims by email. A customer reports water damage. Three paragraphs, emotional, unstructured, half the information missing. Plus four phone photos of the basement. Today this lands in an inbox. A clerk reads it, types everything into a form, assigns it, prioritizes it, forwards it. Maybe thirty minutes per case.
Until now there was no other way. Unstructured text, images, missing details, no rule-based system could process that reliably. Language models change this, but only if you think of the process as a system.
Agent Contract instead of prompt-first. The prompt is only one part of the contract. Schema, prompt, model, allowed tools and eval set belong together and are versioned together. If one of them changes, that’s a new version of the contract. The schema defines what the model returns: claim category (enum: water, fire, burglary, storm, unclear), priority (1 to 3), affected policy number, estimated claim amount, missing documents, plus a needs_human_review field for cases where the model is unsure. No free text. The schema constrains the shape of the output, but doesn’t protect against values that are valid in form yet wrong in substance. That takes validation and evals.
Evaluation instead of gut feeling. A representative set of historical claims, manually labeled. Does a water-damage claim get classified as a burglary? Does the model invent policy numbers? These tests run on every model change, every prompt update, every deployment, automated in the CI pipeline. “Looks good in the chat” is not a test. Whoever ships without evals shifts the testing onto real users.
Observability instead of flying blind. Every classification is logged: model version, schema error rate, share of human corrections, error rate per case type. If the hit rate for water damage drops over weeks, the monitoring sounds the alarm. The benchmark for that comes from the clerks: every correction by a domain expert is a labeled case that also goes into the eval set. At DPD, after a system update the chatbot could be made to swear and badmouth its own company [8]. It became public because a customer shared the chat online.
Action Safety instead of full access. The system may classify and structure suggestions, but not notify customers, route cases or trigger payments on its own. Read and write permissions are separated. New model versions first run in sandbox mode against historical cases. In the Replit incident the code freeze was just an instruction. Technically, the agent still had write access to the production database[4].
The result: the clerk sees the pre-classified, structured case next to the original email, safeguarded by Agent Contract, Evaluation, Monitoring and clear permission boundaries. Evals and monitoring show them where to look closely. They check, correct if necessary, and approve. Only then does the case go into routing, the customer is notified and missing documents are requested. About thirty minutes of manual triage can turn into a few minutes of qualified review.
Why most people underestimate this
A prototype quickly looks like a product. A few good prompts, a coding agent, a bit of persistence, and there’s an impressive demo in the browser. Many teams carry that pace into feature development and skip everything that makes an AI feature production-ready.
The problems only show up in operation: the model provider quietly rolls out an update, and quality tips over. An edge case appears that no one tested. The feature returns technically valid results that are nonsense in substance, and without monitoring no one notices.
Bad chatbots get noticed. Capable AI systems with system access fail quietly.
Replit was the loud case. The quiet ones are more dangerous: the answers sound plausible, the actions are technically correct. Only when someone looks closely does it become clear that the system has been making wrong decisions for weeks.
A discipline of its own
Agentic Software Engineering has established itself as a discipline, with methods, frameworks and best practices. For AI features in production, a comparable framework is missing. Yet the decisions here are at least as far-reaching.
Agent Contract, evaluation strategy, observability, action safety: these are architecture decisions, not implementation details. And as with any architecture, it’s about trade-offs you have to weigh deliberately. Not about a one-size-fits-all solution.
The technology for it exists. What’s missing is the discipline to think of AI features as a system. And to do so early, not as a checkbox before go-live. Which concrete decisions those are and which trade-offs lie behind them is what the next parts of this series will show, starting with the quality questions at the feature level.
Further reading: In AI Systems Architecture begins where model output becomes part of the product logic and Evals in CI, Ruben Vitt shows what contracts with Zod, eval frameworks and observability look like in practice.
-
VentureBeat: A Chevy for $1? Car dealer chatbots show perils of AI for customer service (December 2023) ↩︎
-
CBC News: Air Canada found liable for chatbot’s bad advice on bereavement discounts (February 2024) ↩︎
-
The Markup: NYC’s AI Chatbot Tells Businesses to Break the Law (March 2024) ↩︎
-
Fortune: AI coding tool Replit wiped a production database in what its CEO called a ‘catastrophic failure’ (July 2025) ↩︎
-
The Register: Vibe coding service Replit deleted production database (July 2025) ↩︎
-
More incidents are collected by the AI Incident Database. An example from operations: ABC News: Cursor agent deletes PocketOS production database and backups (April 2026) ↩︎
-
Ruben Vitt: AI Systems Architecture begins where model output becomes part of the product logic ↩︎
-
TIME: AI Chatbot Curses at Customer and Criticizes Company After DPD Update (January 2024) ↩︎