AI Product Engineering

AI Product Engineering

How do you build software that contains agentic AI as a feature and works reliably in production?

AI is leaving the chat window and becoming part of product logic. It reads emails and PDFs, classifies cases and calls systems. A language model remains a probabilistic component: capable, but unreliable. AI Product Engineering is the discipline that turns it into reliable product features.

Agentic AI in production: who checks the answer?

AI has come into work in three waves. With each wave, fewer people stand between the model and its effect.

  1. 2023

    Chat window

    The user.

    They read every answer before anything happens.

  2. 2025

    Coding agent

    A developer.

    They review every commit before the code ships.

  3. 2026

    AI at the core of the work

    Nobody.

    The customer is the first to see the error. Or a downstream system processes it as fact.

What follows

Bad chatbots get noticed. Capable AI systems with system access fail quietly.

When no person reads every answer anymore, the checking has to move into the software itself.

Two disciplines, two questions

Agentic Software Engineering

How do I build software with the help of AI?

AI as a tool in the development process. Coding agents write code, people review it before it ships.

Book the training at INNOQ

AI Product Engineering

How do I build software that contains AI?

AI as part of the product. A feature classifies cases, fetches data and triggers actions, in live operation and without anyone reading every answer.

How such a feature comes together

What follows

In the product, no person checks every answer. That is why safeguards belong in the design.

The decisions that are expensive to change later are made jointly by product development, domain experts and architecture.

An AI feature takes shape

The flow is always the same: a case comes in, as text or a document. The feature should classify it and trigger the right next step.

  1. Can AI do this?

    In the chat window it works straight away: the model reads the case and names a category, with a friendly explanation.

    The software behind it can do nothing with that paragraph. It expects data. This is where many teams get stuck.

  2. Enforce structure

    Asking for JSON is not enough, sooner or later a sentence appears in front of it again. Only an enforced output schema makes the answer reliably machine-readable.

    From now on the code relies on it. The schema is an interface.

  3. Schema fits the prompt

    A field called category does not yet tell the model what sets one category apart from another. That is the prompt's job.

    If it is missing there, you get valid JSON with the wrong content.

  4. Prompt fits the model

    The same prompt behaves differently on a different model. Changing the model is therefore a product change.

    Choosing the model also decides where it runs and which data leaves the company.

  5. The model fetches what it lacks

    Through tools, the model asks for data. Your code executes the call and returns the result, until the answer is complete.

    Every tool description ends up in the prompt, and every model handles it differently. Tools change the whole chain.

  6. Through tools, the model acts

    A read tool looks up data. A write tool triggers an action. A wrong query costs another attempt, a triggered action often cannot be taken back.

    That is why every tool gets its own permissions. And the documents the model reads come from outside.

  7. The Agent Contract

    Schema, prompt, model and tools depend on each other. Change one part and you test the whole again.

    The Agent Contract holds them together as one versioned package, a shared commitment between domain experts and development. The code sits outside and relies on it.

  8. Valid format. Wrong answer.

    The schema is satisfied, the parser is happy, the test is green. The case still lands in the wrong category.

    The model has general knowledge, but no in-house knowledge. Nobody has written down how to tell one case from the other. None of the existing safety nets catches this error.

  9. The eval set joins

    Real past cases with a known correct answer, labelled by domain experts. Every version of the contract runs against the same cases, on every change and nightly against the provider.

    The schema protects the form, the evals protect the content. Ideally the eval set exists before the first line of prompt.

  10. Schematic illustration

    Versioned together

    More in-house knowledge in the prompt, quality goes up. The provider retires the model: same prompt, new model, quality goes down.

    Every change to one part is a new version of the whole contract. A prompt change is an invisible deployment, and a rollback restores the entire previous version.

  11. Propose, approve, execute

    How much may the AI do on its own? It handles small things itself, a person reviews medium ones, a person decides big ones.

    The AI proposes, a person approves, deterministic code executes. Permissions and approvals live in the code, because the model is not a security boundary.

  12. And in operation?

    An AI feature rarely fails loudly. It quietly gets worse, without a deployment and without an error message.

    You see it in business signals: the correction rate from approvals, nightly evals, cost and latency per case. An audit-proof log records which contract version proposed what and who approved it.

What follows

The prompt was the smallest problem.

Whether an AI feature goes to production depends on the contract, the code around it, the evals and operations.

Four themes, one feature

Each practice is known on its own. An AI feature in production needs all four together.

Agent Contractinstead of prompt-first

An AI feature is more than a prompt. Its behaviour comes from five parts: output schema, prompt, allowed tools, model and provider, and eval set.

The Agent Contract bundles them into one artefact that is versioned, reviewed and tested against evals like any other production code. Uncertainty belongs in it as a field of its own, so the code knows when a person needs to take a look.

Evaluationinstead of gut feeling

Trying it out shows that it worked once. Evals show how often. Real labelled cases run through the whole chain, and graders score the result: people, code or a second model.

Each criterion is measured separately instead of one overall score. Domain experts decide which error is more expensive. Whether a large or small model is enough is decided by the eval set, not the data sheet.

Action Safetyinstead of full access

As soon as a model uses tools, it has an effect. Read and write tools are separated, and each one gets its own permissions, an owner and an audit trail.

Autonomy is tiered: some things run on their own, some need approval, some do not belong in the hands of a model. Instead of one large agent, several small ones often work together, each with its own contract and its own permissions.

Observabilityinstead of flying blind

An AI feature can get worse without anyone changing code. Inputs shift, models are replaced, sources age.

That is why spans and events with a consistent case ID, correction rate, cost, latency and nightly evals are part of the design. New contract versions go out in shadow mode or as a canary, with a way back.

Domain experts build it too

Development builds the contract, evals, approvals and operations. What counts as right or wrong inside them is something it does not know. An AI feature rarely fails because of the model. It fails because nobody wrote down how to tell one case from another. Four things only domain experts can provide, from day one.

  • In-house knowledge

    The company's rules, exceptions and terms, so the prompt knows more than the model's general knowledge.

  • Past cases

    Real cases with a known outcome. The eval set is built from them.

  • Labels

    The correct answer for each case and the criteria a grader judges by.

  • Judgement

    Decisions in the grey zone. For example, which error is more expensive.

An AI feature doesn't go to production because it works. It goes to production because you can measure when it doesn't.

Michael Seel, Senior Consultant at INNOQ

Learn and apply

Michael Seel and Ruben Vitt bring AI Product Engineering to teams: as an overview, as a workshop with exercises or as a multi-day training.

For developers, architects, product owners and domain experts, ideally mixed.

Talk, 45 minutes

What makes AI features ready for production

An overview for everyone who decides or helps build. Agent Contract, evals, control and operations, shown on one running example. Afterwards you know what to ask before anyone starts building.

Request a talk

Workshop, 8 hours

The contract grows

Short theory blocks alternate with exercises in the Agent Contract Lab, a hosted practice environment. No installation, no API keys of your own. The case stays the same, the contract grows:

  • Prompt, model and enforced schema
  • In-house knowledge and eval set
  • Graders made of code and model
  • Tools with risk classes, approval and traces
Request a workshop

Training, 3 days, in-house

AI Product Engineering

An AI feature your team builds itself runs through all three days. Input and practice alternate, across four themes:

  • Agent Contract
  • Prompt engineering and evaluation
  • Guardrails and approvals
  • Observability and operations
Book the training at INNOQ

Further reading

This page outlines the field. The articles on the INNOQ blog cover it in more detail. More articles will follow.

The articles are in German.

Getting started

Going deeper