Reinforcement Learning Agent Based Theory