botsdojo.com

Grok Bot

How Grok Bots work

Grok Bot is an AI agent product from xAI. It makes autonomous AI teammates called bots. Each bot works on a cloud computer. A bot can use apps, browsers, and inboxes to finish tasks.

Learn these five facts before you build a bot.

  1. Usage is shared. Grok Bot, Grok, and Codex use the same usage pool. Codex Cloud work reduces your Grok Bot usage.
  2. Each bot has its own memory. A bot cannot read the memory of another bot. Each bot keeps its own rules, workflow preferences, and dated work log. Bots do not pool memory. Move context between bots on purpose.
  3. One small memory is shared by all bots. It holds core facts about you: name, time zone, and communication preferences. You state them one time.
  4. All bots share one cloud computer. It can do most tasks a person can do on a computer.
    • Shared logins and files. Log in to a service or save a file with one bot. All other bots get the same browser session, file system, and command line. You do not repeat the OAuth setup.
    • Parallel screens. Each bot has its own virtual screen, so bots can work at the same time. The machine is shared. A bot is not a security boundary.
    • Always on. Background processes and scheduled routines keep running after you close your laptop or phone.
    • Blocked sites. Some websites block the cloud computer because it uses a data center. To fix this, give your bot access to your own computer.
  5. Bots can work in teams.
    • Group chats. Put up to six bots in one chat and include one team lead. The team lead delegate tasks and bots in the team can pass context to each other.
    • Team bots. Since Grok Bot 1.0, shared bots can work in Slack, Microsoft Teams, and video calls (Zoom, Google Meet, Teams). They track action items and learn team preferences. They respect each user's permissions.
    • Bot email addresses. A bot can have its own email address and aliases. Use them to start a workflow when a receipt, lead, or newsletter arrives.

My setup rules

These eight rules come from the official documentation, thought leaders, and my own experience.

  1. Start with a bot builder. Build one bot with a clear, opinionated approach. It builds and improves all other bots.
  2. Review every week. AI changes fast. A bot that worked last week can cause problems today. Each week, use the latest release notes and the bot outputs to check every bot. Decide what to update, merge, optimize, or remove.
  3. Make each bot a specialist. Give each bot one job with a clear outcome and clear success criteria. Do not build one large bot. A bot with 20 rules, skills, and routines gets confused and fills its context window. Use narrow roles, such as Chief of Staff, Researcher, Inbox and Calendar, or Builder.
  4. Use hub and spoke. Talk to one manager bot. The manager breaks down the request and gives subtasks to specialist bots. The manager reports back, and your chat stays clean.
  5. Delegate the heavy work to tools. A manager bot does not do the work. To build an app, it hands the job to a specialist such as Grok, Codex, or Claude Code.
  6. Use shared files as the source of truth. Bots cannot read each other's memory. Keep structured folders and markdown files on the shared cloud drive. Example: /workspace/projects/client-a/brief.md. Any bot can read and update these files.
  7. Build a shared library. Put context here that all bots use. Example: how to use a specific tool.
  8. Gate irreversible actions. Bots use your live, logged in sessions 24/7. Use this rule: draft and stage, never auto send. Keep this rule until a workflow works well over dozens of runs. My test: if you cannot reverse a task or its result, I must approve it.
  9. Use literal bot names. I use names such as Team-Cloudflare Bot. The names are plain on purpose. They lower my mental load and help me avoid errors, such as sending a task to the wrong bot.

My bot structure

I use one Grok Bot account for personal and work tasks. It covers several businesses and projects. One account means less mental switching. Shared context and a shared library make management faster.

  • Bot count is not a problem. I have more than 40 bots, and the team grows. I add and remove bots every week.
  • I work with a few managers. The managers control the other bots.
  • An audit bot checks all bots. It reviews usage and effectiveness. It improves the bots. It tells me which bots to combine or remove.
  • Shared access. All bots use one password manager account and one shared library for context.
  • Tickets. A ticket is an instruction that tells a bot to do a specific task.
  • Heavy work goes to code tools. I use Codex, Claude, and Grok through the CLI.
  • Specialist tools do specialist work. Example: Firecrawl scrapes websites and data. This saves on Grok Bot token usage.

Team design

I have two entrances. The PA takes random requests, such as shopping lookups and personal tasks. This keeps the Chief of Staff context clean. All other requests go to the Chief of Staff.

The Chief of Staff sends work to team bots and shared bots. Both groups use the shared foundation.

  • Team bots. Each team has its own set: personal, company one, company two, and so on. A team bot is specialized to its team. Example: company one uses Cloudflare. It has a Cloudflare bot with the logins and access for company one only. No other team or purpose uses that bot.
  • Shared bots. A shared bot is a specialist that any team can use. Example: the Bot Builder builds bots and keeps each bot optimized. The UX Bot is a designer for bots on any team.
  • Shared foundation. All bots use the same tools and information to do their job. These are the cloud computer (built into Grok Bot), shared libraries, a shared password manager, and coding CLIs with access and instructions.
Requests go to the Personal Assistant or the Chief of Staff. The Chief of Staff talks directly with the personal and company team leads, who route work to specialists and report back. The assistant and all teams can use shared bots. Everyone uses the same cloud computer, libraries, password manager, and coding tools.

Save tokens and usage

Most usage goes to re-reading old chat, not to real work. People who exported their usage found that 75% to 88% of tokens went to re-reads.

Usage is also shared with Grok and Cursor. Cursor Cloud work uses some of your Grok Bot usage.

Delegate

  1. Delegate heavy work, such as coding, to a tool like Claude or Codex. The tool does the work. The bot manages.
  2. Use a script instead of a full model turn when a script can do the task.
  3. If the work does not need a bot, make it a skill.

Routines

  1. Never put routines on a bot you chat with. Each routine run re-reads the full chat history. Give each recurring job its own fresh bot.
  2. Add preconditions to routines. Then an empty routine does not run a full model turn.
  3. Use event triggers, not tight schedules. Choose "when X happens" over "every N minutes".

Bot to bot

  1. Do not let bots talk to each other more than needed. Each message is a full turn. Use handoff loops.

Tool order

  1. Use a connector first and a browser last. A connector call is cheap. Screenshots and clicks are expensive.

Audit

  1. Use a bot that audits and improves your bots.

Grok Bot Updates

  • Nov 16Tasks page with tags and files
  • Nov 13Training opt-in can reset usage limit
  • Nov 12Imagine images count toward Bot usage
  • Nov 5Warnings about hidden AI instructions on pages
View updates

Grok Bot Use Cases

  • Have a Grok Bot researcher turn newsletter ideas into sourced Notion backlog cards
  • Ask Grok Bot to compare one product's price across a country's supermarkets
  • Run four Grok Bots as app testers, a fixer and a deploy watcher for a side project
  • Let Grok Bot sign into your library to fetch newspapers, plan flights and send event summaries
View Grok Bot Use Cases