Topics ▾
Multi-bot setups ·

Write a five-field contract for every Bot before you connect it

Intermediate, 15 minutes

Before a Bot joins your team, have it write its own contract: job, sources, what it may decide alone, what done looks like and what it must never touch.

Published

How this helps you

Each Bot knows exactly what it owns and what it must never do, so a team of Bots is easier to trust, debug and grow.

✦ Try it
Write the contract for this Bot as five fields and show it to me before saving: JOB (one sentence), SOURCES (where its facts may come from), JUDGMENT (what it may decide alone), OUTPUT (what a finished result looks like), FORBIDDEN (what it must never touch). Add a stop rule: finish when the check passes, and if the same step fails twice, stop and tell me what blocks you. If I can't fill FORBIDDEN, tell me we don't understand the role yet. When I say OK, remember the contract as a lasting rule.

Fill in: No placeholders. Send it in the chat of the Bot you want the contract for.

What they did

In a long X article on building a Grok Bot team, @Mr_Buzzoni argues that a Bot you can't describe is a Bot you can't safely connect to the others. His fix is a contract with five fields: JOB (the job in one sentence), SOURCES (where its facts may come from), JUDGMENT (what it may decide on its own), OUTPUT (what a finished result looks like) and FORBIDDEN (what it must never touch). His test: if you can't fill in FORBIDDEN, you don't understand the role yet. He pairs it with a stop rule written before the task: finish when the check passes, stop at the second failure of the same step and report what blocks you. He also suggests a checker Bot that reads the first Bot's result against the contract from the files, without the earlier chat. His roster examples: a Sales Bot that never sends without approval, a Support Bot that never issues refunds, a Money Bot that never moves money. Grok Bot's docs back the habit: personal Bots no longer have a description, so lasting rules belong in the Bot's memory, and the docs advise a single owner at each stage of a handoff.

Who it's for: Anyone going from one Bot to several, or anyone whose Bots step on each other's work or do things they shouldn't.

Before you start

How to try it

  1. Open the Bot's chat and send the prompt below.
  2. Read the five fields. Tighten SOURCES and JUDGMENT, and make FORBIDDEN specific: name the send, pay, delete or publish actions it must never take.
  3. If you can't write FORBIDDEN, stop and work out the role first, as @Mr_Buzzoni suggests.
  4. Reply OK so it saves the contract to memory. Personal Bots have no description field, so memory is where it lives.
  5. Repeat for each Bot, then check no two Bots own the same job.

What to expect

Hypothetical, for a Support Bot. JOB: answer customer emails about orders. SOURCES: the order system and the FAQ doc. JUDGMENT: may answer order-status questions alone. OUTPUT: a reply draft with the order number. FORBIDDEN: refunds, discounts, deleting records. Success check: ask it to issue a refund and it declines and points you to the contract.

Common mistakes

Related tips

Worth knowingThe five fields, the stop rule and the checker Bot are from @Mr_Buzzoni's article. The memory and single-owner details are from Grok Bot's docs. A contract guides the Bot; it's not a permission setting, so keep Ask first rules for anything risky.

Questions about this tip

What are the five fields in a Bot contract?

JOB (the job in one sentence), SOURCES (where its facts may come from), JUDGMENT (what it may decide alone), OUTPUT (what a finished result looks like) and FORBIDDEN (what it must never touch).

Where should the contract be saved?

In the Bot's memory. Grok Bot's docs say personal Bots no longer have a description field, so lasting rules belong in memory. Reply OK once you've checked the contract and it saves it.

Does a contract stop a Bot from taking risky actions?

No. A contract guides the Bot; it isn't a permission setting. Keep Ask first rules for anything risky, such as sending, paying, deleting or publishing.

Next in Multi-bot setups →Keep each Bot's rulebook in a repo where changes need a second approver

Learn more: How to Use Grok Bot: A Beginner's Guide (2026) · All Grok Bot multi-bot setups tips

Related Grok Bot tips

More Multi-bot setups →
Multi-bot setups

Group chats are going read-only: move your Bot team

Grok Bot's team plans to make group chats read-only. Their migration advice: one main Bot hands work to the specialist who owns it, rules become skills, and project state lives in one shared file.

How this helps you Your Bot team keeps working when group chats go read-only, and fewer Bots wake up for each job, which saves usage.
Spotted by @ericzakariasson · 30 Nov 2026
Read more
Multi-bot setups

Keep each Bot's rulebook in a repo where changes need a second approver

SpaceXSI's finance team moved its Bots' rulebooks out of editable docs into a code repo: one person proposes a change, a different person approves it, and every rule has a dated changelog line.

How this helps you Every change to how your Bot behaves gets a second pair of eyes and a written reason, so a bad edit can't go live by accident and you can always answer "why does it do that?".
Spotted by Grok (YouTube) · 27 Nov 2026
Read more
Multi-bot setups

Make your Bot the manager of a T3 Code coding team

Connect T3 Code to Grok Bot over MCP so a labelled GitHub issue becomes a brief, a coding thread on your own Claude, Codex or Grok Build plan, and a pull request you review.

How this helps you Your Bot turns issues into briefs and follows up, while the coding runs on agents and subscriptions you already have, with you approving the start and the merge.
Spotted by @0xRafy · 24 Nov 2026
Read more