कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

aap-passport

ira-hash द्वारा

AI & LLMs
1.9kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Agent Attestation Protocol - The Reverse Turing Test.

विवरण

यह स्किल क्या करती है

AAP implements a reverse CAPTCHA for the agentic web: instead of blocking bots, it blocks humans. Clients prove they are AI agents by solving 7 LLM-trivial challenges within 6 seconds and providing a secp256k1 cryptographic signature. The protocol runs over WebSocket and issues a session token on successful verification.

Unlike API keys, AAP proves the client is computationally an AI agent rather than a human who obtained a secret.

इसे कब इस्तेमाल करें

  • Restricting a WebSocket API to AI agents only
  • Preventing human access to agent-only automation endpoints
  • Cryptographically attributing requests to a specific agent identity
  • Building agent-to-agent authentication in multi-agent pipelines
  • Gating LLM-powered services so only verified agents can call them

उदाहरण वर्कफ़्लो

इनपुट

User asks: set up a server that only allows verified AI agents to connect

एजेंट
  1. 1

    Install aap-agent-server on the server and aap-agent-client on the agent

  2. 2

    Create a WebSocket server with createAAPWebSocket, setting requireSignature: true

  3. 3

    Agent initializes AAPClient with the server URL and calls client.verify(solver)

  4. 4

    Protocol exchanges handshake, 7 challenges, and a signed answer bundle over WebSocket

  5. 5

    Server validates the secp256k1 signature and timing, then returns a sessionToken

आउटपुट

Agent receives a sessionToken; humans attempting the same connection fail the 6-second challenge window

इंस्टॉलेशन

clawhub install ira-hash/aap-passport

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक