Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.5 instead.
Reason given by maintainers: personal data on readme

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

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.3 on PyPI (grok-bot-os) and GitHub Releases. npm @mcptoolshop/grok-bot-os publishes with this tag if Trusted Publisher is registered. Robot→Bot: sendPrompt to Orchestrator's thread. Bot→Robot: HTTP POST /ping on every QUEUE status change (SOCKS on the box). Scratch is fallback if ping ≠ 204.

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, check-queue-fields, and grok-bot-gateway. The Bot VM still clones this repo per CLONE-POLICY.md and runs python3 scripts/route-scratch.py. Coordinator workstation runs python scripts/grok-bot-gateway.py (token file, never argv).

  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): coordinator-ping.py last. If last is ack, gh pr list — silence after ack is not a stall. If MagicDNS grok-bot is online, sendPrompt Orchestrator when the standing list is wrong (scripts/grok-bot-gateway.py, docs/COORDINATOR-CHANNEL.md). Scratch to: grok-build only if the ping wire is down. Do not paste Bot-group logs. Do not poll the Orchestrator transcript. TO-COORDINATOR.md is the VM append-only log, not the transport. There is no product slash-command; the host gateway on the Bot VM is the API (Tailscale + SSH as box@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 (Orchestrator squash-merges). Hold / major / behavior go through Reviewer, who squash-merges on pass. Coordinator merges holds / publish / mainnet only and rolls back if main goes south (Panickssery 2024; Kambhampati 2024). Builder never merges.

Orchestrator HTTP-pings Coordinator on every QUEUE status change (ack for coding/review, blocked / coordinator-merge as today). Unstall coding with no PR after 2 hours, not one 15-min clock.

Finalize emojis, last line only: ✅ Bot done, no Coordinator · 🔧 rework · 🛑 Coordinator must act (hold, secret, policy, merge failed).

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; Coordinator workstation Tailscale HTTP to http://grok-bot:1340 using a local token file (never git).

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

Permissions: read this repo; gh api as mcp-tool-shop for scratch routing. Builder never merges. Reviewer squash-merges behavior (--admin if Actions dark). Orchestrator is fallback if the PR is still open, and squash-merges ready patch / Dependabot. Coordinator merges holds / publish / mainnet only. No Dependabot merge of hold PRs. Auto-merge is an optional later consumer-side alternative, not this repo's CI.

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 (fallback mailbox)
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
scripts/grok-bot-gateway.py Coordinator Tailscale client (listAgents / sendPrompt / tail)
consumers/ Per-repo catalog, holds, hours
docs/RESEARCH.md Study-swarm citations + implications
docs/COORDINATOR-CHANNEL.md Tailscale + SSH + host gateway (preferred inbound)
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.3.tar.gz (27.3 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.3-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grok_bot_os-1.0.3.tar.gz
  • Upload date:
  • Size: 27.3 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.3.tar.gz
Algorithm Hash digest
SHA256 4a3835e2b2fb6ac37e4aa32c2c89c569afef244e68b4c971c7e131edc61f6685
MD5 38e1e648acf6cf19e80325edc32d2c18
BLAKE2b-256 e78d7be3fcf075cfe17bc771e9567310771d21cb5b1885b3bf57d33d50ec8077

See more details on using hashes here.

Provenance

The following attestation bundles were made for grok_bot_os-1.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: grok_bot_os-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 839332828894454908e2e2dd0210c93a77eeda2431777ecd75563b8da174d56e
MD5 e5c881b5b7cdc6c2c12666e924794d60
BLAKE2b-256 7f4dd620d2e879fc8eafbb4e2c9b09cfd088643d7187bd2135569a33364a3895

See more details on using hashes here.

Provenance

The following attestation bundles were made for grok_bot_os-1.0.3-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

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

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