SevyDevy

Design an LLM agent for manufacturing

PremiumLLM systemHard

  • LLM agents
  • Tool permissions
  • Human in the loop approval

Quick answer

This LLM system interview question asks you to design an LLM agent for manufacturing. Aim for a design that uses language models to serve users well, then explain retrieval, prompting, serving, evaluation and trade-offs. Interviewers want to see how you control quality, cost and latency, and how you evaluate the results.

The problem

Design an LLM agent for manufacturing plants: a factory assistant that reads machine telemetry, maintenance manuals and work orders, answers technicians on the shop floor and proposes repair actions. The hard parts are grounding every answer in live data and sources, and making sure the agent can never touch a machine without human approval.

A technician asks why filler 7 keeps tripping on overpressure. The agent should pull the last hour of sensor data, the fault history, the right manual section and similar past work orders, then answer with sources. It may draft a work order, but any action that changes a machine (a setpoint, a stop, a restart) becomes a proposal that a qualified supervisor approves in the control system.

What must an LLM agent for manufacturing do?

  • Grounded answers: Answer technician questions from live telemetry, manuals and past work orders, citing every source used.
  • Human-approved actions: A machine-affecting action is only ever a proposal; a qualified supervisor approves it in the control system before anything runs, and a proposal expires if it is not approved in time.
4 more requirementsUnlock to see all

How well must it do it?

  • Safety: The agent holds no credential that can write to a machine; tool permissions are enforced outside the model.
  • Latency: First words within 3 seconds and a full answer within 15 seconds at p95, including tool calls.
4 more requirementsUnlock to see all

What scale should you design for?

Use these numbers in your estimates.

The scale numbers unlock with this questionUnlock

Key concepts

  • LLM agents
  • Tool permissions
  • Human in the loop approval
  • RAG
  • Telemetry summarisation
  • Prompt injection

How you’ll practise

6 short steps · save and come back any time
  1. Problem framing
  2. Data and retrieval
  3. Prompting and orchestration
  4. Evaluation and safety
  5. Serving, cost and latency
  6. Wrap-up

Lala, personalized to you, gives a hint when you ask and reviews your design when you are ready.

What do interviewers look for?

In any LLM system design round.

  • Defines the user task and what a good answer is
  • Explains how relevant context reaches the model
  • Plans evaluation before and after launch
  • Controls cost and latency with caching and routing
  • Covers safety, privacy and abuse
  • Handles failures and fallbacks gracefully

Questions people ask about this interview question

Which design type is this question?
It is an LLM system question. You design an LLM agent for manufacturing and explain your choices the way you would in an interview.
Is this question asked at entry level?
It is marked Hard. It suits engineers preparing for senior interviews, where you are expected to drive the discussion and go deep on trade-offs.
What should I cover first?
Start with the user task, what a good answer looks like and how it will be measured. Agree on scope with the interviewer before you design anything.
Can I practise it for free?
It is a premium question. Sign up and unlock it once for 10 credits; it then stays unlocked. When you finish, Lala, your personalized AI mentor, can review your design for 30 credits.

Related questions

Updated · Written by the SevyDevy team

Premium questionSign up free, then unlock it