Define interface between environnement and agent.