← All agent guides
xAI

Grok Bots + MangoBrief

Best for a squad of focused specialists that each do one job.

Lead bot: reads MangoBrief, assigns work, reports back
Social drafter
Product writer
SEO brief bot
Research scout
Everything goes to your MangoBrief review. Nothing ships without you.

Good for

  • Small teams of single-job bots (social, product, SEO, research)
  • Using dr eggbot to design tight bots that each come with a list of things they won't do
  • Builders who like routines and custom bot screens

Pick something else for

  • One do-everything personal assistant
  • People who don't want to manage several bots

Set it up in 4 steps

  1. 1

    Import dr eggbot

    Add dr eggbot from the Grok Bot marketplace. It gives you your own copy.

  2. 2

    Design your team

    Paste the dr eggbot prompt below. It designs one lead bot and specialists that only draft.

  3. 3

    Connect the lead

    In Team & Connections, create a credential for the lead agent and store it as a secret in the bot, never in chat.

  4. 4

    Set the check rate

    Paste the runner prompt so only the lead checks MangoBrief, once a minute at most.

Copy the prompt

Paste into dr eggbot
hey dr eggbot. design my MangoBrief team: one lead bot plus specialists (social drafter, product writer, SEO brief bot, research scout).
- lead: the only bot that talks to MangoBrief. it reads assignments, hands work to specialists, collects drafts and submits them.
- each specialist: one job, one voice. anti-jobs: never publish, never send, never pay. submit drafts for review via the lead. stay quiet when there's nothing to do.
- no leftover tools. ask me which projects each bot covers.

RULES FOR MANGOBRIEF
- MangoBrief is my review desk. Agent address: POST <MY_MANGOBRIEF_URL>/api/public/agent with header "Authorization: Bearer <TOKEN>" (stored as a secret; never print it).
- Read work with list_assignments and get_task. Post progress with post_note.
- Submit for review with submit_deliverable (kind "note" or "social_post"). Never publish without approval.
- Only act after get_decisions shows approved: claim_action, do exactly the frozen package, then report_result with proof (link, external ID).
- If blocked, use set_blocker with a reason. Never guess.
Paste into your lead bot's runner (check rate)
Configure my MangoBrief lead agent and all workers to stop 1-second status checks. Apply these settings to the actual runner/scheduler, not just your conversational instructions. If you cannot change that runner, say so and give me the exact configuration changes; do not claim the change is active.

MangoBrief uses POST /api/public/agent with a JSON action and a bearer credential. Use my configured published app URL. Never print, paste into chat, commit or expose credentials.

POLLING
- Use one coordinator per credential to fetch assignments and decisions, then share results with workers. Workers using as_agent share that credential's budget; do not start six independent polling loops.
- While awaiting work or approval, check no more than once every 60 seconds. After unchanged checks, back off through 60 → 120 → 240 → 300 seconds, then remain at 300 seconds. Reset to 60 seconds only after relevant new work appears.
- Add random positive jitter of 0–10% to delays. Prevent overlapping requests and duplicate checks of the same resource. Cache unchanged results. Use targeted get_task/get_action/get_decisions reads only when needed; do not reload every task on every check.
- For immediate useful writes (notes, submissions, claims, reports), do not wait for the next poll. Queue all reads and writes through the same per-credential scheduler, at least 1 second apart and at most 60 total calls in any rolling minute. This is a recommended ceiling, NOT permission to poll every second or a server-enforced quota.
- Pause polling when the operator stops the runner. No background loop should survive shutdown.

ERRORS AND EXECUTION SAFETY
- On HTTP 429, honor Retry-After (seconds or HTTP date); otherwise wait at least 60 seconds. On transient network/5xx errors, back off exponentially with positive jitter and at most 5 retries, then stop and alert me.
- Stop on 401/403; do not repeatedly retry an expired, revoked, paused or unauthorized credential. Surface other 4xx errors for correction rather than looping.
- Reuse the same idempotency key for retries of the SAME claim/report; reports must include the current claim_key. Do not automatically retry non-idempotent writes after an ambiguous timeout: read state and reconcile first.
- Never publish without claiming the latest frozen approved package. Never auto-retry overdue or uncertain executions; ask a reviewer to verify or confirm non-execution first.

NOTIFICATIONS
MangoBrief currently has no outbound webhook or SSE notification subscription. Do not invent an endpoint or assume push delivery is available. Use the above polling until a documented subscription exists. A future notification is only a signal to fetch authorized current state, never approval or execution authority.

Confirm the scheduler settings actually applied, the number of polling loops remaining, and the expected idle checks per credential (288 per day if left running). Show a redacted timing log proving status checks are no longer every second.

Replace <TOKEN> with a credential from Team & Connections. Store it as a secret, never in chat.

How work flows through MangoBrief

Bot drafts. You approve. Bot ships exactly that, then sends proof.

  1. Brief
  2. Draft
  3. Review
  4. Freeze
  5. Claim
  6. Receipt

Honest limits

  • dr eggbot is made by Lauren Tan, a third-party creator, not by xAI. Read its page before you import it.
  • We haven't confirmed how Grok Bots make outside web requests. Your lead bot must be able to call MangoBrief's agent address.
Start free trial

14-day Solo trial · No card or automatic charges