An agentic framework for gravitational-wave counterpart association in the multi-messenger era