3,559
stars
+-1+12+38
3,683
forks
20
watchers
12
prs
7
issues
0
releases
0
discussions
README
Grok Bot 0.18 — reconstructed and extended !Grok Bot Router settings with Codex selected and local usage totals This repository is an unofficial, source-oriented reconstruction of the publicly shipped Grok Bot 0.18.0 macOS app. The project began as an attempt to understand how the desktop app was put together. It now contains readable TypeScript implementations of its Electron, host, coordinator, local-execution, protocol, and renderer boundaries, plus a deterministic toolchain for turning those sources back into a working macOS application. It also adds a few practical experiments: - an inference router for Cursor, Claude Code, Codex, and OpenRouter; - Grok Bot plugin/MCP tools across the routed providers; - local usage tracking for routed inference; - an optional local Docker sandbox in place of the remote box; and - a reconstructed settings surface integrated into the polished shipped UI. This is a hacking and research project, not Anysphere's original monorepo and not an official Grok Bot release. Names and module boundaries inferred from a compiled application may differ from the original source. What is in the repository? The checked-in tree contains the reviewed reconstruction, tests, manifests, build scripts, and Git LFS preservation copies of the original macOS arm64 and Windows x64 installers. It deliberately does not commit the extracted upstream application, build output, local credentials, or the large forensic recovery workspace. The public Grok Bot 0.18.0 application is instead treated as a pinned build input. During bootstrap, the toolchain downloads it, verifies its SHA-256 identity, and extracts the pieces required to assemble the reconstruction. The resulting app is a hybrid by design: - application runtimes are compiled from the readable sources under source/; - the polished shipped renderer remains the UI baseline; - a narrow deterministic transform adds the reconstructed Router settings UI; - original and patched renderer chunk hashes are recorded and verified; and - the finished app uses a separate bundle identifier and an ad-hoc signature. The upstream app installed on the machine is never overwritten. Why retain the shipped renderer? The distributed application did not include the original frontend source or source maps. It contained optimized, minified production JavaScript and CSS chunks: enough to inspect behavior and recover contracts, but not the authored React components, names, comments, file structure, or design-system source. Recreating the complete frontend with the same polish and behavior would have been a separate, much larger reverse-engineering project. It was not a realistic goal for a weekend build. The practical choice was therefore to reconstruct the runtime and control-plane code, retain the checksum-pinned shipped renderer, and make the smallest auditable UI patch needed for the new Router settings. frontend/ is a readable partial reconstruction and design workspace. It is useful for
Top issues
#2Windows reconstruction support2 comments · 2026-08-24#11Routed providers (OpenRouter/Astree/custom) fail: secrets never reach the Mac-side coordinator1 comments · 2026-08-25#3Publish installable builds via GitHub Releases and GitHub Actions1 comments · 2026-08-24#17Security contact request (no details)0 comments · 2026-08-26#10🗺️ Master Reconstruction Plan — All Phases & Context0 comments · 2026-08-24#9Routed provider path sends tools with no executors0 comments · 2026-08-24#7Clarify licensing and permission for an AIDC-focused derivative0 comments · 2026-08-24