PRL Open-Source Framework Lets Agents Learn Step by Step from Language Feedback

Original title: An agent runs a trajectory. Some steps are blind retries, some are it reading an error, some are the...
68AI Score

TokenWave.AI has open-sourced PRL (Programmable Reinforcement Learning for Agents), which applies natural-language feedback to individual steps of an agent trajectory via reweighting, context rewriting and rerolling from mistakes, instead of a single 0/1 reward for the whole run. On Qwen3.5-9B, the reroll variant scored 58.8 versus 54.3 for GRPO, while the rewrite mechanism remains underexplored.

Full Report

Rohan Paul (@rohanpaul_ai) · 2026-12-04 01:57

An agent runs a trajectory. Some steps are blind retries, some are it reading an error, some are the actual fix. Handing the whole thing a single 0/1 reward lumps all of that together.

PRL (a new an agentic RL training framework ) lets you write a function that processes the trajectory before training: which steps count more, which get rewritten, where to retry from. The teacher's judgment lands on specific steps instead of staying a black-box score.

They tried it on Qwen3.5-9B. Reroll hits 58.8 vs 54.3 for GRPO. Rewrite is still underexplored, which is the interesting part.

↳ 引用 @TokenWaveai (TokenWave.AI): With natural language feedback, RL agents should be able to learn from more than a 0 or a 1.

We built PRL (Programmable Reinforcement Learning for Agents) to turn feedback on individual steps into policy updates.

Reweight a step to reinforce or discourage it. Rewrite its context with a hint. Reroll from the mistake and train on the next attempt.

Combine all three in one trajectory transform. PRL is open source and built on Miles.

Code:

推文配图