Skip to main content
Let your agents search and read models, datasets, Spaces and collections on the Hugging Face Hub, browse repository files and take part in repository discussions.

Connection

  • Authentication: API key (User access token).
huggingface.co → Settings → Access Tokens → New token. Name it and pick a role: “Read” covers every read action; “Write” (or a “Fine-grained” token allowed to interact with discussions) is required for create_discussion. Copy the token (starts with hf_).See Hugging Face’s documentation.

Read actions (14)

Write actions (1)

Permissions

Every action above must be explicitly granted to an agent before it can be used. See Permissions for the grant model and Security for how credentials are protected.
Last reviewed against the provider API: September 2026.