Hugging Face for AI agents
Hugging Face is a platform for building, training, and deploying open-source machine learning models, datasets, and spaces. Product and engineering teams use it as a building block inside their own AI features. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Hugging Face.
Search for a model or dataset
Search Hugging Face for a model or dataset matching a project's requirements.
Check a model's discussion
Pull the discussion thread on a model repository to see recent community feedback.
Create a discussion comment
Post a comment on a repository's discussion to ask a question or report an issue.
135 Hugging Face actions, graded by risk.
Every Hugging Face action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
85Look things up. Allowed by default.
- hugging_face.list_docsList Available Documentation
- hugging_face.get_whoamiGet Authenticated User Info
- hugging_face.get_resolveGet Resolve
- hugging_face.list_spacesList Spaces on Hugging Face Hub
- hugging_face.search_docsSearch Documentation
- hugging_face.get_trendingGet Trending Repositories
- hugging_face.list_vendorsList Cloud Provider Vendors
- hugging_face.list_datasetsList Datasets
- hugging_face.search_papersSearch Papers
- hugging_face.get_discussionGet Discussion Details
- hugging_face.get_model_infoGet Model Information
- hugging_face.get_models_jwtGet Models JWT
- hugging_face.get_space_infoGet Space Info
- hugging_face.get_spaces_jwtGet Spaces JWT
- hugging_face.list_endpointsList Inference Endpoints
- hugging_face.search_datasetSearch dataset
write
40Create and change things. Allow, or ask the user first.
- hugging_face.create_repoCreate Repository
- hugging_face.create_webhookCreate Webhook
- hugging_face.create_ask_accessRequest Repository Access
- hugging_face.create_collectionCreate Collection
- hugging_face.create_models_tagCreate Models Tag
- hugging_face.create_spaces_tagCreate Spaces Tag
- hugging_face.create_discussionsCreate Discussion
- hugging_face.create_datasets_tagCreate Datasets Tag
- hugging_face.create_papers_indexCreate Papers Index
- hugging_face.create_models_branchCreate models branch
- hugging_face.create_models_commitCreate Models Commit
- hugging_face.create_spaces_branchCreate spaces branch
- hugging_face.create_spaces_commitCreate Spaces Commit
- hugging_face.create_papers_commentCreate Paper Comment
- hugging_face.create_spaces_secretsCreate or update Space secret
- hugging_face.update_settings_watchUpdate Watch Settings
destructive
10Delete, cancel or archive. Ask first, or deny outright.
- hugging_face.delete_spaces_tagDelete Spaces Tag
- hugging_face.delete_discussionsDelete discussion
- hugging_face.delete_datasets_tagDelete Dataset Tag
- hugging_face.delete_notificationsDelete notifications
- hugging_face.delete_spaces_branchDelete space branch
- hugging_face.delete_spaces_secretsDelete space secret
- hugging_face.delete_datasets_branchDelete dataset branch
- hugging_face.delete_spaces_variablesDelete space variable
- hugging_face.delete_network_cidr_listDelete network CIDR list
- hugging_face.delete_settings_webhooksDelete Settings Webhook
Hugging Face in three steps.
- 01Your users connect Hugging FaceThey sign in to Hugging Face on Arc0 Connect, under your brand, and approve the access you ask for.
- 02You set the rulesReads run, writes like “create Repository” can wait for the user, and “delete Spaces Tag” can be denied outright.
- 03Any agent can actYour agent calls Hugging Face through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('hugging_face', { read: 'allow', write: 'ask', // create_repo destructive: 'deny', // delete_spaces_tag }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Hugging Face connects.
Users sign in to Hugging Face on Arc0 Connect and approve the scopes you request. Build with Arc0’s Hugging Face OAuth app, or bring your own so the Hugging Face consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
The same Hugging Face connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key · OAuth 2.0
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Hugging Face from any agent.
Hugging Face and Arc0, answered.
Can I use Hugging Face with Claude, ChatGPT or Cursor?
Yes. Connect Hugging Face to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Hugging Face actions you allow.
How do users connect Hugging Face?
Users sign in to Hugging Face on Arc0 Connect and approve the scopes you request. Build with Arc0’s Hugging Face OAuth app, or bring your own so the Hugging Face consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
Which Hugging Face actions can my agent take?
135 in total: 85 read, 40 write and 10 destructive, such as “create Repository”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Hugging Face?
Yes. Actions like “delete Spaces Tag” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Hugging Face too?
Yes. The same Hugging Face connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Hugging Face into your agent.
Your users connect Hugging Face once, under your brand. Your agent gets 135 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan