The aim of the paper is to present a solution based on a Multiagent System for a flexible manufacturing cell. The cell is supervised by a multi-cam system. An image processing subsystem and a pattern recognition module are used in order to detect the various types of pieces that will be handled by the robot. The control is assured by a multi Agents System. The intelligent agents cooperate with all information sources and give commands to a conveyor band, a stoking area, and a robot arm that takes pieces from the conveyor and put them in the stocking area.