To set up a chat agent in Azure, go to https://ai.azure.com and ensure you create a Foundry project and resoruce. On the Agents tab, click New agent > Build an agent. Give it an agent name and choose “text” interaction mode, then click Create agent and open playground. On the playground, you can provide the basic instruction and try to interact with the agent.