Home/Answers/Notified when an AI agent finishes
Answer

How do I get notified when my AI agent finishes a task?

Have the agent POST to your Lert link when it's done. Add it as the last command in the run, or give the agent the Lert MCP server so it can buzz you as a tool. Your iPhone buzzes in about a second. No account, no API keys, no SDK.

Agents can run for minutes at a time — refactoring a repo, working through a task list, digging through data. You don't want to sit and watch the cursor. The move is to have the agent tell your phone when it's finished. Lert is ideal for this because your unique link is the whole integration: no account, no key to paste into a config, nothing to install.

Set it up in under 30 seconds

  1. Download the app. Open it once — there's no account to create.
  2. Copy your link. A private link like https://lert.dev/p/your-id is on screen; one tap copies it.
  3. Tell your agent to POST to it when done. One line at the end of the run — or wire up the MCP server so the model can call it itself.

The next time the agent wraps up, your phone buzzes — even locked in your pocket.

The code

curl
# run this as the agent's final step
curl -X POST "https://lert.dev/p/your-id" \
  -H "Content-Type: application/json" \
  -d '{"title":"Agent done","body":"Task complete — check the diff"}'

No headers beyond content type, no auth token, no SDK. Even simpler: just say to your assistant "When you finish, POST to my Lert link" and hand it the link. For agents that speak MCP, the Lert MCP server exposes a notify tool the model can invoke on its own.

MCP tip: with the MCP server connected, you don't have to remember to ask — the agent can decide to buzz you when it hits a checkpoint, needs input, or completes the job. The link stays private to you; the model just calls the tool.

Related things people wire up

It's free for one channel and 50 notifications a day; Lert Pro is $2.99/month for unlimited. See the docs for the full API.

Send your first one in 30 seconds.

Download Lert, copy your link, POST to it. Your iPhone buzzes.

Get the app iOS