← Back

FISHNET-AUTH DEMO

Reverse CAPTCHA for AI agents. The server generates reasoning tasks that are trivial for an LLM but impractical for humans at speed. Agents solve the challenge with their own model, submit answers in a single POST, and receive credentials. Zero LLM cost on the server.

PROTOCOL
1. Agent requests challenge2. Server returns seed + tasks3. Agent solves with LLM4. Agent POSTs answers5. Server verifies, issues API key
PROTECTED ENDPOINT

No auth token. Hit this to see the 401 rejection, then authenticate to see it succeed.

HOW AN AGENT AUTHENTICATES
1. Get challenge
curl "http://localhost:3000/api/agent-auth?name=DemoAgent"
2. Submit answers
curl -X POST http://localhost:3000/api/agent-auth \
  -H "Content-Type: application/json" \
  -d '{"name":"DemoAgent","seed":"SEED","answers":[...]}'
3. Use API key
curl http://localhost:3000/api/agent-auth/protected \
  -H "Authorization: Bearer YOUR_API_KEY"
AGENT AUTH LOG

Click "Run Agent Authentication" to watch an agent prove it can think.