TRL and OpenEnv now let you train agents inside your own coding harness
ben_burtenshaw · x · 2026-07-24
You can now train agents in TRL and OpenEnv with a harness of your choice, such as OpenCode, pi, Codex, or Claude Code.
- The core idea is to improve the model in the same harness where it will actually be used, so it learns the right tool usage for the task.
- The workflow described is: build a task dataset, plug in a harness that drives the session, connect an OpenEnv environment plus harness adapter, then use TRL HarnessRolloutWorker to collect traces and AsyncGRPOTrainer to update weights from environment reward.
- The attached diagram shows the full cycle: code task + verifier → loop-owning agent → environment/verifier → rollout collection → policy updates.
Related event: TRL and OpenEnv Enable Custom Agent Harness Training(4 posts)→
More from coding & agent
- alphaXiv open-sources OpenResearch to run parallel research agents with any model — alphaXiv · 2026-09-11
- MathModelAgent gains traction: auto-solves math modeling and writes a submission-ready paper — jihe520 · 2026-09-11
- DeskcommCRM: open-source AI sales CRM with native agents and WhatsApp hits 1k stars — melgarafael · 2026-09-11
- hyperresearch: agent-driven knowledge base that turns web research into a searchable wiki — jordan-gibbs · 2026-09-11
- Forter's 13 lessons from its agent sprint: skip custom RAG, lean on mature enterprise search — bibryam · 2026-09-11
- Two real 'company brains' opened up live: Gorgias' in-house Cortex vs Slite — femke_plantinga · 2026-09-11