mars Get in touch

In development · First working loop

The Instagram messaging API for AI agents and automations.

Mars receives every DM, delivers it to your backend and sends the reply back. For developers shipping one integration, agencies running many clients, and SaaS products connecting their users' accounts.

Official Meta API only · no scraping · no unofficial clients

Why it should exist

Agencies are putting AI agents, many of them built on models like Claude, into their clients' Instagram inboxes. The agent is the interesting part. Everything around it is plumbing.

The plumbingWho handles it
  1. 01Verifying Meta's webhooksMars
  2. 02Not losing messages while a server restartsMars
  3. 03Keeping each conversation in orderMars
  4. 04Storing every client's tokens safelyMars
  5. 05Replying without sending anything twiceMars

Today each team rebuilds that plumbing, often once per client. Mars is an attempt to build it once, carefully, while developers keep their own backend and their own agent.

How a message travels through Mars

  • Incoming DM
  • Reply
  • Held by Mars
  1. 01A DM arrives

    Mars confirms it really came from Instagram and saves it right away, so no message gets lost.

  2. 02Your backend gets it

    Mars forwards each message to your server or AI agent, in the order it was sent. If your server is down, Mars keeps trying.

  3. 03Your agent replies

    Send the answer to Mars with a single API call. Mars confirms it at once and takes it from there.

  4. 04The customer sees it

    Mars delivers the reply to their Instagram inbox and tells you whether it went through.

What Mars will do

Official Meta APIBuilt only on Meta's official Instagram API, with no scraping and no unofficial clients. Businesses authorize their accounts through Facebook Login for Business, and Mars will go through Meta's App Review and business verification to operate as a tech provider for agencies.

A

Delivery that recovers

Every incoming event is stored before it is forwarded. Signed webhooks retry with backoff, each conversation stays in order, and failed deliveries can be inspected and replayed.

B

Replies that don't guess

POST /v1/messages answers 202 queued and takes an idempotency key. Every send ends as provider_accepted, failed or unknown, and an unknown result is reported, never retried blindly.

C

One project per client

Each project has its own API keys, webhook and Instagram connections. Meta tokens stay encrypted inside Mars and never reach the developer's code. One stable contract, with the raw Meta event still available.

D

An operations view beta

Connection status, deliveries and their attempts, send results, and errors that say what to do next.

E

Comments to DMs planned

Every comment on your posts and reels arrives as an event, and you answer the commenter with a private DM through the same API. Mars applies Meta's rules: one reply per comment, within seven days.

Where it stands

  1. DoneDesign

    Domain model, architecture and decision records.

  2. NowFirst working loop

    One organization, one project, one Instagram connection, end to end.

Get in touch

If you build AI agents for Instagram DMs, or run an agency that does, I'd like to hear how you handle delivery and replies today.

Built by Franco Escobar · Email · WhatsApp · 2026 Mars is a working name. This project will move to its own name and domain.