Every layer between a decision and the work filters out some of the truth. Reports get summarized, numbers get rounded, and problems get described by someone who heard about them from someone else. By the time a problem reaches the person making the macro decisions, the micro problems are gone, or worse, they look solved.
Lean manufacturing answered this with the Gemba walk: leaders go and look at the work itself. The practice works, and it rarely survives contact with a calendar. In this post, I want to talk a bit about how AI, LLMs and agents can be leveraged to really make the Gemba walk. An agent reading the MES can cover every line and shift, every day, and tell humans where to look. It cannot replace the walk, but it can make the walk worth taking.
What is the Gemba#
Gemba (現場) is Japanese for “the actual place”. In manufacturing it is where value is created: the line, the cell, the machine, the warehouse dock.
The idea comes from the Toyota Production System. The story goes that Taiichi Ohno drew a chalk circle on the floor, put a young engineer inside it and told him to stand there and watch until he understood what was wrong with the process. Sometimes it took a whole shift. Masaaki Imai brought the term to the West through Kaizen (1986) and Gemba Kaizen (1997), arguing that management’s job is to support the Gemba, and that you cannot support what you do not see.
![]() |
|---|
| Taiichi Ohno circle. |
The practice is often summarized in three instructions, attributed to Fujio Cho of Toyota:
- Go see. Go to where the work happens. Do not rely on reports, dashboards or what someone told you.
- Ask why. Understand the process and the reasons behind what you see, not just the symptoms.
- Show respect. The people doing the work know it best. You are there to learn from them, not to inspect them.
What a Gemba walk is, and what it is not#
A Gemba walk is a planned visit by leaders to the place where the work is done, to observe the process, talk with the people running it and find opportunities to improve.
A successful walk usually has:
- A purpose. A theme for the walk: safety, scrap on line 3, changeover times, a new process that went live last week.
- A route that follows the process. Walk the value stream, from raw material to finished goods, not the shortest path between the coffee machine and the office.
- Observation before opinion. Look at the flow, the waiting, the workarounds, the handwritten notes taped to the machine. Those notes are usually the most honest documentation in the plant.
- Open questions. “What gets in your way?”, “What happens when this breaks?”, “Why is this done this way?”. Questions about the process, never about the person.
- No fixing on the spot. The walk is for understanding. Jumping to solutions in front of the team turns it into an inspection and stops people from talking.
- Follow up. Whatever was found has an owner and a date, and the people who raised it hear back. A walk with no follow up teaches people that talking is pointless.
Why they fail#
On paper the Gemba walk is cheap and obvious. In practice it degrades in four predictable ways.
It becomes a tour. The plant manager walks the same route every week, the floor gets cleaned before they arrive, everyone smiles and nothing is learned.
![]() |
|---|
| Factory Tour. |
It becomes an audit. A checklist, a clipboard and a score. People start preparing for the walk instead of doing the work.
![]() |
|---|
| Factory Audit. |
It becomes rare. Calendars fill up, and the walk goes from daily to weekly to “when we have a customer visit”.
![]() |
|---|
| Rare, no time to do it. |
It does not scale. One person can only be in one place. A multi-site company with three shifts has far more Gemba than any leadership team can walk.
The first two failures are about discipline. The last two are about arithmetic, and arithmetic is where an agent helps.
Go and See with MES Data#
“Go and see” assumed the truth only existed on the floor. That is less true than it used to be. Every track-in, data collection, material movement and logged defect is recorded in the MES with a timestamp, and machine integration adds equipment states, alarms and process parameters straight from the equipment. A good part of the floor is now written down.
That data is only useful for reasoning because it is contextualized. Every action in the MES has already passed through its guardrails: the material exists, it belongs to a product and a production order, it sits at a known step, and the operator has permission to act on it. When that context is missing, an agent reasons confidently over numbers that mean something other than what they say, and a plausible plan built on bad data does more damage than no plan. The MES data model matters for agents as much as for people.
Querying that data through chat is already useful. A manager can ask “Show me the performance of line 1 this week and how it compares with line 2” and skip the ticket to the reporting team. That is faster access to records, and it stops there. It does not observe the floor and it does not interview anyone, so it does not replace any part of the walk.
The Agentic Gemba Walk#
The agent gets a purpose, such as a process or a flow, and observes it over a period of time. When it finds an occurrence the data cannot explain, it asks the line manager, engineer or operator. It then aggregates what it learned into an action plan. Humans review the plan and the reasoning, challenge it, and decide what to try. The shape matches human in the loop for MES agents: the agent proposes and a person decides.
An illustrative walk#
What follows is a hypothetical example, built to show the mechanics. None of it happened.
The purpose given to the agent: scrap on line 3, second shift.
What the agent looked at. Thirty days of MES history. Scrap on line 3 averaged 2.1% on first shift and 4.8% on second. OEE was 71% on second shift against 78% on first. Most of the gap sat in the first 40 minutes after changeovers to product family B, which averaged 52 minutes against a 35-minute target. The dominant defect code was solder bridging.
What it asked. The agent posted a question to the second-shift operator on the line: “After a changeover to family B, scrap is concentrated in the first 40 minutes and is mostly solder bridging. What happens in that window that does not happen on first shift?”
What the operator answered. The stencil for family B is cleaned in the tool room, which closes at 22:00. After that, second shift cleans it by hand, and the paste comes straight from the fridge. Before releasing the line, the operator runs about ten test boards. They are tracked in as normal production and scrapped afterwards.
What the agent proposed. Two changes for review: schedule family B on first shift where possible, and pre-stage a cleaned stencil before the tool room closes. It also flagged that part of the scrap figure was an artifact, since first-article boards were counted as production defects.
What the humans changed. The planner rejected the scheduling change, because customer delivery windows fix when family B must run. The supervisor and the operator accepted the stencil pre-staging. The operator added something the agent had no way to know: the paste needs a minimum time out of the fridge, and nobody tracks it. The team created a separate first-product step in the MES, so the test boards stop polluting the scrap numbers, and added a paste-thaw timer to the changeover checklist. The supervisor owns the follow-up, with a review in four weeks.
The agent found where to look and asked a good question. The part of the plan that mattered most came from the person on the line.
What else a plan can cover#
Plans can address scheduling, AMR routing or recipe parameters. A second hypothetical: an agent notices that tool A loses more yield every winter, but only at a site in Wisconsin. Someone who knows the site recognizes that the tool sits outside a temperature-controlled room, and that the cold changes the viscosity of its oil. The agent suggests that the recipe there gets tweaked. The agent supplied the correlation and people supplied the environmental context.
Spatial data fits here too. With 3D factory layouts and positioning technologies like Ultra-Wideband (UWB), tags on carts, pallets and tools can show how material and equipment actually move. That data can suggest a different machine placement or a new location for a kanban supermarket. The subject of the analysis is the flow of material and equipment.
An agent can also propose candidate approaches that other plants or the literature used for the same problem. Humans test them before anyone trusts them.
What the agent cannot see#
The MES sees much more than what people type into it. With machine integration it records equipment states, alarms, process parameters and sensor readings as they happen, and all of that can be exposed to the agent. What it still misses is whatever was never instrumented or modelled: the notes taped to the machine, the workaround done off the system, the reason an operator decided to slow the line down, the paste that came straight out of the fridge. Machine data shows the agent what happened, and the reason behind it often lives only with the people on the line. An agent that asks questions only learns what people choose to tell it, so anything it concludes stays a hypothesis until someone stands at the machine and checks.
![]() |
|---|
| Agentic Gemba Walk. |
Trust and consent#
“Show respect” applies to agents too. An agent that asks operators questions is monitoring work, and in many countries that carries obligations. In the EU, worker monitoring touches GDPR and often requires agreement with the works council. Plan for that before the first question is asked.
Operators need to know what the agent is, why it is asking, and what happens to their answers. Questions should concern the process, as on any good walk, and the analysis should work on material, equipment and flow instead of individual workers. An agent that feels like surveillance gets the same polite, empty answers a tour does.
Any agent that triggers actions, such as changing a recipe or a schedule, needs a human checkpoint before the action takes effect. The degree of automation is a decision for each plant.
Last Thoughts#
Leaders still need to walk the shopfloor, because no query result gives them first-hand understanding of what they make.
The division of labor is simple. Agents walk every line and every shift, every day, and find where to look. Humans go and look, coach the people doing the work, and own the follow-up. The agent covers the part of the walk that fails by arithmetic, and the part that fails by discipline stays with us.











