Zero frontier models produced a valid subject-level analysis dataset across 11 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 enables reliable code generation for regulatory submissions where monolithic LLM prompts fail.