Get the daily emailDaily email
  1. Home
  2. Guides
  3. This story

Multi-turn agentic RL with Tunix and Gemma 4 on TPUs

Google walks through training Gemma 4 E2B as a multi-turn, tool-calling agent with Tunix's agentic RL pipeline on a single Cloud TPU v6e-8, using a grid game. After 100 steps of agentic GRPO the win rate rose from 9.4% to 95% and average game length fell from…

Found Read the original

Ranked #22 of 29 on Saturday, November 28

Multi-turn agentic RL with Tunix and Gemma 4 on TPUs

Why it matters

It is a complete, runnable example of multi-turn tool-using RL on a small open model.

What happened

1 min read

Google walks through training Gemma 4 E2B as a multi-turn, tool-calling agent with Tunix's agentic RL pipeline on a single Cloud TPU v6e-8, using a grid game. After 100 steps of agentic GRPO the win rate rose from 9.4% to 95% and average game length fell from about 22 to about 16 strikes; full code is on GitHub.

inscraper analysis

Our analysis

The gain is striking but comes from a simple game with a deterministic reward and a tiny state space, so it says little about real agent tasks. The main value is the modular structure (environment, tool parser, trajectory collection) you can adapt. Directly useful mainly to people working in JAX on TPUs.

More in Guides