The paper presents a Prolog API for controlling the LEGO Mindstorms NXT robot platform. It uses a multilayer architecture,
composed of a behavioral, sensomotoric, and connection layer. The platform can be used as a generic solution for programming
the NXT in Prolog.
The paper is supported by the Hekate Project funded from 2007–2009 resources for science as a research project.