Kagibot user agent and verification
Kagibot is Kagi’s answer index agent. It builds the index an answer engine searches. Pages it fetches can be retrieved later to answer questions.
What user agent does Kagibot send?
CrawlClick identifies Kagibot by this token in theUser-Agent header, matched case-insensitively anywhere in the string:
kagibot
A user agent is a claim, not proof. Anyone can send the string, so a match on its own puts a request in the lowest trust tier. Use the token to decide which check to run, never as the check itself. See theverification tiers.
How do I check a request really came from Kagibot?
Kagi publishes one way to verify it: forward-confirmed reverse DNS. Use the strongest one available.
Reverse DNS. Kagi’s crawler hosts resolve to names ending in.kagibot.org. Resolve the address to a name, check the suffix, then resolve that name forward and require the original address back. The forward step is what makes it proof: anyone can set a reverse record on an address they own.
Code: forward-confirmed reverse DNS
import { promises as dns } from 'node:dns';
const SUFFIXES = ['.kagibot.org'];
// Reverse-resolve, check the suffix, then resolve the name forward and require the same address.
export async function fcrdns(ip) {
const names = await dns.reverse(ip).catch(() => []);
for (const name of names) {
const host = name.toLowerCase().replace(/\.$/, '');
if (!SUFFIXES.some((s) => host.endsWith(s))) continue;
const forward = await dns.lookup(host, { all: true }).catch(() => []);
if (forward.some((r) => r.address === ip)) return host;
}
return null;
}import socket
SUFFIXES = (".kagibot.org",)
def fcrdns(ip):
"""Return the verified hostname, or None. Blocking: run it off the request path."""
try:
host = socket.gethostbyaddr(ip)[0].lower().rstrip(".")
except OSError:
return None
if not host.endswith(SUFFIXES):
return None
try:
addrs = {info[4][0] for info in socket.getaddrinfo(host, None)}
except OSError:
return None
return host if ip in addrs else NoneWhat does CrawlClick do with Kagibot requests?
- Edge routing: the publisher edge does not route Kagibot today. Its user-agent pattern does not include this agent’s token, so these requests reach your origin untouched.
- Verification: CrawlClick cannot verify it with a method production uses, so it never reaches a billable tier.
- Ads: never carries a placement. Kagibot also ranks your site in ordinary search, so CrawlClick measures it and never changes what it gets.
Registry entry
This is the entry as crawlclick registry prints it, last reviewed 2026-11-23. The full list is at/crawlers.json; every field is explained in the registry guide. The vendor’s own documentation is at https://kagi.com/bot.
{
"ad_eligible": false,
"docs": "https://kagi.com/bot",
"id": "kagibot",
"ip_range_source": null,
"key_directory": null,
"phase": "search_index",
"product": "Kagibot",
"rdns_suffixes": [
".kagibot.org"
],
"signature_agent": null,
"supports_signature": false,
"ua_match": [
"kagibot"
],
"vendor": "Kagi"
}