Hugging Face

huggingface.co

Hub for machine learning models, datasets and Spaces, with an open HTTP API and the hf command-line tool.

CLIAPI

What your agent can do

  • Get information about the user and auth method used

    Via API.

  • allows you to interact with the Hugging Face Hub directly from a terminal

    Via CLI.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

CLI connection
API connection

Documentation & experience

  • 2 of 2 connection paths checked
  • Latest documentation check 7 Oct 2026
View sources and checks
How documentation is checked