OpenAI’s public guide explains how to build AI agents—systems that autonomously complete tasks for you.