Use the deepAI Assistant skill when you want an AI coding agent to help you implement a deepidv integration correctly. Unlike the Verify skill, this skill is not for running live verification actions on your behalf. It helps the agent choose the right package, auth model, method namespace, and error handling pattern while you build.
Overview
This guide is for teams using coding agents to write or debug deepidv integration code. The deepAI Assistant skill is designed to keep an agent aligned with deepidv’s published integration docs, especially the backend TypeScript SDK:@deepidv/serveras the canonical TypeScript packageDeepIDVas the single SDK client entry pointclient.sessions,client.document,client.face,client.identity,client.screening, andclient.asyncJobsas the documented method surfacesx-api-keyauth for SDK and REST usage- hosted OAuth with PKCE for MCP usage
- Claude Code
- Codex
- Cursor
- Windsurf
- OpenCode
What Success Looks Like
Once the skill is set up, your agent should help you:- install and initialize
@deepidv/servercorrectly - keep the SDK on a trusted backend instead of suggesting browser-side usage
- choose between hosted sessions, server-to-server primitives, screening, and MCP based on the integration goal
- handle async adverse-media screening and typed SDK errors correctly
- avoid inventing undocumented SDK namespaces or stale package names
Before You Start
Make sure you have:- a deepidv account with an active API key
- an agent that supports repository-based skills
- a backend TypeScript runtime if you’re following the SDK path
- a secure place to store the API key in your environment
Install the Skill
If your agent uses the open agent skills ecosystem, install the deepAI Assistant skill with the Skills CLI:- pulls the
deepai-assistantskill from the public deepidv agent-skills repository - installs it at the user level with
-g - skips the interactive confirmation prompt with
-y
- Restart your agent or editor if it does not reload automatically.
- Confirm the skill is active by asking your agent to help with a deepidv
TypeScript integration, or run
npx skills checkto verify the install.
Use It With the TypeScript SDK
The canonical TypeScript path uses@deepidv/server.
Install the package
Initialize the client
@deepidv/server is a backend-first SDK. Keep it in a trusted server, edge,
or worker runtime. Do not ship it to a browser or mobile client.Use the documented namespaces
Start With the Right Flow
The assistant should help you choose the integration path first, then write code against the matching docs.Hosted session flow
Use this when you want deepidv’s hosted verification UI.- Create a session with
client.sessions.create(...). - Send the user to
session.sessionUrl. - Retrieve results with
client.sessions.retrieve(session.id). - Update the final status with
client.sessions.updateStatus(...)if your review process requires it.
Server-to-server flow
Use this when you control the user experience and want to call primitives directly.client.document.scan(...)client.face.detect(...)client.face.compare(...)client.face.estimateAge(...)client.identity.verify(...)
Screening flow
Use this routing:client.screening.pepSanctions(...)for synchronous watchlist screeningclient.screening.titleCheck(...)for synchronous title or ownership searchclient.screening.adverseMedia(...)for async adverse-media screeningclient.asyncJobs.get(jobId)or the returned handle for polling
pepSanctions and titleCheck are synchronous. adverseMedia is async and
returns a job handle rather than an immediate final result.Keep the Auth Models Separate
TypeScript SDK and REST API
Usex-api-key authentication.
- REST base URL:
https://api.deepidv.com/v1 - SDK default
baseUrl:https://api.deepidv.com
Hosted MCP
Use the hosted MCP endpoint:- server URL:
https://mcp.deepidv.com/v1/mcp client_id:deepidvonly if the client explicitly asks for itclient_secret: not used- sign-in: deepidv email and password, with MFA when required
client_secret.
Avoid the Most Common Mistakes
The assistant skill is useful when you want the agent to avoid stale or invented guidance. Watch for these mistakes:- suggesting
@deepidv/sdkinstead of@deepidv/server - treating the server SDK as a browser package
- inventing undocumented SDK namespaces such as
client.workflows.* - forgetting that adverse-media screening is async
- retrying
pepSanctionsortitleCheckaggressively after a503 - mixing REST API key auth with hosted MCP OAuth instructions
Prompt Patterns That Work Well
Good examples:- “Help me initialize
@deepidv/serverin a Node.js backend.” - “Show me how to create a hosted verification session and read the result.”
- “Help me wire
client.identity.verify()into our onboarding flow.” - “How should I handle
RateLimitErrorandTimeoutErrorfrom the SDK?” - “Show me the correct pattern for async adverse-media screening.”
- “Help me connect deepidv MCP in a client that supports remote OAuth.”
Choose the Right Integration Path
Use the deepAI Assistant skill when:- you want a coding agent to help you implement or debug deepidv integration code
- you want the agent to stay aligned with the published TypeScript SDK docs
- you need help picking between SDK, REST, and MCP integration patterns
- you want a compatible AI agent to call deepidv verification and screening APIs directly
- you want skill-driven API execution rather than coding assistance
- your client supports remote MCP
- you want hosted tools with OAuth-based access
- you prefer structured remote tools over direct API integration code
Related Links
Assistant Skill Source
Read the public assistant skill definition and guidance.
TypeScript Server SDK
Use the canonical @deepidv/server docs as the source of truth for TypeScript.
Identity Verification Skill
Use the Verify skill when you want direct AI-driven API actions.
MCP Server Guide
Use the hosted MCP server if your client supports remote MCP.