Speaker Notes

You're using AI agents wrong

Leverage remote Linux machines, automated PR loops, and strategic token spend to scale AI coding agent workflows without hitting system bottlenecks or cognitive fatigue.

Theo - t3․gg · 49:22 · YouTube ↗

Tutorial · solo speaker  Advanced · remote workflow strategies

Highlights

6 clips · 8 min of 49 min
    • Keep agent workloads off your primary development laptop to prevent bottlenecks and system sluggishness.
    • Use a dedicated remote Linux machine (even an inexpensive over-spec'd box) to run multiple agent threads reliably.
    • macOS struggles with reliable process parallelization, whereas Linux handles heavy agent concurrency effortlessly.
    • Avoid manual testing of complex external PRs if it risks failing and killing your momentum.
    • Delegate code audits and risk analysis to AI agents before investing your own setup time.
    • Use token spend strategically to filter out broken pull requests and maintain high coding motivation.
    • Ask agents to simplify complex technical outputs when facing cognitive fatigue.
    • Use tokens to translate dense architectural problems into easily digestible summaries.
    • Maintain momentum by avoiding the temptation to context-switch away from hard tasks.
    • Do not force yourself to parse dense, overwhelming technical explanations from an agent.
    • Prompt the agent to explain the core fix simply (e.g., ELI5) when your focus starts to drift.
    • Create a babysit skill that instructs agents to monitor pull requests for automated reviewer comments.
    • Allow the agent to autonomously address feedback, push changes, and iterate in a loop.
    • Eliminate manual intervention by letting agents handle the back-and-forth until approved.
    • Build built-in CLI commands to spin up dev servers remotely and expose them securely via Tailscale.
    • Enable instant browser-based validation of code running on remote machines.
    • Drastically reduce testing friction when working across different development environments.
    • Run automated nightly builds every few hours rather than once a day to create a rapid feedback safety net.
    • Leverage active nightly users to catch real-world regressions immediately after merge.
    • Derisk the merge process by ensuring stable releases rarely see breaking issues.

Questions this video answers

7 · every answer cites the moment it was said
01 How do I run AI agents without slowing down my local machine? 2 sources · 5:09

Offload heavy agent workloads to a remote Linux machine rather than your primary computer to avoid bottlenecks. You can set up a server on a separate Linux box that handles your codebases and code servers. This keeps your local laptop free for other tasks without performance drops.

02 How do I prevent losing motivation when testing unverified pull requests? 2 sources · 12:31

Burn more tokens by having AI models thoroughly audit the pull request before you set up an environment to test it yourself. This helps catch obvious failures and issues upfront, reducing the chance of hitting a demotivating broken state. Using Linux also helps by allowing you to run parallel tasks smoothly without system friction.

03 How do I manage multiple open pull requests and background agent threads? 2 sources · 16:26

Use fast or cheap AI models to audit and prioritize your open pull requests and background threads automatically. You can also use thread features like settling or snoozing to clear out completed work or hide distractions from your sidebar. When an AI response is too complex, ask it to simplify the explanation to avoid cognitive fatigue.

04 How do I automate PR feedback loops with agents? 2 sources · 30:01

You can create a short custom skill that instructs the agent to continuously monitor pull requests for automated review comments. The agent will autonomously address the feedback, push new changes, and repeat the loop until all review bots approve. This eliminates manual copy-pasting of comments and background babysitting.

05 How can I test code running on a remote machine? 2 sources · 37:20

You can add a built-in tailscale share command to start a remote dev server and return a pairing URL. This allows you to test the PR directly in your browser even over a slow network connection. It enables real-time validation without relying on cumbersome in-app previews.

06 How do I test desktop app changes without a local build? 2 sources · 41:21

You can configure a workflow that triggers a preview build for macOS using a specific PR label. Once processed, a preview DMG download appears directly in the thread for you to test on a clean machine. This avoids the friction of building large desktop applications locally from scratch.

07 What is an effective safety net for agentic code merges? 2 sources · 44:48

Frequent nightly builds acting as a safety net help catch regressions quickly before they affect a large user base. By pushing changes out every few hours, dedicated nightly users surface bugs immediately through feedback. This minimizes the fear of hitting the merge button on automated code.

Section-by-section summary

10 parts

Shipping fifty PRs a week as a part-time coder

Maintaining multiple companies and a YouTube channel leaves very little time for coding, yet a part-time developer can still outship full-time engineers by adopting specific high-leverage workflows. By shifting from traditional manual coding to managing parallel AI agents, developers can land dozens of pull requests even while traveling.

Executing agent tasks on remote Linux infrastructure

Running heavy multi-agent workflows locally will quickly bottleneck your development machine and ruin your productivity. Offloading all agent execution to a dedicated remote Linux box ensures your local workstation remains fast and responsive while enabling true parallelization.

Using tokens to eliminate motivation-killing friction

Testing external pull requests manually can lead to immediate dead ends that destroy your enthusiasm and lead to context-switching. Instead of wasting time on environment setup for unverified code, deploy agents to thoroughly audit PRs and catch potential failures first.

Managing high-volume PR chaos with background agents

Shipping dozens of changes makes it impossible to manually track every open pull request or thread. Using cheap, fast models in the background to audit, prioritize, and categorize existing PRs keeps your workflow organized without manual overhead.

Refactoring complex agent findings into digestible summaries

When an agent returns a massive, complex audit full of technical jargon, forcing yourself to parse it can cause mental fatigue and distraction. Prompting the model to re-explain the findings simply prevents burnout and keeps development moving forward.

Automate PR feedback loops with specialized skills

Create agent skills that monitor pull requests and automatically address feedback from automated review bots in a continuous loop. This eliminates manual copy-pasting of comments and ensures PRs iterate autonomously until fully approved.

Link external PRs to tracking threads for clean state

Explicitly link unassociated pull requests to active agent threads to ensure proper lifecycle management and automatic cleanup. When documentation conflicts with actual SDK behavior, have agents investigate open issues to confirm real limitations before building workarounds.

Build remote testing infrastructure for instant validation

Invest in tooling like tailscale dev server sharing and automated preview builds to test changes across web, mobile, and desktop remotely. Eliminating friction in testing directly increases confidence and accelerates the merge process.

Derisk the merge button with aggressive safety nets

Address the friction and fear around merging by improving pre-merge testing and establishing strong post-merge safety nets. When developers trust that mistakes will be caught instantly without harming users, throughput increases exponentially.

Safety nets beat rigid guardrails for agent workflows

Relying on rapid feedback loops and frequent nightly builds rather than restrictive guardrails allows teams to move fast with AI agents. Building workflows that automatically handle friction and catch regressions makes developers vastly more productive.

0:00 / 49:22
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Work trees1× · first 5:52

    A git abstraction used to spin up multiple parallel workspaces easily.

  • CLI proxy2× · first 11:30

    A proxy layer used to interact with AI coding models without standard authentication.

  • Babysit skill2× · first 29:40

    An automated agent loop that monitors PR review comments and applies fixes until approved.

  • Nightly builds2× · first 44:51

    Frequent automated releases deployed every few hours to catch regressions early.