← Back to projects

ToolGym

A Gymnasium environment for training and evaluating LLM tool use as an RL problem.

Pythonopen source

Problem

Tool use by language models is usually evaluated with one-off scripts. Framing it as a proper RL environment makes it possible to train and benchmark agents on tool selection and argument construction under a consistent reward signal.

Approach

Tech

GymnasiumPythonLLM tool useReinforcement learning

Status

Shipped and open source. Used as the agentic-RL testbed alongside my PPO work.

Links