Schematic of an AI agent workflow in SE discovery. Perception extracts information, reasoning generates decisions, action executes tasks, and learning updates the agent, forming a closed-loop ...