The client credentials grant is one of the grant types defined in OAuth 2.0 (RFC 6749). In this flow a client application obtains an access token from the authorization server using only its own credentials, such as a client ID and client secret, with no user involved.
Because the client acts under its own authority rather than on behalf of a particular user, the grant is used in machine-to-machine settings such as server-to-server communication and batch jobs. AI agents also use it when they call tools under their own identity without a logged-in user.