# "Build your own open-source Grok Bot, here's how"
<!--
ref: @content/youtube/david-ondrej/build-your-own-open-source-grok-bot-here-s-how
tags: [agent engineering, cloud agents, agent loops, reverse engineering, self-hosting, VPS, multi-agent workflow, design with agents, review with another model]
version: 2
updated_at: 2026-11-22T13:44:42.765Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=7-Tj5qaOUbc)**

# Build your own open-source Grok Bot, here's how

*Synthesized from David Ondrej, 2026-11-15.*

David Ondrej presents solo as a screen-recorded build session, rebuilding a hosted personal-assistant product (Grokbot) as an open-source clone. The transcript is a rough machine translation: the bot's name, the speaker's own name and several terms are garbled, so details below follow the clearest readings.

## Core Thesis
David argues that using many parallel agents (local and cloud), concise prompts, rapid deploys and recurring agent loops lets one person rebuild a product in about 1.5 hours. His broader claim is that people lose time by under-using agents, and that automating predictable work with scheduled loops is the next step after chatbots and interactive agents.

## Key Insights
- **Reverse engineering by asking.** He asked the hosted bot in plain English about its own virtual machine and architecture, and used the answers as a spec. Reported specs: one shared Debian 13 Linux machine with kernel 6.12, eight virtual Intel Xeon CPUs, 15 GB RAM (about 2 GB free), a 128 GB disk, no GPU, bots running in a container with a supervisor that starts, restarts and logs each bot. He documented this as modular markdown in the new repository and put an approximation in the README. The product is a self-healing, guided experience, in contrast with earlier open agent bots that had to be revived by hand.
- **Target design.** A harness-agnostic bot manager (Claude Code CLI, Codex CLI, and others), a backend built on the Claude Code CLI using his own subscription, hosted on a VPS, with a rewritten interface. He noted Anthropic's terms may restrict building new interfaces, so he kept the official CLI as the loop.
- **Parallel agents.** Five-ish agents ran at once, mixing local ones and cloud ones that run in isolated Linux sandboxes, so there were no file conflicts; the same sandbox setup let him run dozens or hundreds without overheating the laptop. Agents were given distinct jobs: UI, backend, documentation, GitHub setup, design, architecture research and a developer thread that deploys.
- **Model and effort choices.** He used Opus 5.5 high for most of the build (cheap on limits: about 1% of his subscription for a full backend with 3,000-plus lines) and bumped to extra-high only for big changes; he says Fable would burn limits. He noted a difference between effort levels, and that long, verbose answers waste time, so he created an agents.md instruction to answer in short plain English.
- **Ship early.** He skipped extended planning, committed to a public MIT-licensed repo early, deployed to the VPS soon after, set up auto-deploy from the master branch, and queued a rename because of trademark risk (it became "Superbot").
- **Architecture decision records.** He suggests tracking the ratio of architecture decision records to lines of code as a "junk ratio", because code without recorded decisions leaves agents without direction. Keep the root of an open-source repo tidy using a tree-files skill. He prefers Rust for agent-built code for speed and memory safety.
- **VPS handling.** He had the agent guide him through SSH-key access and then harden the VPS (firewall and common-mistake research).
- **Opinions on model behavior.** He says the hosted bot's underlying model is weaker than Opus 5.5 but less restricted, and that Fable 5.2 refused or lectured on an ordinary hiring task, so a less capable but compliant model can be more useful for everyday work. These are his claims.
- **Practicality.** Agents will spend 50 minutes on a task that takes 5 and will add endless tests, so tell them to keep an internal tool minimal.
- **Design with agents.** He had agents generate four design options at a time with a design skill, picked one, then iterated on icon sets and branding; he notes agents are poor at brainstorming unique names, which stays a human task.
- **Review with another model.** For medium changes he ran a "GPT review" skill, where a subagent launches Codex CLI with a different model to review; a Gemini review is the alternative for bigger changes.
- **Agent loops.** He created a loop in plain English (three runs a day, cloud only, Opus 5.5 high) to maintain the repo, and says creating it took 1 minute 23 seconds. He runs about 41 loops and four in this session, and says his commits went from roughly 5-10 meaningful ones a day to over 200 daily; he claims a 130-fold productivity increase, which is his own figure.
- **Spend.** He says he pays for four Claude Code subscriptions (about $800 per month), a Codex plan and a Cursor plan.

## Actionable Takeaways
1. Ask a product's own agent to describe its architecture, then save the answers as modular markdown docs in the repo.
2. Run many parallel agents with a split of roles, and use isolated cloud sandboxes to avoid conflicts and overheating.
3. Put a concise-answers rule in agents.md, and keep reusable prompt snippets for repeated instructions.
4. Show a screenshot and ask for four design variants, then choose and iterate.
5. Review non-trivial changes with a model from a different vendor via a subagent.
6. Turn any repeatable, safe workflow into a scheduled agent loop described in plain English, and start with one or two.
7. Deploy early, set up auto-deploy, and record architectural decisions.

## Notable Quotes
> "You're not using enough agents." — David Ondrej

> "Many people have no idea what is happening in their agents, and they just, you know, get lost." — David Ondrej

---

*Related: `@content/web/github/2026-11-20-opencomputer` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/david-ondrej/build-anything-with-tmux-here-s-how` · `@content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide` · `@content/youtube/nate-herk/i-tested-openai-s-dots-vs-meta-s-muse-what-you-need-to-know`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*