Reliability is an critical factor of mobile agent system,this paper describes a window-based fault-tolerant mechanism,which can make tradeoff between performance and reliability,so is applicable to wide range of network environments. Failure recovery procedure of it is also discussed.