b-nnett/grok-bot-0.18-reconstructed

Unofficial source-oriented reconstruction and extension of Grok Bot 0.18.0 for macOS

What it solves

This project is a source-oriented reconstruction of the Grok Bot 0.18.0 macOS application. It allows users to understand the internal workings of the app and extends it with new capabilities, such as an inference router to switch between different AI providers and a local Docker sandbox for code execution.

How it works

The project uses a hybrid approach to rebuild the app. It reconstructs the runtime and control-plane code (Electron main, host, coordinator, and protocol) using readable TypeScript. It retains the original, minified production renderer (UI) from the shipped application to maintain the polished look and feel, applying only small, auditable patches to add new settings surfaces.

Who it’s for

This is a research and hacking project aimed at developers and researchers interested in reverse-engineering AI desktop applications and extending their functionality.

Highlights

  • Inference Router: Support for routing requests to Cursor, Claude Code, Codex, and OpenRouter, preserving streaming responses and MCP tool execution.
  • Local Docker Sandbox: An optional local containerized environment to replace the remote sandbox for tool execution.
  • Usage Tracking: Local recording of request and token totals for routed inference.
  • Deterministic Toolchain: A build system that downloads the pinned 0.18.0 app, verifies it, and assembles the reconstructed version.
  • MCP Tool Support: Integration of Grok Bot plugins and MCP tools across different routed providers.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project