Claude Code
Run by Anthropic
How to detect Claude Code
Claude Code names itself in its user agent, but anyone can copy a user agent, so it is detected by confirming the user agent against other signals: where the traffic comes from, such as the IP address and hosting network, matches the operator; and automation patterns from an app running on a person's computer.
- Detection method
- Self-declaredThe agent names itself in its user agent, and Verisoul confirms it with network, device or behavioral data. A user agent alone is never enough.
- Signals that identify it
- NetworkWhere the traffic comes from, such as the IP address and hosting network, matches the operator
- DeviceNames itself as Claude Code in its user agent, which we check against the rest of the session
- BehavioralAutomation patterns from an app running on a person's computer
Every signal Verisoul checks for Claude Code
Claude Code names itself in its user agent. Anyone can copy that, so we only label a session Claude Code when the other signals check out too.
- Not used
Cryptographic
Not needed to identify it
- Used
Network
Where the traffic comes from, such as the IP address and hosting network, matches the operator
- Used
Device
Names itself as Claude Code in its user agent, which we check against the rest of the session
- Used
Behavioral
Automation patterns from an app running on a person's computer
How often you'll see it
Uncommon
Seen on some sites, in small volumes
More from Anthropic
- ClaudeBotAnthropic's crawler that collects public pages for model training.Self-declaredHow common: Very common
- Claude-SearchBotAnthropic's crawler that indexes pages for Claude's web search.Self-declaredHow common: Common
- Claude-UserFetches a page when a person asks Claude about it.Self-declaredHow common: Uncommon
- Claude desktop appAnthropic's Claude app for Mac and Windows, browsing for a person.Self-declaredHow common: Very uncommon
- Claude DuetAnthropic's cloud browser that Claude uses to browse the web and carry out tasks for a person.Self-declaredHow common: Growing
Questions about Claude Code
How do you detect Claude Code?
Claude Code names itself in its user agent, but anyone can copy a user agent, so it is detected by confirming the user agent against other signals: where the traffic comes from, such as the IP address and hosting network, matches the operator; and automation patterns from an app running on a person's computer.
What is Claude Code?
Claude Code is Anthropic's coding agent, fetching pages from a developer's terminal, editor or the cloud.
Does Claude Code identify itself?
Partly. Claude Code names itself in its user agent, but user agents are easy to copy, so the name alone is not proof.
Can a bot pretend to be Claude Code?
A bot can copy Claude Code's user agent or markers, but the network, device and behavior signals will not match, so it is not labeled Claude Code.
How common is Claude Code?
Uncommon. Seen on some sites, in small volumes.
What does the Verisoul API return for Claude Code?
Every session Verisoul identifies as Claude Code carries an agent block with id "claude_code", name, provider, type "ai_agent", detection_method "self_declared" and the detection_signals used (network, behavioral). Build rules on the id, type and detection method.