0dev.team
← All work

AI agent that runs a Threads account

Reads the feed in the Threads app on a real phone, picks posts and replies; actions outside a short list are forbidden in code

Task

On a schedule the agent opens the app on a phone, reads the feed, picks a post and writes a reply. The model never sees the screen and the phone never knows the persona: one decides what to say, the other how to tap. Four actions are allowed on the account; everything else is forbidden in code. Before sending, the reply goes through a judge and a filter against retelling the post. The prompt in production was chosen by comparing four of them on thirty live inputs.

How it works

  1. Visit schedule with spread
  2. The phone reads the feed
  3. The model picks the post and writes the reply
  4. Judge and retelling filter
  5. Reply checked in the thread after posting

What had to be solved

The agent did what nobody asked for

In one day on a four-day-old account the model made 29 follow attempts on its own, although the plan said “no follows”, and the platform sent the account for review. The conclusion went into code: platforms react to strange actions, not to volume, and an action outside the allowed list does not exist for the agent.

Commits

  1. dc0ef2114.09.2026the prompt in production is the one chosen by a run on live inputs
  2. 74ce93d15.09.2026a reply must not die while the model is thinking
  3. 1d6c5d417.09.2026bans come not from volume but from abandoned threads and strange actions
  4. af9286524.09.2026under someone else’s misfortune it joked, and a visit without the phone ended silently
  5. 095b61f22.09.2026a silent phone would have dragged the whole agent down with it