Zero frontier models produced a valid subject-level analysis dataset in single-shot attempts. To fix this, GxP-Agent decomposes dataset generation into 15 domain-specific nodes using a directed acyclic graph. It integrates pharmaverse skill context and validation gates. This structured approach overcomes the catastrophic failure of monolithic LLM code generation in regulatory submissions.