Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Advanced Vibe Coding: Software Factory with Tmux & AI Agents
Role Play
New
Rating: 5.0 out of 5(2 ratings)
8 students

Advanced Vibe Coding: Software Factory with Tmux & AI Agents

Command parallel terminal agents with git worktrees, skills, hooks, MCP, Ralph loops & real cloud production deploys.
Last updated 11/2026
English
English

What you'll learn

  • Command multiple AI coding agents in parallel using a custom tmux workspace and isolated git worktrees with zero file collisions or merge chaos
  • Eliminate context rot with hierarchical project memory rules, progressive disclosure docs, session compaction, forks, rewinds, and read-only subagents
  • Build portable Agent Skills, custom slash commands, deterministic helper scripts, multi-step workflows, and automated evaluations across terminal agents
  • Enforce deterministic safety and quality with lifecycle hooks that block destructive commands, auto-lint edits, prevent early stops, and ship as plugins
  • Connect terminal agents to live Postgres databases via Supabase Remote MCP, manage PRs with GitHub CLI, and verify real UIs with headless Playwright
  • Engineer self-healing outer Ralph Wiggum loops backed by verification backpressure, stuck-state circuit breakers, sandboxing, and parallel tmux fleets
  • Deploy full-stack apps to production using Supabase migrations and Row Level Security, GitHub Actions CI gates, Vercel, and Cloudflare Workers
  • Assemble a reusable Software Factory plugin and orchestrator that turns a single product prompt into ShipPulse, a live full-stack app in production

Course content

9 sections • 43 lectures • 10h 17m total length
  • Companion GitHub Repository & Course Starter Kits0:59
  • 1.1 From Chatbots to Terminal Commanders11:35

    Stop acting as a manual copy-paste courier between your editor and a browser chatbox. In Lesson 1.1 of Advanced Vibe Coding, we map the complete four-layer Software Factory architecture and watch three isolated git worktree branches verify and serve a live full-stack application (ShipPulse) simultaneously inside tmux.

    What you'll learn

    • Why browser chatboxes stall out on multi-file repositories and how a terminal-native agent harness removes the wall
    • How open-standard .agents/ files (AGENTS.md, hooks.json, SKILL.md, mcp_config.json) keep your workflow portable across Google Antigravity CLI, Claude Code, and Codex
    • How the four-layer stack connects tmux + git worktree isolation, Context & Control, self-healing Ralph Wiggum verification loops, and a modern starter cloud production stack (GitHub Actions, Supabase, Vercel, Cloudflare)

    Key terms

    • Agent harness: The runtime wrapper around a coding model that wires it directly into your filesystem, shell, compiler, test runner, git history, and deploy CLIs.
    • Terminal-native agent: A coding agent operating directly inside your terminal harness, reading real files on disk and repairing failures from live stack traces and test output.
    • Software Factory: A repeatable four-layer pipeline combining terminal isolation, open-standard context/guardrails, self-healing verification loops, and automated cloud delivery.

    Student Kit Included: Download the attached ZIP archive in Resources for all starter templates, exact configuration files, scripts, and reproduction steps.

  • 1.2 Picking Your Terminal Agent: Antigravity CLI vs. Peers11:03

    Pick your terminal engine once and keep your engineering habits portable across tools. In Lesson 1.2 of Advanced Vibe Coding, we compare late-2026 terminal coding agents by architecture and cost, trace how Google's native Go-based Antigravity CLI (agy) replaced legacy TypeScript Gemini CLI, inspect official headless automation flags (-p, --output-format, --json-schema), walk through a real open-standard .agents/ workspace on disk, and compare individual entry tiers and Pro plans across providers.

    What you'll learn

    • Why Google replaced legacy TypeScript Gemini CLI with the native Go-based Antigravity CLI (agy) sharing one unified execution harness across CLI, desktop app, and IDE
    • How headless -p mode, --output-format (text, json, stream-json), --json-schema, and settings.json allow/deny rules turn a terminal agent into a scriptable Unix pipe
    • How six plain-text files (AGENTS.md, .agents/skills/review-pr/SKILL.md, .agents/hooks.json, .agents/mcp_config.json) keep your workflow portable across agy, Claude Code, and Codex CLI
    • Practical plan comparison across Antigravity CLI individual and Pro tiers, Claude Pro/Max, and ChatGPT Plus/Pro with zero vendor lock-in

    Key terms

    • Execution harness: The runtime layer wiring a coding model to your filesystem, shell, lifecycle hooks, and tool permissions across CLI, desktop app, and IDE.
    • Open standards: Plain-text repository conventions (AGENTS.md, SKILL.md with YAML frontmatter, JSON hooks, MCP configs) readable across multiple terminal agents.
    • Agent-agnostic workflow: An engineering workflow anchored in versioned repo files, tmux, and git worktree so switching terminal binaries takes minutes instead of a rebuild.

    Student Kit Included: Download the attached ZIP archive in Resources for all starter templates, exact configuration files, scripts, and reproduction steps.

  • Quick Check 1.1–1.2: Terminal Agent Foundations
  • 1.3 Installing & Mastering Antigravity CLI (agy) From Zero13:16

    Install Google Antigravity CLI (agy) on a clean Linux terminal and master the entire interactive workflow from first launch to reversible recovery. In Lesson 1.3 of Advanced Vibe Coding, we install the standalone Go binary, sign in with Google OAuth (zero API keys to manage), drive @ file targeting, ! zero-token inline shell commands, /plan blueprints, and /config sandboxing, then prove /rewind, /fork, --sandbox --continue, and /resume live on a real Node repository.

    What you'll learn

    • How a single interactive agy turn connects @ file context, /plan review, --sandbox boundaries, and /rewind rollback
    • Installing agy cleanly via the official installer script and authenticating with Google OAuth
    • Running instant local checks with ! git status and ! npm test without burning tokens or leaving your session
    • Controlling risk cleanly with /plan blueprints, /config OS-level sandboxing, /rewind atomic code+chat rollback, /fork conversation branching, and /resume thread switching

    Key terms

    • Plan mode: A dedicated review pass (/plan) where the agent inspects your codebase and writes a file-by-file blueprint before changing a single line on disk.
    • Sandbox mode: OS-level shell isolation (bubblewrap namespaces on Linux, Seatbelt on macOS) fencing agent commands inside your project workspace.
    • Checkpoint rewind: Atomic rollback (/rewind) that reverts modified files on disk and clears dead-end turns from conversation history together.

    Student Kit Included: Download the attached ZIP archive in Resources for all starter templates, exact configuration files, scripts, and reproduction steps.

  • 1.4 Headless Automation Mode (agy -p): Turning an Agent Into a Unix Pipe13:40

    Exit the interactive TUI and turn your terminal coding agent into a composable Unix command. In Lesson 1.4 of Advanced Vibe Coding, we wire Google Antigravity CLI (agy -p) into standard Unix pipes, extract clean structured telemetry with --output-format json and jq, stream live NDJSON events with --output-format stream-json, compare --mode plan vs. --mode accept-edits, and build a reusable 18-line scripts/diff-check.sh commit gate returning real Unix exit codes (0 / 1).

    What you'll learn

    • Why interactive TUI sessions block cron jobs, shell loops, and CI pipelines — and how headless mode (-p) turns an agent into a scriptable Unix process
    • How to run single-shot prompts and stream git diff --cached straight into agy -p via stdin
    • How to parse --output-format json cleanly with jq (with stderr diagnostic isolation) and monitor live --output-format stream-json NDJSON events
    • How to lock down write permissions with --mode plan (read-only) vs. --mode accept-edits (autonomous writes)
    • How to write and verify an 18-line fail-closed scripts/diff-check.sh commit gate that catches hardcoded secrets and missing tests before git commit

    Key terms

    • Headless mode (-p): Non-interactive single-run execution that writes clean output to stdout, keeps diagnostics on stderr, and returns to your shell with a Unix exit code.
    • NDJSON (stream-json): Newline-delimited JSON events (init, step_update, result) emitted one self-contained JSON object per line in real time for outer loop monitors.
    • Permission mode (--mode): Explicit execution policy declared upfront for unattended runs: --mode plan (strict read-only analysis) vs. --mode accept-edits (autonomous file edits).

    Student Kit Included: Download the attached ZIP archive in Resources for all starter templates, exact configuration files, scripts, and reproduction steps.

  • Quick Check 1.3–1.4: Antigravity CLI (agy) & Headless Pipes
  • Section 1 Mastery Quiz: Terminal Agent Foundations
  • Role Play 1: Migrating From Browser Chat to Headless Terminal Agents

Requirements

  • Basic comfort running commands in a terminal and working with Git branches, commits, and pull requests
  • Familiarity reading or writing a web application (JavaScript, TypeScript, or Python basics are enough)
  • A Linux, macOS, or Windows (WSL2) computer with Git and Node 20+ installed
  • A personal Google account to run Google Antigravity CLI on its starter tier (every pattern also transfers to Claude Code, Codex CLI, and OpenCode)

Description

This course contains the use of artificial intelligence.

Stop acting like a copy-paste courier between your editor and a browser chat window.

Most developers still use AI one prompt at a time inside a single chat thread—babysitting broken diffs, fighting context rot after ten turns, and ending up with local prototypes that never make it to real production.

Advanced Vibe Coding upgrades how you build software from the ground up. Across 42 focused, zero-fluff lessons in 9 structured sections, you will move from running a single terminal agent to commanding parallel multi-agent fleets wrapped in deterministic verification gates—and shipping a real, secured full-stack application to live cloud production on a modern starter cloud stack.

How Every Lesson Is Taught

  • Clear Visual Mental Models First: Before typing a single command for any new concept, you see a clean, animated visual model explaining exactly how the system works under the hood—so every flag, config file, and architecture choice clicks immediately.

  • Live Terminal, Editor & Browser Execution Throughout: Every install, workflow, hook, database migration, security audit, and production deployment runs live on screen. When checks fail, you watch real errors get caught by deterministic gates and fixed in place.

  • Portable Open Standards: Every core engineering pattern—tmux, git worktree, AGENTS rules file, the open SKILL definition Agent Skills standard, lifecycle hooks, MCP, Ralph Wiggum outer loops, and CI/CD—transfers cleanly across Google Antigravity CLI (agy), Claude Code, Codex CLI, and OpenCode. All live builds run on Google Antigravity CLI using its individual starter tier so you can follow every step with a standard personal account.

  • Tested Starter Kits for Every Lesson: Clone the companion GitHub repository to get every config file, shell script, skill, hook, verification suite, and checkpoint ready to run on your own machine.

What You Will Master Across 9 Sections

  1. Terminal Agent Foundations: Shift from browser chatboxes to terminal-native execution harnesses, master interactive agy workflows (/plan, /rewind, /fork, --sandbox), and turn an agent into a composable Unix pipe with headless -p automation and stream-json.

  2. Tmux Command Center & Parallel Agent Fleets: Build a minimalist operator tmux config, isolate concurrent agents onto separate git worktree branches with zero index collisions, script multi-pane fleet launchers with send-keys and capture-pane, and merge parallel branches cleanly with an integrator workflow.

  3. Context Engineering: Diagnose context rot and attention dilution, trim bloated instruction files into lean hierarchical AGENTS rules, structure just-in-time progressive disclosure docs, master /compact / /fork / /rewind / disk handoffs, and isolate heavy research inside read-only custom subagents.

  4. Agent Skills, Custom Commands & Dynamic Workflows: Author portable SKILL definition modules, wire custom /skill slash commands, move brittle steps into deterministic scripts/ with .agents/skills registry inheritance, orchestrate multi-stage workflows, and harden skills with headless evaluations.

  5. Lifecycle Hooks, Guardrails, Plugins & Sidecars: Intercept every point of the agent loop in hooks config—hard-blocking destructive commands and secret leaks with PreToolUse (deny and overwrite), auto-formatting and type-checking edits with PostToolUse, steering completion safely with Stop hooks and continuationActive guards, and bundling everything into a shareable plugin manifest package.

  6. MCP & Live Infrastructure Tooling: Compare Stdio vs. Streamable HTTP MCP transports without bloating your tool budget, connect directly to cloud Postgres via Supabase Remote MCP paired with GitHub CLI (gh), and give headless terminal agents real eyes using Playwright browser verification.

  7. Loop Engineering: Separate inner Stop-hook loops from fresh-context outer Ralph Wiggum loops, build a fast unified verification backpressure sieve (tsc, lint, unit tests, Playwright), write a crystal-clear bash ralph loop script around agy -p, protect unattended runs with stuck-diff circuit breakers and sandboxing, and launch parallel Ralph fleets across tmux.

  8. Shipping to Real Production (Supabase, Vercel & Cloudflare): Architect full-stack production deployments with honest limits across GitHub Actions, Supabase (versioned SQL migrations, generated TypeScript types, Auth, and strict Postgres Row Level Security audited via Security Advisors), Vercel Hobby (preview and production CLI deploys), and Cloudflare Workers/Pages (wrangler).

  9. Capstone — Your Reusable Software Factory: Assemble every piece from Sections 1–8 into a portable software-factory plugin and factory orchestrator script, then run it live from an empty directory with a single product prompt to build, audit, verify, and deploy ShipPulse—a real full-stack SaaS Changelog & Feature Voting application live in production.

Walk Away With Reusable Production Assets

By the final lesson, you will not just understand modern AI-assisted software engineering—you will own a battle-tested tmux config, reusable safety and quality hooks, portable Agent Skills, a hardened ralph fleet runner, a 9-section field playbook, and your own drop-in Software Factory ready for your next project.

Enroll now and start commanding your terminal Software Factory.

Who this course is for:

  • Developers and software engineers ready to move past slow single-chat browser prompting into terminal-native autonomous engineering
  • Technical founders, indie hackers, and solo builders who want to run parallel AI agents and ship real full-stack products to modern cloud platforms
  • AI power users tired of fragile local prototypes who want deterministic hooks, browser verification, Postgres RLS security audits, and automated CI/CD
  • Engineering leads designing portable, open-standard agent workflows, shared skill libraries, and guardrails across repositories