What if the robot software fails?

Short answer
A software error in a humanoid must not lead to a dangerous situation. The Machinery Regulation requires that faults and errors in the control logic do not cause a hazard. The limits of the safety functions are set by the manufacturer in the risk assessment, and the machine may not shift them itself, not even while learning. What an emergency stop does differs per robot. According to the AgiBot A3 manual, after an emergency stop all joints lose their support and the robot collapses. That belongs in your risk assessment.
In brief
- The Machinery Regulation requires that faults in the hardware and errors in the control logic do not lead to a dangerous situation.
- For a machine with self-evolving behaviour, the control system must stay within the defined task and range of movement, and the machine must always be correctable.
- The manufacturer sets the limits of the safety functions in the risk assessment. The machine may not change those settings itself if that could create a hazard.
- What an emergency stop does to the robot is stated in the manual of the model. On the AgiBot A3, the robot collapses.
- The AgiBot G2 has a software emergency stop and a hardware emergency stop. The manual calls the hardware emergency stop more reliable.
- A change that the manufacturer did not foresee and that affects safety can make the modifying party the manufacturer. Therefore, record who changes what.
What the Machinery Regulation requires of the control system
The Machinery Regulation (EU) 2023/1230 is the European legislation for machines. According to its text, it applies from 20 January 2027 and replaces the Machinery Directive. For control systems, it states that they must be built so that no dangerous situations arise. A fault in the hardware or in the control logic must not lead to a hazard, and neither must errors in the control logic. The same applies to reasonably foreseeable human error and malicious attempts by third parties.
Two parts matter for robot software. The limits of the safety functions are set by the manufacturer in the risk assessment. Settings or rules that the machine itself or an operator generates must not be changeable in a way that creates a hazard, not even in the learning phase. In addition, the machine keeps a traceability log of interventions and of uploaded versions of safety software, and that data is available for five years to a supervisory authority that asks for it.
When a machine learns
For machines with fully or partially self-evolving behaviour, designed to operate with varying levels of autonomy, the regulation sets additional requirements. The control system may not make the machine perform actions outside the defined task and range of movement. Data on the safety-related decision-making process of software that ensures safety functions is kept for one year after the machine is placed on the market. And it must always be possible to correct the machine to maintain safety. The risk assessment must also include the hazards that are foreseeable because of the intended evolution of that behaviour.
Safety components with self-evolving behaviour based on machine learning are also on a list of products for which a stricter conformity procedure applies. The recitals of the regulation say that third-party assessment of software that ensures safety functions is intended only for systems with self-evolving behaviour based on machine learning, and not for software that cannot learn.
What an emergency stop does differs per robot
The regulation sets requirements for the machine. What happens at a stop is stated in the manual of the model. Two examples from AgiBot:
- A3. According to the manual (release 8 May 2026), after an emergency stop all joints lose their support and the robot collapses. The manual asks you to always keep the protective frame in place after an emergency stop and to use the emergency stop only when necessary. During operation, you keep at least 1 meter distance from the work area.
- G2. The manual (release 30 July 2026) describes a software emergency stop and a hardware emergency stop. The hardware button is on the rear and interrupts the joint drive. According to the manual, it is more reliable than the software stop. It also states that you do not play back recorded actions if people are within the working range. The manual does not describe which posture the robot takes after an emergency stop.
That difference affects your workplace. A robot that falls over requires different measures than a robot that stays standing. How a humanoid works among people is covered in can a humanoid work safely among people.
What this means for your installation
The regulation places the risk assessment of the machine with the manufacturer. For your setup, the assessment of the location and the task is added; how that goes is described in risk assessment for a humanoid. Three points are immediately usable:
- Record which state the robot takes after a fault or emergency stop and test that in your own setup. The answer is not always in the manual.
- Treat a firmware or software update as a change that you record. The regulation asks for a log of uploaded versions of safety software.
- Do not make changes that the manufacturer did not foresee and that affect safety without knowing what that means for your role. A substantial modification makes the modifying party the manufacturer. The regulation calls a modification substantial if it was not foreseen or planned by the manufacturer, affects safety and creates a new hazard or increases an existing risk.
If you want to try out a task first in a small, supervised trial, you can do so through a proof of concept.
Sources: Machinery Regulation 2023/1230, AGIBOT A3 User Manual, AGIBOT G2 User Manual
Sources
- EUR-Lex: Regulation (EU) 2023/1230 on machinery (14 June 2023, Official Journal 29 June 2023) (checked on 2026-11-22)
- AGIBOT A3 Robot User Manual (release 8 May 2026, version V3.3) (checked on 2026-11-22)
- AGIBOT G2 User Manual (release 30 July 2026) (checked on 2026-11-22)
Frequently asked questions
Does a humanoid stop by itself if the software crashes?
That is not a given and depends on the model and the setup. The Machinery Regulation requires that a fault in the hardware or control logic does not lead to a dangerous situation. How the robot behaves in the event of a fault, you take from the manual and from a test in your own setup.
What does an emergency stop do to a humanoid?
That differs per model. According to the AgiBot A3 manual, all joints lose their support and the robot collapses, which is why the protective frame should stay in place. The G2 manual does not describe which posture the robot takes after an emergency stop.
Is a learning model allowed in a machine?
The Machinery Regulation does not prohibit it. It sets requirements for machines with self-evolving behaviour: the control system may not make the machine perform actions outside the defined task and range of movement, and the machine must always be correctable. Safety components with machine learning fall under a stricter conformity procedure.
May the robot adjust its own safety limits?
Not if that could lead to a dangerous situation. The regulation provides that the limits of the safety functions are set in the manufacturer's risk assessment and that the settings or rules that the machine generates itself cannot be changed, not even in the learning phase.
Does a robot have to keep a record of what happened?
Yes, the regulation asks for a traceability log of interventions and of uploaded versions of safety software. For self-evolving behaviour, data on the safety-related decision-making process is added. A supervisory authority can ask for it to check conformity with the requirements.
Who is responsible if it goes wrong?
That depends on the roles. Whoever substantially modifies a machine in a way the manufacturer did not foresee is considered the manufacturer. How that works out for your situation is for a lawyer or safety specialist to assess.