An apparatus for automatically tracking an endoscope and track a surgical instrument, comprising: • the endoscope, which takes an image from inside the body to represent it on a monitor, • an image processing system, which recognizes the instrument tip to the obtained by the endoscope image and determines its position, • a control system the basis of the known his current position of the endoscope and the detected position of the instrument tip control information for an endoscope guidance system, EFS, processed, • a monitoring system monitors the control system and the overall system, • an operating system, the letting the user choose between different functions of the EFS and displays his various information such as system status, • the endoscope guidance system, EFS, which receives the endoscope with a camera / holds and guides corresponding to the transmitted control information from the control system, and facilities for: Fault tolerance machining, intuitive operation and has sovereignty, wherein, in the fault-tolerance machining ...