Baidu ERNIE user agents, explained.
Baidu's ERNIE Bot (文心一言) powers answers across Baidu Search and yiyan.baidu.com. Three crawlers share the load — here's how each one works.
Baidu uses ERNIEBot for AI-specific crawling, YiyanBot for the yiyan.baidu.com assistant, and traditional Baiduspider whose index also feeds ERNIE. Blocking Baiduspider hurts your Baidu Search rankings in China.
Overview
Baidu ERNIE Bot (文心一言) is China's largest LLM deployment, with 200M+ monthly active users and roughly 35% of China's LLM market. It's integrated into Baidu Search, giving it unmatched distribution for Chinese queries.
Three Baidu crawlers feed ERNIE — and they're tangled together. Baiduspider runs traditional indexing, ERNIEBot and YiyanBot target AI-specific operations.
How to identify the agents
3 crawlersBaidu ERNIE identifies itself with specific user-agent strings. Verify each through a published IP range.
ERNIEBot
AI crawling · ERNIE modelThe AI-specific crawler powering ERNIE Bot's responses and continual learning. Access here directly affects whether your content appears in AI answers across Baidu's ecosystem.
YiyanBot
Yiyan (文心一言) assistantIdentifier used for the yiyan.baidu.com assistant's web access. Often appears alongside ERNIEBot in Chinese-market logs.
Baiduspider
Baidu Search · primary crawlerBaidu's long-running search crawler. Its index feeds ERNIE's retrieval layer — blocking it kills your Baidu Search visibility in China.
How Baidu ERNIE accesses your content
3 access patterns, mapped to the agents above.
AI answers
ERNIEBot feeds ERNIE Bot's generated answers across Baidu surfaces.Assistant
YiyanBot backs the yiyan.baidu.com conversational UI.Search + AI overviews
Baiduspider indexes content for Baidu Search; the same index feeds ERNIE.Baiduspider and ERNIEBot share infrastructure. Blocking Baiduspider removes you from Baidu Search entirely — in China, that's a ~70% search market hit.Control Baidu ERNIE's access
robots.txtYou control each agent independently. Common configurations below.
Block AI features, keep searchRecommended
Stay in Baidu Search, limit AI-specific crawls.Block all Baidu crawlersRestrictive
Removes you from Baidu Search AND ERNIE. Significant traffic loss in China.Selective access
Protect private paths, keep public pages citable.Optimize content for Baidu ERNIE.
ERNIE lives in the Chinese web. Optimize for Baidu Search and you optimize for ERNIE.
Track Baidu ERNIE visits with xSeek.
See every Baidu crawler hit.
Track ERNIEBot, YiyanBot, and Baiduspider separately. Understand how your content flows into ERNIE answers and Baidu Search AI overviews.
Frequently asked questions
Mozilla/5.0 (compatible; ERNIEBot/1.0; +https://yiyan.baidu.com/bot). Baidu also uses YiyanBot for the assistant and the traditional Baiduspider, whose index feeds ERNIE.