Wireless sensor network (WSN) containing thousands of tiny and low-power nodes can be used to monitor environment. An energy-efficient and reliable wireless communication architecture is usually required. In this paper, we propose a novel energy-efficient multi-agent based architecture (EEMA), which is based on a clustering algorithm and multi-agent system to reduce the redundant messages and filter most error messages. EEMA consists of three important agents: classification agent, error agent and filter agent which divide messages processing into three different phases separately and achieve different functions. The simulation results show that EEMA can outperform LEACH and ECDG. It can distinctly prolong the lifetime of the system and improve the system reliability.