High Level Description This thesis project investigates where AI agents should run inside Azure CI/CD pipelines. The study compares execution environments for an agent that diagnoses failed builds, focusing on startup time, cost per task, and resistance to prompt-injection attacks, without compromising the quality of the diagnoses.Mjukvaru- och systemutvecklare m.fl.Data/IT