Tu agente de IA puede ejecutar KYC. Con un solo comando.
Instala las doce Habilidades de Agente de código abierto de Didit en Cursor, Claude Code, Codex u OpenCode con un solo comando `npx`. Pregúntale al agente en español. Escribe el código y llama a la API en vivo.
Con la confianza de más de 2.000 organizaciones en todo el mundo.
¿Por qué habilidades y no documentación?
La documentación es para humanos. Las habilidades son para agentes.
Dale a Cursor una pestaña de documentación e inventará endpoints y convertirá a minúsculas los enums de estado.
Dale una habilidad de Didit y cada línea apuntará a la API real: endpoint bloqueado,
encabezados bloqueados, manejador de webhook firmado preconfigurado. Un solo comando `npx`.
Cómo funciona
Desde la instalación con npx hasta el usuario verificado en cuatro pasos.
Paso 01
Instala las habilidades
Ejecuta `npx skills add didit-protocol/skills` en tu proyecto. La CLI detecta Cursor, Claude Code, Codex u OpenCode y coloca cada habilidad en la carpeta correcta. Instala solo una con `--skill didit-face-match`.
Paso 02
Consigue una clave API
Consigue una en 60 segundos en [business.didit.me](https://business.didit.me) y `export DIDIT_API_KEY=…`, o deja que el agente se registre programáticamente, `POST /programmatic/register/` seguido de `verify-email/`, y una clave te llegará en la respuesta. No necesitas navegador.
Paso 03
Pregunta en español
*“Añade Didit KYC a mi flujo de registro.”* *“Comprueba a este usuario contra las listas AML.”* El agente lee la habilidad relevante, escribe el código y conecta el manejador de webhook firmado. Correcto al primer intento, sin cambiar de pestaña de documentación.
Paso 04
El usuario verifica
Didit aloja la cámara, la captura de documentos, el selfie y la transferencia móvil. Menos de 30 segundos para el usuario. Veredicto en menos de 2 segundos en tu webhook, firmado con `X-Signature-V2` para que puedas confiar en él.
Lo que te dan las habilidades
Doce habilidades. Cero alucinaciones. En cada API de Didit.
Cada habilidad es un único archivo Markdown que bloquea el endpoint, los encabezados, la estructura del cuerpo y el enum de estado. Código abierto. Versionado con la API.
Doce habilidades. Una por cada capacidad de Didit.
Una habilidad central para cuentas, sesiones, flujos de trabajo y facturación (más de 45 endpoints), además de once habilidades independientes para identificación, prueba de vida, coincidencia facial, búsqueda facial, edad, AML, correo electrónico, teléfono, prueba de domicilio y validación de bases de datos.
didit-liveness-detection99.9% accurate selfie liveness
didit-face-matchCompare two faces, 0–100 score
didit-aml-screening1,300+ sanctions + PEP lists
didit-proof-of-addressOCR + geocoding
didit-database-validationGov databases · 18 countries
+ face-search, age, email, phone, 12 in total.
02 · Instalar
Un comando npx. Listo.
`npx skills add didit-protocol/skills` instala las doce. Añade `--skill didit-face-match` para elegir una. ¿Prefieres Git? Haz `git clone` y copia lo que necesites. ¿No quieres herramientas? Simplemente arrastra un `SKILL.md` a la carpeta de habilidades de tu agente.
Detects Cursor, Claude Code, Codex, OpenCode automatically.
03 · Hosts
Cursor, Claude Code, Codex, OpenCode.
La misma habilidad Markdown en todas partes. La CLI detecta automáticamente tu entorno de ejecución y escribe en `.cursor/skills/` o `.claude/skills/`. Construido sobre el estándar abierto [agentskills.io](https://agentskills.io), sin SDK de proveedor.
Bloquea el endpoint real, los encabezados reales, el formato de estado real y los precios en vivo. El agente deja de inventar rutas y de poner en minúsculas los enums. 51 endpoints probados en cada lanzamiento.
`export DIDIT_API_KEY=…` y la habilidad está lista. O deja que el agente se registre a sí mismo a través de `POST /programmatic/register/` y obtén una clave sin salir de la terminal.
Todas las habilidades están en [github.com/didit-protocol/skills](https://github.com/didit-protocol/skills). Audita el código, personaliza los prompts, envía un PR. La habilidad se lanza el mismo día que el endpoint.
Versioned with the API · new endpoint, same-day skill.
Integra
Instala las habilidades. Pregúntale al agente. Lanza.
Izquierda: la instalación. Derecha: el cURL que el agente escribe una vez que la habilidad está en su lugar.
npx skills addInstalar
$ npx skills add didit-protocol/skills✓ 12 habilidades instaladas# or just one$ npx skills add didit-protocol/skills \
--skill didit-face-match# set the api key$ export DIDIT_API_KEY="sk_live_..."
OKListoCursor, Claude Code, Codex, OpenCode detectados automáticamente.
Instala las 12 habilidades de agente de Didit con un solo prompt.
Pégalo en Cursor, Claude Code, Codex u OpenCode. El agente instalará las habilidades, configurará el entorno, creará el esqueleto para la sesión + el manejador de webhook firmado, y hará pruebas contra la API en vivo.
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.
Cumplimiento por diseño
Abre un nuevo país en un clic. Nosotros hacemos el trabajo duro.
Abrimos las filiales locales, aseguramos las licencias, realizamos las pruebas de penetración, obtenemos las certificaciones y nos alineamos con cada nueva regulación. Para lanzar verificaciones en un nuevo país, activa un interruptor. Más de 220 países en vivo, auditados y probados trimestralmente, el único proveedor de identidad que un gobierno de un estado miembro de la UE ha calificado formalmente como más seguro que la verificación presencial.
Habilidades de agente de código abierto. Una por cada capacidad de Didit.
0
Endpoints de API cubiertos. Todos probados en cada lanzamiento.
<0s
Veredicto KYC de extremo a extremo por sesión en p99.
0
Verificaciones gratuitas cada mes, en cada cuenta.
Tres niveles, una lista de precios
Empieza gratis. Paga por uso. Escala a Enterprise.
500 verificaciones gratuitas cada mes, para siempre. Pago por uso para producción. Contratos personalizados, residencia de datos y SLAs (Acuerdos de Nivel de Servicio) en Enterprise.
Gratis
Gratis
$0 / mes. No se requiere tarjeta de crédito.
Paquete KYC gratuito (Verificación de ID + Prueba de vida pasiva + Coincidencia facial + Análisis de dispositivo e IP), 500 / mes, cada mes