minimal version of agent functionality