huggingface.co
huggingface.co
16
partial
Scanned 6/7/2026, 3:18:46 PM
How to access huggingface.co as an agent
- ○Check for an undocumented developer API
No OpenAPI at the standard paths. Look for /developer, /developers, /docs, /api for hand-authored documentation.
https://huggingface.co/developers - ●Register an OAuth application
OAuth/OIDC discovery is published. Register a client, pick narrow scopes, implement signature verification on webhooks.
https://huggingface.co/.well-known/oauth-authorization-server - ○Publish your own agent identity
Generate an Ed25519 keypair, host a public key directory, sign your HTTP requests (Web Bot Auth), apply to Cloudflare's bots & agents directory if you cross their edge.
https://developers.cloudflare.com/bots/concepts/bot/verified-bots/ - ●Respect robots.txt and Content Signals
Even when you are an approved agent, honor the site's policy preferences. Cache them; refresh weekly.
What we found
| Signal | Status | Evidence | Points |
|---|---|---|---|
| oauth_discovery | found OAuth/OIDC discovery document present | huggingface.co/.well-known/oauth-authorization-server | +12 |
| robots_allows | found 1 UA rules · sitemap: yes | huggingface.co/robots.txt | +4 |
Show 12 signals not present
- · llms_txt (+5 if found)
- · llms_full_txt (+3 if found)
- · agents_txt (+6 if found)
- · agents_json (+15 if found)
- · a2a_agent_card (+25 if found)
- · agents_md (+4 if found)
- · openapi (+18 if found)
- · content_signals (+5 if found)
- · ai_plugin_json_legacy (+0 if found)
- · mcp_registry (+25 if found)
- · in_llms_txt_hub (+0 if found)
- · in_agent_friendly_directory (+4 if found)
If you own this site
Concrete moves that would raise huggingface.co's AgentRank:
- →Publish /llms.txt - a curated markdown index of your useful docs for LLMs.
- →Publish /agents.txt declaring which agent protocols you support.
- →If you operate an agent, publish /.well-known/agent-card.json so others can discover it.
- →Publish /AGENTS.md with human-readable agent instructions.
- →Publish your API as OpenAPI 3.x at a discoverable location.
