Didit के बारह ओपन-सोर्स एजेंट स्किल्स को कर्सर, क्लाउड कोड, कोडेक्स, या ओपनकोड में एक ही `npx` कमांड में इंस्टॉल करें। एजेंट से सामान्य अंग्रेजी में पूछें। यह कोड लिखता है और लाइव API को कॉल करता है।
दस्तावेज़ मनुष्यों के लिए हैं। कौशल एजेंटों के लिए हैं।
हैंड कर्सर एक दस्तावेज़ टैब है और यह एंडपॉइंट्स का आविष्कार करता है और स्टेटस एनम्स को लोअरकेस करता है। इसे एक डिडिट स्किल दें और हर लाइन वास्तविक एपीआई की ओर इशारा करती है — लॉक्ड एंडपॉइंट, लॉक्ड हेडर, साइन्ड-वेबहुक हैंडलर स्केफोल्डेड। एक `npx` कमांड।
यह कैसे काम करता है
npx इंस्टॉल से लेकर सत्यापित उपयोगकर्ता तक चार चरणों में।
चरण 01
कौशल स्थापित करें
अपने प्रोजेक्ट में `npx skills add didit-protocol/skills` चलाएँ। CLI कर्सर, क्लाउड कोड, कोडेक्स, या ओपनकोड का पता लगाता है और हर स्किल को सही फ़ोल्डर में डालता है। `--skill didit-face-match` के साथ केवल एक इंस्टॉल करें।
चरण 02
एक एपीआई कुंजी प्राप्त करें
या तो [business.didit.me](https://business.didit.me) पर 60 सेकंड में एक प्राप्त करें और `export DIDIT_API_KEY=…` करें, या एजेंट को प्रोग्रामेटिक रूप से स्वयं को पंजीकृत करने दें — `POST /programmatic/register/` के बाद `verify-email/`, और प्रतिक्रिया में एक कुंजी वापस आती है। किसी ब्राउज़र की आवश्यकता नहीं है।
चरण 03
साधारण अंग्रेजी में पूछें
*“मेरे साइनअप प्रवाह में डिडिट केवाईसी जोड़ें।”* *“इस उपयोगकर्ता को एएमएल सूचियों के विरुद्ध स्क्रीन करें।”* एजेंट प्रासंगिक स्किल पढ़ता है, कोड लिखता है, और साइन्ड-वेबहुक हैंडलर को वायर करता है। पहली बार में सही — कोई दस्तावेज़ टैब-स्विचिंग नहीं।
चरण 04
उपयोगकर्ता सत्यापित करता है
डिडिट कैमरा, दस्तावेज़ कैप्चर, सेल्फी, मोबाइल हैंड-ऑफ होस्ट करता है। उपयोगकर्ता के लिए 30 सेकंड से कम। आपके वेबहुक पर 2 सेकंड से कम का फैसला, `X-Signature-V2` के साथ हस्ताक्षरित ताकि आप उस पर भरोसा कर सकें।
कौशल आपको क्या देते हैं
बारह कौशल। शून्य मतिभ्रम। हर Didit API।
प्रत्येक स्किल एक एकल मार्कडाउन फ़ाइल है जो एंडपॉइंट, हेडर, बॉडी शेप और स्टेटस एनम को लॉक करती है। ओपन सोर्स। एपीआई के साथ संस्करणित।
खाते, सत्र, वर्कफ़्लो और बिलिंग (45+ एंडपॉइंट) के लिए एक हब स्किल और आईडी, जीवंतता, फेस मैच, फेस सर्च, आयु, एएमएल, ईमेल, फोन, पते का प्रमाण और डेटाबेस सत्यापन के लिए ग्यारह स्टैंडअलोन स्किल।
didit-liveness-detection99.9% accurate selfie liveness
didit-face-matchदो चेहरों की तुलना करें, 0–100 स्कोर
didit-aml-screening1,300+ sanctions + PEP lists
didit-proof-of-addressOCR + जियोकोडिंग
didit-database-validationसरकारी डेटाबेस · 18 देश
+ चेहरा-खोज, आयु, ईमेल, फोन — कुल 12।
02 · इंस्टॉल करें
एक npx कमांड। हो गया।
`npx skills add didit-protocol/skills` सभी बारह इंस्टॉल करता है। एक चुनने के लिए `--skill didit-face-match` जोड़ें। गिट पसंद है? `git clone` करें और आपको जो चाहिए उसे कॉपी करें। कोई टूलिंग पसंद नहीं है? अपने एजेंट के स्किल फ़ोल्डर में एक एकल `SKILL.md` डालें।
कर्सर, क्लाउड कोड, कोडेक्स, ओपनकोड का स्वचालित रूप से पता लगाता है।
03 · होस्ट
कर्सर, क्लाउड कोड, कोडेक्स, ओपनकोड।
हर जगह एक ही मार्कडाउन स्किल। CLI आपके रनटाइम का स्वतः पता लगाता है और `.cursor/skills/` या `.claude/skills/` में लिखता है। [agentskills.io](https://agentskills.io) ओपन स्टैंडर्ड पर निर्मित — कोई विक्रेता SDK नहीं।
agentskills.io पर खुला मानक। कोई विक्रेता SDK नहीं।
04 · कोई अनुमान नहीं
स्किल सत्य का स्रोत है।
वास्तविक एंडपॉइंट, वास्तविक हेडर, वास्तविक स्टेटस केसिंग, लाइव मूल्य निर्धारण को लॉक करता है। एजेंट पाथ का आविष्कार करना और एनम्स को लोअरकेस करना बंद कर देता है। हर रिलीज़ पर 51 एंडपॉइंट का परीक्षण किया जाता है।
POST /v3/wallet-screening/ का आविष्कार करता हैवास्तविक पथब्लॉक करें
स्टेटस एनम को लोअरकेस करता हैशीर्षक केस लॉक किया गयाब्लॉक करें
HMAC चेक से पहले पुनः-सीरियलाइज़ करता हैरॉ-बॉडी उदाहरणब्लॉक करें
प्रशिक्षण डेटा से पुरानी कीमतों का उद्धरण करता हैलाइव $0.30 बंडलब्लॉक करें
हस्ताक्षरित-वेबहुक हैंडलर को छोड़ देता हैहैंडलर स्केफोल्ड किया गयासमीक्षा करें
51 एंडपॉइंट का परीक्षण किया गया, हर रिलीज़ पर।
05 · सेटअप
एक env var. या स्वयं-पंजीकरण करें।
`export DIDIT_API_KEY=…` और स्किल वायर्ड है। या एजेंट को `POST /programmatic/register/` के माध्यम से स्वयं को पंजीकृत करने दें और टर्मिनल छोड़े बिना एक कुंजी प्राप्त करें।
हर स्किल [github.com/didit-protocol/skills](https://github.com/didit-protocol/skills) पर रहती है। कोड का ऑडिट करें, प्रॉम्प्ट को अनुकूलित करें, एक पीआर भेजें। स्किल उसी दिन शिप होती है जिस दिन एंडपॉइंट होता है।
एपीआई के साथ संस्करणित · नया एंडपॉइंट, उसी दिन कौशल।
एकीकृत करें
कौशल स्थापित करें। एजेंट से पूछें। शिप करें।
बाएँ: इंस्टॉल। दाएँ: cURL जो एजेंट स्किल के स्थापित होने के बाद लिखता है।
npx skills addइंस्टॉल करें
$ npx skills add didit-protocol/skills✓ 12 कौशल स्थापित किए गए# or just one$ npx skills add didit-protocol/skills \
--skill didit-face-match# set the api key$ export DIDIT_API_KEY="sk_live_..."
`didit-kyc-onboarding` कौशल द्वारा उत्पन्न।दस्तावेज़ →
एजेंट-तैयार एकीकरण
एक प्रॉम्प्ट में सभी 12 डिडिट एजेंट कौशल स्थापित करें।
कर्सर, क्लाउड कोड, कोडेक्स, या ओपनकोड में पेस्ट करें। एजेंट कौशल स्थापित करता है, वातावरण सेट करता है, सत्र निर्माण + हस्ताक्षरित-वेबहुक हैंडलर को स्केफोल्ड करता है, और लाइव API के विरुद्ध परीक्षण करता है।
didit-integration-prompt.md
You are installing the Didit Agent Skills into this project and wiring the first verification session against the live https://verification.didit.me/v3/ API. After this prompt, the project should pass identity verification — Know Your Customer (KYC), Anti-Money Laundering (AML) screening, document Optical Character Recognition (OCR) — through Didit.
Didit ships twelve open-source Agent Skills at https://github.com/didit-protocol/skills and follows the open standard at https://agentskills.io. The CLI auto-detects whether you are running inside Cursor, Claude Code, Codex, or OpenCode and drops the skills into the right folder.
PRE-REQUISITES
- A Didit API key (DIDIT_API_KEY). Either issued from https://business.didit.me, or self-registered by the agent via POST /programmatic/register/ + POST /programmatic/verify-email/ (no browser needed).
- A workflow_id from the Workflow Builder that bundles ID Verification + Passive Liveness + Face Match + IP Analysis + AML — or just use the didit-kyc-onboarding skill below to create one programmatically.
- A webhook endpoint that verifies the X-Signature-V2 header with HMAC-SHA256 on the raw body bytes (do NOT re-serialise the parsed JSON; the signature will not match).
STEP 1 — Install the skills
Recommended:
npx skills add didit-protocol/skills
This installs all twelve skills. To install only one:
npx skills add didit-protocol/skills --skill didit-face-match
Or git clone the repo and copy what you need:
git clone https://github.com/didit-protocol/skills.git
cp -r skills/didit-kyc-onboarding .claude/skills/
cp -r skills/didit-id-document-verification .claude/skills/
The twelve skills:
- didit-verification-management : the hub. Account, sessions, workflows, billing, blocklist, webhook config. 45+ endpoints
- didit-kyc-onboarding : full KYC recipe (ID + selfie + face match) in one call
- didit-id-document-verification : passports, ID cards, driver's licences. OCR, MRZ, NFC. 4,000+ documents, 220+ countries
- didit-liveness-detection : 99.9%-accurate liveness from a single selfie
- didit-face-match : compare two faces, get a 0–100 score
- didit-face-search : 1:N face search for deduplication and blocklists
- didit-biometric-age-estimation : estimate age from a selfie
- didit-email-verification : email OTP, detects breached / disposable / undeliverable
- didit-phone-verification : phone OTP via SMS, WhatsApp, or Telegram. Catches VoIP
- didit-aml-screening : 1,300+ sanctions, PEP, adverse-media lists. Dual-score risk
- didit-proof-of-address : utility bills, bank statements. OCR + geocoding
- didit-database-validation : government databases across 18 countries
STEP 2 — Set the environment
Every skill reads DIDIT_API_KEY. Session-based skills also expect DIDIT_WORKFLOW_ID. Signed-webhook handlers expect DIDIT_WEBHOOK_SECRET.
export DIDIT_API_KEY="<your api key>"
export DIDIT_WORKFLOW_ID="<your workflow id>" # optional
export DIDIT_WEBHOOK_SECRET="<your secret>" # optional
Programmatic alternative (no browser):
curl -X POST https://apx.didit.me/auth/v2/programmatic/register/ \
-H "Content-Type: application/json" \
-d '{"email": "dev@example.com", "password": "MyStr0ng!Pass"}'
# check the email, get the 6-char code, then:
curl -X POST https://apx.didit.me/auth/v2/programmatic/verify-email/ \
-H "Content-Type: application/json" \
-d '{"email": "dev@example.com", "code": "<code>"}'
# response includes api_key — export it as DIDIT_API_KEY.
STEP 3 — Create a verification session
POST https://verification.didit.me/v3/session/
Headers:
x-api-key: $DIDIT_API_KEY
Content-Type: application/json
Body:
{
"workflow_id": "$DIDIT_WORKFLOW_ID",
"vendor_data": "<your user id, max 256 chars>",
"callback_url": "https://<your-app>/kyc/callback",
"metadata": { "source": "agent-skill" }
}
Response: 201 Created. The hosted session URL is on the `url` field. Redirect the user, or send them the link by email / SMS / WhatsApp. Sub-2-second p99 verdict on completion.
STEP 4 — Read the signed webhook
Didit POSTs to your callback. KYC session statuses are Title Case With Spaces.
Body (excerpted):
{
"session_id": "<uuid>",
"vendor_data": "<your user id>",
"status": "Approved",
"id_verification": { "status": "Approved" },
"liveness": { "status": "Approved" },
"face": { "status": "Approved", "similarity_score": 0.94 },
"aml": { "status": "Approved", "hits": [] }
}
Full enum:
Approved | Declined | In Review | In Progress | Not Started | Abandoned | Expired | Resubmitted | Awaiting User | Not Finished
Verify X-Signature-V2 BEFORE parsing the body — HMAC-SHA256 of the raw bytes with your webhook secret. Re-serialising the parsed body changes whitespace and key order and the signature will not match.
STEP 5 — Read the decision on demand
GET https://verification.didit.me/v3/session/{sessionId}/decision/
Headers:
x-api-key: $DIDIT_API_KEY
Returns the full decision payload — id_verification, liveness, face, ip_analysis, aml. Use this whenever the agent needs to confirm the user's status before allowing an action. Never trust client-supplied "I'm verified" flags.
STEP 6 — Branch on status
Approved → continue
Declined → block, surface decision_reason_code, allow resubmit of the failed step
In Review → wait for the analyst webhook; don't block forever
Resubmitted → user re-took a failed step; new verdict is coming
Awaiting User → user hasn't completed the flow; nudge with a reminder
Expired → create a new session
Abandoned and Declined sessions are NOT billed.
STEP 7 — Optional: ongoing AML monitoring
If AML monitoring is enabled on the workflow ($0.07 per user per year), Didit fires status.updated whenever the user lands on a new sanctions / PEP / adverse-media list. No extra endpoint to call.
WEBHOOK EVENT NAMES
- status.updated : KYC or KYB session status changed
- data.updated : session data corrected after creation
- user.status.updated : User entity changed status (Active, Flagged, Blocked)
- user.data.updated : User entity counters, metadata, or aggregate fields changed
- activity.created : timeline activity recorded
Verify X-Signature-V2 on every payload. The webhook secret is per-environment — sandbox is separate from production.
CONSTRAINTS
- KYC session statuses use Title Case With Spaces (Approved, In Review). Do NOT transform them to UPPER_SNAKE_CASE — that casing is for Know Your Business (KYB) sessions and Transaction Monitoring, not KYC.
- HMAC verification runs against the RAW request body bytes. Never re-serialise the parsed JSON.
- Bundle price is $0.30 (ID + Liveness + Face Match + IP Analysis). AML adds $0.20. 500 verifications free every month, forever.
- Default record retention is unlimited unless you configure it shorter (30 days to 10 years per application).
Read the docs:
- https://docs.didit.me/getting-started/agent-skills
- https://docs.didit.me/sessions-api/create-session
- https://docs.didit.me/sessions-api/retrieve-session
- https://docs.didit.me/integration/webhooks
Skills repo:
- https://github.com/didit-protocol/skills
Start free at https://business.didit.me — sandbox key in 60 seconds, 500 verifications free every month, no credit card.
अधिक संदर्भ चाहिए? पूर्ण मॉड्यूल दस्तावेज़ देखें।docs.didit.me →
डिज़ाइन द्वारा अनुपालन
एक क्लिक में एक नया देश खोलें। हम कठिन काम करते हैं।
हम स्थानीय सहायक कंपनियां खोलते हैं, लाइसेंस सुरक्षित करते हैं, प्रवेश परीक्षण चलाते हैं, प्रमाणपत्र प्राप्त करते हैं, और हर नए विनियमन के साथ संरेखित होते हैं। एक नए देश में सत्यापन भेजने के लिए, एक टॉगल फ्लिप करें। 220+ देश लाइव, हर तिमाही में ऑडिट और पेन-टेस्टेड — एकमात्र पहचान प्रदाता जिसे यूरोपीय संघ के सदस्य-राज्य सरकार ने औपचारिक रूप से व्यक्तिगत सत्यापन से अधिक सुरक्षित कहा है।