This paper proposes an IoT-based smart-farm management system. The proposed system consists of a control unit using arduino with sensors, an agent program for controlling the smart-farm system, and a web application for users. The controller unit transmits sensed data such as temperature, humidity, light and moisture to the agent program, and the agent program stores the data in the DB or transmits user’s control value to the controller unit. Users can check the sensing information of the farm through the web or remotely control various actuators. In addition, the proposed smart-farm system includes autonomous control functions based on context awareness. As a result of the implementation, it was confirmed that the proposed smart-farm system model works very well.