API for Erebot's core