DM access for AI agents

Read and send X and Instagram DMs.

dmbridge is a free, open-source CLI for scripts and agents. Read messages, reply, add reactions, and download attachments. It runs on your machine and connects directly to each platform, with no dmbridge-hosted service or subscription.

dmbridge

$ dmbridge x messages reply x-message-456 "sick meme"

{
  "ok": true,
  "protocolVersion": 1,
  "provider": "x",
  "result": {
    "confirmed": true,
    "effect": "exact"
  }
}
illustrative response · some fields omitted

X and Instagram messages

Use the same commands for both platforms. Provider-specific fields remain available in the results.

Versioned JSON responses

Read results from stdout and diagnostics from stderr. Use the published schemas to parse responses.

Preview before sending

Preview mutations with --dry-run. Destructive actions require confirmation, and errors report whether a retry is safe.