This designs and implements an agent—oriented prolog interpreter—GKD—APS,which is in accordance with agent—oriented paradigm and supports communicat-ing between agents and the concepts such as agent,mental states,belief.commitment and ability.GKD—APS provides the basis for building multi—agent systems and cooperation and knowledge communication among multiple agents.It effectively supports the research and development of distributed knowledge systems.