agent test loop agentic ai