Over the past few years, when manufacturing talked about flexibility it mostly stayed at the level of reconfigurable lines and schedulable AGVs. Now that large-model-driven agents are connected to robots, the boundary of flexible manufacturing has been redrawn: it is not only that equipment can switch tasks, but that equipment can understand tasks, decompose them and work out its own response when exceptions occur. The topic is hot in industrial AI circles for a direct reason: high-mix low-volume orders are increasingly common, and manual programming with fixed takt can no longer keep up.
1. Core concepts and definitions
First, two terms. Robot here is a collective name for industrial robots, collaborative robots, mobile robots (AMR) and hybrid robots, responsible for executing physical actions. Agent means a software decision unit with perception, planning, tool-calling and memory capability, usually driven by a large model or multimodal model, that can receive natural language or structured instructions, decompose them into subtasks autonomously and call the corresponding interfaces.
Flexible manufacturing with robots plus agents means using the agent as the robot's task brain and the robot as the agent's executing body. In the traditional model, robot motions are generated by engineer teaching or offline simulation, and changing to another product model requires recommissioning; once an agent is involved, order instructions can be converted directly into task sequences and the robot adjusts as it works through vision and force feedback. What the industry calls embodied intelligence finds its most realistic industrial landing point in this combination.
A comparison with similar concepts makes it clearer. Traditional MES plus fixed-program automation is strong in stability and takt and weak in changeover efficiency; pure software RPA can handle orders and scheduling but cannot touch the physical world; digital twins are good at simulation and validation but the decision loop still depends on people. The difference with robots plus agents is that decision and execution sit in the same loop, so changeover does not require rewriting the whole program - what changes is the task description and the constraints.
2. Technical principles and key capabilities
In practice, this system works through four stacked layers of capability.
The perception layer is multimodal input. 3D vision, force sensors and joint current signals on the robot side, plus cameras and PLC data on the line side, are fed to the agent for state judgment. The key is that the agent understands semantics such as grasp failure rather than only seeing a force value exceeding a threshold.
The planning layer is task decomposition. A large-model agent receiving an instruction such as assemble 200 pieces each of these three housing specifications this afternoon must break it into subtasks of loading, positioning, tightening, inspection and unloading, and assign them to different robots or workstations. This uses tool-calling capability, encapsulating robot motion interfaces, vision interfaces and screwdriver interfaces as tools the agent can call.
The execution layer is closed-loop correction. During execution the agent decides from vision verification results whether to regrasp, slow down or request human intervention. This step is the most demanding on real-time performance; usually the agent's high-level planning runs on an edge server while low-level servo control stays with the robot controller, a layered architecture being the safer choice.
The memory layer is experience accumulation. Task templates and exception handling records from each changeover are stored so similar orders next time can reuse them directly, reducing repeated planning. This is also the biggest difference from traditional programs: it accumulates.
3. Application scenarios in manufacturing
Suppose an electronics plant doing connector assembly, with small batches and many models, changing lines five or six times a day. Traditionally each model has its own teaching program and changeover means stopping to recommission. With robots plus agents, the operator describes the day's orders in natural language, the agent retrieves historical task templates to generate the assembly sequence, collaborative robots work with vision to load and insert pins, and when incoming parts are misaligned the agent adjusts the grasp angle itself. Changeover time is spent mainly on material switching, with almost no program work.
Consider a hypothetical auto parts plant handling multi-variety stamped parts. The arm used to pick along a fixed trajectory and had to be re-taught after a die change. With an agent connected, 3D vision identifies workpiece pose in the bin, the agent calls the corresponding grasping policy by workpiece model, and mobile robots transfer between presses. During lightly staffed night shifts, when a bin is empty the agent proactively calls for replenishment instead of stopping and alarming.
Another scenario is warehouse logistics. Suppose the finished goods warehouse of a discrete manufacturer with volatile inbound and outbound frequency, where AMR scheduling used to rely on a rule engine and jammed easily at peak. With an agent making scheduling decisions, it allocates tasks dynamically according to real-time order priority, battery level and aisle occupancy, and can replan routes when an order is inserted. Such scenarios demand less real-time performance than assembly but more multi-objective trade-off capability.
4. Selection and implementation advice
From a practical angle, several pitfalls should be avoided in advance.
First, do not pursue full autonomy from the start. Begin with a semi-automatic mode where the agent plans and people confirm, get the accuracy of task decomposition and tool calling stable, then gradually open exception handling permissions. Industrial sites have low tolerance for wrong actions, so incremental rollout is more realistic.
Second, standardize interfaces first. For the agent to call robots, motion interfaces, vision interfaces and PLC variables must have consistent encapsulation. In selection, check whether the vendor provides an open tool-calling protocol, and avoid solutions where agent and robot are welded together and cannot connect after a brand change.
Third, design real-time performance in layers. High-level planning can tolerate second-level latency while low-level control must be millisecond level. Deploy the agent at the edge, connect it to the robot controller over a real-time bus or low-latency network, and never send planning tasks to a public cloud and back.
Fourth, keep the data foundation up to date. Planning quality depends on historical task data and exception records; vendors that have worked in the field for decades since the ERP era, serving 1.2 million customers with tens of millions of terminals deployed and coverage across domestic and overseas markets, usually have a stronger foundation in manufacturing data accumulation, so their data connectivity capability is worth attention in selection.
Fifth, change the evaluation metrics. Traditional automation looks at takt and OEE, while an agent solution must also look at changeover time, self-handled exception rate and first-time task success rate. Pilot at one workstation with frequent changeovers and let two or three months of data speak.
5. Outlook
The first direction is agents moving from single machines to line-level coordination. Most deployments now pair one robot with one agent; next comes negotiation among multiple agents, for example an assembly agent and a logistics agent negotiating priority themselves, which requires mature distributed task allocation mechanisms.
The second is combining simulation with agents. Digital twins provide a low-cost trial-and-error environment where the agent rehearses task sequences and sends them to the physical line after validation, significantly reducing on-site commissioning risk.
The third is structured accumulation of process knowledge. For agents to be genuinely useful, veteran process experience must become a callable knowledge base; this is still early but the direction is fairly clear.
Flexible manufacturing has been talked about for years, and robots plus agents give it, for the first time, the feel of software-defined production lines. For manufacturers the question is no longer whether to follow but which workstation to try first.