Basically, DevOps and Agile are complementary to each other. Agile focuses more on the values and principles of developing new software and managing a complex process in a more effective way. Meanwhile, DevOps is all about enhancing the communication, integration, and collaboration between different teams, which comprises of the developer and operation teams.
It takes both Agile and DevOps methods to form a product development life cycle that works seamlessly: Agile principles help shape and steer the development toward the right path and DevOps utilizes the tools to make sure the product is fully delivered to the customers.