A theoretical and practical deep dive into foundations of agents, retrieval augment generation and their impact on real world applications from scratch.