Skip to content

DEA SDK

The DEA SDK tells your app whether a session comes from a real person. It observes how the user interacts with your app — touches, pointer movement, scrolling, device motion — and scores the session on the device. Your app reads the verdict at the moment it makes a decision: sign-up, checkout, claiming a reward, serving an ad.

Choose your platform

Platform Package Install 0.26.0 Guide
Web @dea/sdk From DEA's release URL DEA SDK for Web
Flutter dea_sdk From DEA's release URL DEA SDK for Flutter
Android ai.dea:dea-sdk From DEA's Maven repository DEA SDK for Android
iOS DeaSDK From DEA's release URL DEA SDK for iOS
React Native @dea/react-native From DEA's release URL DEA SDK for React Native

Each guide's Install section says exactly what is published. What else differs between platforms is on Going to production.

Before you start

You need an appId and an appKey for each app. DEA issues them; see Accounts and keys.

How it works

  1. Initialize the SDK once, when your app starts.
  2. The SDK captures interaction in the background. There is nothing to wrap or register.
  3. The SDK scores the session on the device as the user interacts.
  4. Your app reads the classification with getClassification() whenever it needs one: human, bot, undetermined, or insufficient while there is not enough evidence yet. The read is local: it makes no network request.

How scoring works explains each step.

Use cases

Every platform guide has the same menu, so you can switch platforms and stay on the same page.

Section What it does Pages
Human Scoring Read whether the session comes from a real person at a decision point, and register the device's signing key with DEA Overview, User Consent, Sensitive Screens, Custom Events, Sessions, Attest
Ads Attach signed proof of a real person to ad impressions and clicks, and record a human score for each game round, quiz, lesson or video Integrate ads, Activities
AI Data Tasks Show your users short AI data tasks, and send their answers with a signed proof Integrate tasks
Test & Staging packages On the staging and test packages: collect data for DEA, and receive the SDK's log and captured input Collect Data, Telemetry
Reference Every public member, and what to do when something fails API Reference, Troubleshooting

Concepts

These pages apply to every platform:

Page What it covers
How scoring works Actions, evidence, the model, its thresholds and the classification
Accounts and keys What appId and appKey are, and how to get them
App user ids Which id to send for each user of your app, and where to pass it
Privacy and network What the SDK captures, stores and sends, and where
Going to production What is ready on each platform, and a checklist before you release
Glossary The terms the guides use: action, proof, tier, attestation, ad session