Dopl Device SDK

Reach your users on any device they own

One API for your agent to show cards, ask questions and send notifications to glasses, phones, computers and more. Start with a simulated device and a test key.

import { Dopl } from "@dopl/sdk";

const dopl = new Dopl({
  apiKey: process.env.DOPL_SECRET_KEY!,
});

await dopl.notify("usr_123", {
  text: "Your build finished",
});

const answer = await dopl.ask("usr_123", {
  question: "Ship it?",
  options: ["Yes", "No"],
});

Start here

Core concepts

Overview