{"by":"kcorbitt","descendants":12,"id":43846690,"kids":[43848831,43848552,43849331,43849296,43851229,43854214,43855666],"score":116,"text":"Hey HN, I wanted to share a new project we&#x27;ve been working on for the last couple of months called ART (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;OpenPipe&#x2F;ART\">https:&#x2F;&#x2F;github.com&#x2F;OpenPipe&#x2F;ART</a>).<p>ART is a new open-source framework for training agents using reinforcement learning (RL). RL allows you to train an agent to perform better at any task whose outcome can be measured and quantified.<p>There are many excellent projects focused on training LLMs with RL, such as GRPOTrainer (<a href=\"https:&#x2F;&#x2F;huggingface.co&#x2F;docs&#x2F;trl&#x2F;main&#x2F;en&#x2F;grpo_trainer\" rel=\"nofollow\">https:&#x2F;&#x2F;huggingface.co&#x2F;docs&#x2F;trl&#x2F;main&#x2F;en&#x2F;grpo_trainer</a>) and verl (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;volcengine&#x2F;verl\">https:&#x2F;&#x2F;github.com&#x2F;volcengine&#x2F;verl</a>). We&#x27;ve used these frameworks extensively for customer-facing projects at OpenPipe, but grew frustrated with some key limitations:<p>- Multi-turn workflows, where the agent calls a tool, gets a response, and calls another, are not well supported. This makes them a non-starter for any task that requires an agent to perform a sequence of actions.<p>- Other frameworks typically have low GPU efficiency. They may require multiple H100 GPUs just to train a small 7B parameter model, and aren&#x27;t able to keep the GPUs busy consistently during both the &quot;rollout&quot; and &quot;training&quot; phases of the training loop.<p>- Existing frameworks are typically not a convenient shape for integrating with existing agentic codebases. Existing trainers expect you to call raw text completion endpoints, and don&#x27;t automatically provide industry-standard chat completion APIs.<p>ART is designed to address these limitations and make it easy to train high-quality agents. We&#x27;ve also shared many details and practical lessons learned is in this post, which walks through a demo of training an email research agent that outperforms o3 (<a href=\"https:&#x2F;&#x2F;openpipe.ai&#x2F;blog&#x2F;art-e-mail-agent\">https:&#x2F;&#x2F;openpipe.ai&#x2F;blog&#x2F;art-e-mail-agent</a>). You can also find out more about ART&#x27;s architecture in our announcement post (<a href=\"https:&#x2F;&#x2F;openpipe.ai&#x2F;blog&#x2F;art-trainer-a-new-rl-trainer-for-agents\">https:&#x2F;&#x2F;openpipe.ai&#x2F;blog&#x2F;art-trainer-a-new-rl-trainer-for-ag...</a>).<p>Happy to answer any questions you have!","time":1746027300,"title":"Show HN: ART – a new open-source RL framework for training agents","type":"story","url":"https://github.com/OpenPipe/ART"}