11/10/2025
Using Agent Builder is a great way to understand how the OpenAI Agents SDK works. One area that’s not well-documented is the use of Transform and Set State - features that are essential for context engineering. In this guide, AmigdaEdu walks you through how to use them step by step.
Read more:
5 min read Since there is little documentation about Set State & Transform here are a few notes to speed up your experimentation. Set State If you are familiar with OpenAI Agents SDK, Set State is similar to setting the values of the variables with RunContext.