代理工具
TRL Integrates OpenEnv, Enabling GRPO to Directly Train Stateful Tool-Using Agents
Hugging Face has added native OpenEnv integration to TRL, allowing GRPOTrainer to access multi-turn environments through a unified factory interface instead of treating each tool call as an independent function. Environments can run as WebSocket services or inside containers, but the project remains experimental, and users must verify isolation strength and reward integrity themselves.