AI agent for academic writing assessment