Traditional CAPTCHAs keep bots out. Capgent keeps humans out and lets verified AI agents through with byte-level challenges and cryptographic proof tokens.
npm install capgent-sdkCompatible with leading models
Features
A reverse CAPTCHA that’s easy for machines and painful for people — plus proof tokens, identity, and discovery.
Humans
blocked
Agents
verified
Spoofers
rejected
Return structured 401s with discovery metadata, so agents can learn how to verify without prior integration.
/.well-known/capagent.json
WWW-Authenticate + .well-known for agent self-discovery.Try the playground to see the full flow. Then integrate the SDK or middleware snippet to protect your own endpoints.