AI Software Factory z Grok Bot i Claude — Transcript
Full transcript
- 0:00Imagine your agents organizing their own
- 0:02work, testing it, and letting you know
- 0:04when everything is ready. And all you do
- 0:06is record a voice memo on your phone
- 0:08telling them what to work on next.
- 0:10Sounds cool, right? That is exactly what
- 0:12my AI workflow has looked like for the
- 0:14past few weeks. The whole thing is based
- 0:16on Grokbot, which I use to manage all of
- 0:18my projects. Today, I will show you how
- 0:21I build my own private software factory
- 0:23by combining several tools and
- 0:25approaches in a simple way.
- 0:28We will go through each of them so you
- 0:29can get the best out of it and tailor it
- 0:31to your own needs.
- 0:33Let’s go. Alright, but do we even need
- 0:35this?
- 0:37Isn't Cloud Code or code on our own
- 0:39computer enough?
- 0:41I believe the era of agents living on
- 0:43our laptops is slowly coming to an end,
- 0:45and soon we will migrate most of our
- 0:47work to the cloud.
- 0:49Locally, we are limited by our hardware
- 0:51power and the fact that it must stay
- 0:53turned on all the time.
- 0:55Plus, there’s the inability to work on
- 0:58multiple devices and security concerns
- 1:00if we give agents a bit more freedom.
- 1:03For these reasons, the whole setup is
- 1:05based on a VPS where I keep all my
- 1:07projects.
- 1:09Grokbot connects to the VPS securely via
- 1:12Tailscale.
- 1:13It’s a free tool that allows you to
- 1:15connect devices into one private network
- 1:17.
- 1:17This way, my cloud computer and
- 1:19Grokbot’s computer see each other as if
- 1:21they were on the same home network, and
- 1:24all communication between them is
- 1:25encrypted.
- 1:27Beyond the cloud setup, it was also
- 1:29important for me not to have to babysit
- 1:31my agents. I wanted the ability to run
- 1:34multiple sessions simultaneously, while
- 1:36keeping things simple and communicating
- 1:38with only one agent. So, the system
- 1:41should orchestrate the agents itself and
- 1:43allow them to verify their own work.
- 1:46If the solution the agents prepare
- 1:48doesn't match what we initially agreed
- 1:50upon, the agents should try to correct
- 1:52the course and fix their own errors.
- 1:56My role is therefore limited to setting
- 1:58the direction for what to work on and
- 2:00iterating on new versions of a given
- 2:02functionality.
- 2:04Let's see how this looks in practice. We
- 2:06will work on a new feature for my
- 2:08Diagram Framework application.
- 2:10It is an application for building and
- 2:12editing animated diagrams for my videos
- 2:14. The whole thing was built using the
- 2:16approach we are going through today. We
- 2:18would like to add support for sound
- 2:20effects to the animations. We will pull
- 2:22the sounds from Epidemic Sound, which
- 2:24provides an MCP for our agents.
- 2:25Everything should be synchronized with
- 2:28the animation tempo, appearing elements
- 2:30, and transitions, and I should be able
- 2:32to edit each effect.
- 2:34Because after receiving instructions, it
- 2:37connects to the VPS and launches Orka in
- 2:39the terminal, my custom CLI tool for
- 2:41managing agent work. Orka will oversee
- 2:44the entire process, from the initial
- 2:46idea through the agents 'work and
- 2:47verification, all the way to reporting
- 2:50task completion back to the bot. First,
- 2:52Orka prepares the working environment.
- 2:54It creates a new branch and worktree.
- 2:57Next, it launches a new Herdr session
- 2:59where the agents will work. Herdr allows
- 3:02us to manage multiple terminal sessions
- 3:04simultaneously.
- 3:06It enables organization into projects or
- 3:08tabs where the agents will operate.
- 3:10It has native support for VPS.
- 3:13This ensures that agents keep working
- 3:15even if the connection to the server is
- 3:17lost.
- 3:19Thanks to it, I can also observe how
- 3:21agents work on the VPS from my own
- 3:23computer.
- 3:25Statuses are another great feature.
- 3:28Herdr monitors every agent session and
- 3:30can tell us the status of any given
- 3:32agent.
- 3:33This lets us know when an agent, for
- 3:35instance, finishes its work or gets
- 3:37blocked by something. Orka uses the
- 3:39Herdr CLI to launch a new agent session
- 3:41.
- 3:42In our case, depending on the needs, we
- 3:45use either Claude or Spai. The main
- 3:47agent managing the entire task is the
- 3:49so-called orchestrator, usually an agent
- 3:52based on a better, smarter model. It
- 3:54receives the entire context and goal of
- 3:56the task. It determines the plan, the
- 3:58approach to solving the problem, and the
- 4:00verification method.
- 4:02It will be the only one the bot
- 4:04communicates with during a given task.
- 4:06In our case, the orchestrator stopped
- 4:08planning because it noticed it would
- 4:10need an API key for Epidemic Sound.
- 4:13Through access to statuses, Orka caught
- 4:15that the agent was blocked and needed
- 4:17our input.
- 4:19It contacted Grokbot, which processed
- 4:21the message and displayed a window for
- 4:23us to securely provide the key. Once we
- 4:26did that, the orchestrator finished
- 4:28planning and broke the task down into
- 4:30smaller subtasks. For each one, it added
- 4:33context, a goal, acceptance criteria,
- 4:35scope, and verification methods. Then,
- 4:38using Orka, the orchestrator launches
- 4:40the so-called workers, i.e., agents that
- 4:43will perform the created tasks. We can
- 4:46think of workers somewhat like
- 4:47sub-agents, but with a bit more control
- 4:49.
- 4:50Each one appears in a separate window
- 4:52and receives a special prompt with
- 4:54instructions and the task context.
- 4:57When an agent finishes its work, Orka
- 4:59notifies the orchestrator. It then
- 5:01decides what to do next. For example, it
- 5:03can send a message to a worker with some
- 5:06corrections or spawn another worker.
- 5:08Are you looking for a valuable place to
- 5:10learn about AI? Is it hard for you to
- 5:12keep up with all these changes? For six
- 5:14years, I’ve been running a newsletter
- 5:16where I share interesting things about
- 5:17AI and programming. I write about what
- 5:19works for me and how I get the most out
- 5:21of AI. There’s one rule: zero
- 5:24and spam. Several thousand people are
- 5:26already with us; it costs nothing, and
- 5:28you can always unsubscribe. Check out
- 5:30the first link in the description, and
- 5:31let’s get back to the video.
- 5:33Okay, but how will we even know that the
- 5:35workers did their job well and that the
- 5:37feature works as we planned?
- 5:40That’s where a crucial piece of this
- 5:42puzzle comes in: a special agent run by
- 5:44the orchestrator that verifies the
- 5:46workers' output. Its goal is to click
- 5:49through the application and gather
- 5:50evidence that a given functionality
- 5:52actually works.
- 5:54Under the hood, the agent uses a library
- 5:56to interact with the browser, for
- 5:58instance, to record videos or take
- 6:01screenshots.
- 6:02Also important are the so-called feature
- 6:04maps—markdown files that contain
- 6:06descriptions of how our app works and
- 6:08how the agent can perform specific
- 6:10actions.
- 6:11In our case, we want the agent to know
- 6:13how the animation editor, the timeline,
- 6:16and the playback controls work.
- 6:19When we introduce a new feature, first,
- 6:21we don't want to introduce any
- 6:23regressions, but second, we must ensure
- 6:25it integrates properly with other parts
- 6:27of the system.
- 6:29If the agent detects that something
- 6:30isn't working, it notifies the
- 6:32orchestrator, providing context and
- 6:34evidence. The orchestrator sends a
- 6:36message to the worker, and the worker
- 6:38fixes the bug. After the fix, another
- 6:39round of tests is run, and only when
- 6:41everything works as it should is the
- 6:43task considered finished.
- 6:46Okay, it's cool that it works at all,
- 6:48but won't we end up with one giant pile
- 6:50of slop this way?
- 6:52How can we ensure the quality of such
- 6:54solutions and how can we increase our
- 6:56trust in the agents 'work? From an
- 6:58orchestration level, Orka ensures that
- 7:01sessions do not exceed 40%of the context
- 7:03window.
- 7:04When that happens, a handoff to a new,
- 7:07fresh agent occurs, and it simply
- 7:09continues the work.
- 7:11However, a lot depends on what our
- 7:13current codebase looks like and how we
- 7:15ensure agents create code the way we
- 7:17want.
- 7:18There are at least several ways to
- 7:20verify this.
- 7:22We're talking about files for agents,
- 7:24skills, but also more deterministic
- 7:27methods, such as linter rules.
- 7:30On top of that, there is the review
- 7:32process, regardless of whether we
- 7:34perform it locally or at the pull
- 7:35request level.
- 7:37When the task is fully completed and
- 7:39tested, Orka communicates with Grokbot
- 7:41via a webhook, and it sends me a summary
- 7:43with screenshots of the finished feature
- 7:45.
- 7:47This whole approach is very flexible and
- 7:49open to modifications, so you can adapt
- 7:51it to your own needs.
- 7:53I often use this system by recording
- 7:56long, casual voice notes for Grokbot
- 7:58with entire ideas for apps or specific
- 8:00features.
- 8:02It runs those sessions in the background
- 8:04and simply gets back to me when it's
- 8:06done.
- 8:07I also have a "night shift" system,
- 8:08where I tell the agent I'm going to
- 8:10sleep and I just want specific things
- 8:12done by the morning.
- 8:15This usually works quite well, because
- 8:17the agent has quite a lot of time to
- 8:19verify and process all of it. I was
- 8:21inspired by, among others, Loren’s
- 8:23approach, who works daily on developing
- 8:25GregBot, and Adam Gospodarczyk’s project
- 8:27, which works on a very similar
- 8:29principle. I am constantly developing
- 8:31this system myself and fixing various
- 8:33shortcomings. You can find the link to
- 8:35the repository in the description. If
- 8:36you liked it, don't forget to like this
- 8:38video and subscribe to stay up to date.
- 8:40See you next time.
About this transcript
This page contains the full transcript of AI Software Factory z Grok Bot i Claude by Olaf Sulich, generated from the public captions YouTube serves with the video. The transcript has 1,526 words across 252 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.