Section 01
Introduction: EHRGym — A Training Sandbox for Medical AI Agents
EHRGym is a containerized reinforcement learning environment designed specifically for training computer agents that can operate Epic-like electronic health record (EHR) systems. It supports GRPO training and integration with the TRL framework, addressing core obstacles in medical AI deployment such as complex interactions with real EHRs and compliance sensitivity, while providing realistic and secure training scenarios.