Skip to main content

grok-bot-os

English | 日本語 | 中文 | Español | Français | हिन्दी | Italiano | Português (BR)

grok-bot-os

CI npm PyPI MIT Landing page

Versioned operating system for Grok Bot teams. Orchestrator, Builder, Reviewer, and Researcher sit in a Grok Bot group chat. Coordinator is Grok Build on the operator's machine — not a Grok Bot. Work moves through a live QUEUE.md on the Bot VM. Default cadence: one coding job at a time, many in review, Coordinator merges when the human is back. Health A is the default lane, not the ceiling — Coordinator can open Health B–D and named features on this same queue.

Status: v1.0.0 on PyPI (grok-bot-os), npm (@mcptoolshop/grok-bot-os), and GitHub Releases.

What this is not

  • Not the testing-os dogfood-swarm CLI (swarm init / 10-phase).
  • Not swarm-control-plane (SQLite waves, domain freeze, receipts).
  • Not Role OS. Role OS orchestrates Codex. This OS orchestrates Grok Bots on the cloud VM via QUEUE.

Stay on this queue for one-locus work (Health A default; later classes when Coordinator names them). Escalate to swarm-control-plane only when the job is cross-cutting (frozen domains, wave receipts — Kim 2025 is about seats, not a Health A ceiling). Grounding: docs/RESEARCH.md.

Install / use

Registries (optional — the live OS is still a git clone on the Bot VM):

pip install grok-bot-os
npm install @mcptoolshop/grok-bot-os

pip installs route-scratch and check-queue-fields. The Bot VM still clones this repo per CLONE-POLICY.md and runs python3 scripts/route-scratch.py.

  1. Clone the OS and the consumer per CLONE-POLICY.md. Coordinator workstation: a local clone of this repo. Bot VM: /workspace/studio/<repo> only after a ticket names owner/repo. Never copy the Coordinator tree onto the VM. Never copy .swarm. Bots never copy the scratch transport clone.
  2. The generic OS contract is SLOW-BURN.md in this git. Consumer holds (PR numbers, hours) live in consumers/<name>.md. Do not overwrite a VM SLOW-BURN.md that still carries consumer PR numbers until Orchestrator is reading both git files.
  3. Paste all four Bot profiles (Name / Title / Description) from bots/orchestrator.md, bots/builder.md, bots/reviewer.md, and bots/researcher.md before adding anyone to the group. Then add those four to one Grok Bot group chat — still four seats, no fifth (Kim 2025). Coordinator is not a Bot (bots/coordinator.md).
  4. Seed live QUEUE.md on the VM from QUEUE.template.md plus the consumer file (stop / prerequisite / owner / fallback in full). Live QUEUE and TO-COORDINATOR.md stay on the VM.
  5. Run Orchestrator once (clock or @Orchestrator) so it pulls consumer main and assigns the first ready row. The first coding job is an Orchestrator @, never a human paste and never “add Orchestrator after idle.”
  6. Only then may Builder code. Scratch routing: ROUTE.md + scripts/route-scratch.py on the VM. Poll with gh api only (no git fetch). Fail-closed: seed last-sha first; do not advance it on exit != 0. Empty stdout after exit 0 = silent. Researcher SendToAgents Bot DELIVERs only.

Coordinator session-open (Grok Build TUI on the operator's machine): git pull the local scratch-transport clone, then read new to: grok-build envelopes. Do not paste Bot-group logs. TO-COORDINATOR.md is the VM append-only log, not the transport. The TUI has no inbound ping and no API to Grok Bot. Do not reconstruct state from the group transcript (KC 2026).

QUEUE contract (do not compress)

Every QUEUE row, Orchestrator @, and scratch ticket carries stop / prerequisite / owner / fallback in full. see SLOW-BURN is forbidden (Sun 2026). Ready Dependabot / patch rows skip Reviewer. Hold / major / behavior still require Reviewer 🛑. Coordinator still merges every coordinator-merge.

Builder does not review itself. Reviewer pass on a mergeable PR is 🛑. Merge stays on Grok Build (Panickssery 2024; Kambhampati 2024).

Finalize emojis, last line only: ✅ Bot done, no Coordinator · 🔧 rework · 🛑 Coordinator must act.

Trust model

Touches: public git playbooks; gh api against mcp-tool-shop/rig-bridge-scratch from an already-authenticated gh on the VM; markdown QUEUE on the VM.

Does not touch: npm registry, consumer main, Coordinator swarm sqlite (.swarm, ~\.grok\*.sqlite), PATs, auth.json, mcp_credentials.json, telemetry, GitHub MCP token fields.

Permissions: read this repo; gh api as mcp-tool-shop for scratch routing. Bots never merge. Coordinator merges every coordinator-merge (--admin if Actions dark). Reviewer 🛑 is required for hold / major / behavior. Ready patch / Dependabot PRs skip Reviewer. Auto-merge is an optional later consumer-side alternative, not this repo's CI. No Dependabot merge of hold PRs.

No telemetry. No secrets in source or in tool-call examples.

Layout

Path What
SLOW-BURN.md Generic OS: seats, QUEUE class, pipeline, emojis
ROUTE.md Scratch to: ids + poll + Orchestrator outbox
CLONE-POLICY.md What the VM may clone; Coordinator git pull of the local scratch-transport clone
QUEUE.template.md Columns including class + four constraint fields
TO-COORDINATOR.template.md VM append-only log format (not the transport)
bots/*.md Paste-ready profiles. coordinator.md is not a Bot
scripts/route-scratch.py gh api compare → DELIVER lines
consumers/ Per-repo catalog, holds, hours
docs/RESEARCH.md Study-swarm citations + implications
site/ Landing + Starlight handbook

License

MIT.


Built by MCP Tool Shop

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grok_bot_os-1.0.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grok_bot_os-1.0.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file grok_bot_os-1.0.0.tar.gz.

File metadata

  • Download URL: grok_bot_os-1.0.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for grok_bot_os-1.0.0.tar.gz
Algorithm Hash digest
SHA256 465e4d53d428fe39349272846b0c92b7bcec4199fc640e79bf20d04bdca7f3ef
MD5 332c1680cd24d7b364a679d510be3c8e
BLAKE2b-256 1db1a072a68a1ae3905497aa331b6889f3cf84d9a85c34301103a0b2328fde7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for grok_bot_os-1.0.0.tar.gz:

Publisher: release.yml on mcp-tool-shop-org/grok-bot-os

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file grok_bot_os-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: grok_bot_os-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for grok_bot_os-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4abbfb5ee0c374753cd71129dc97a0c0a1c21fe9ae174c3290c7bddb78dce64
MD5 18076b480f4795cd88f94c17233d3ecb
BLAKE2b-256 aa0774a238a49fded95096e88ff9ab3b7d5630c391714fb816e7f4c89c759b20

See more details on using hashes here.

Provenance

The following attestation bundles were made for grok_bot_os-1.0.0-py3-none-any.whl:

Publisher: release.yml on mcp-tool-shop-org/grok-bot-os

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page