Vigyata.AI
Is this your channel?

Stop Using Claude Code Like This (Use Sub-Agents Instead)

91.8K views· 2,760 likes· 31:04· Jan 14, 2026

🛍️ Products Mentioned (4)

🚀 Access ALL video resources & get personalized help in my community: https://www.skool.com/agentic-labs/about?ref=3fd61190e13d426dbf4f3b38adc7de69 💬 My AI voice-to-text software (Wispr Flow): https://wisprflow.ai/r?WALTER67 ☕ Buy me a coffee: https://www.buymeacoffee.com/leonvanzyl 💵 Donate using PayPal: https://www.paypal.com/ncp/payment/EKRQ8QSGV6CWW Learn how to use Claude Code subagents and background agents to build complex applications without running out of context window. This tutorial covers the built-in agents like the Explorer, Planning, and Bash agents, and shows you how to create custom specialized agents for coding, UI design, and code review. You'll discover a powerful wave-based workflow that uses parallel subagents to implement features faster while keeping your main conversation clean. ⏰ TIMESTAMPS: 00:00 Claude Code subagents introduction 00:33 Listing built in agents 01:57 Invoking agents directly with @ symbol 02:15 Running agents in background with Ctrl B 03:12 Using Explorer agent for codebase analysis 04:38 Subagents vs main agent context usage 06:06 Benefits of parallel subagents 06:42 Creating custom agents with slash agents 08:06 Selecting agent model Opus Sonnet Haiku 09:54 Context window explained 11:02 Auto compacting and context limits 13:33 Custom UI expert agent results 14:36 Creating coder and code reviewer agents 17:06 Practical subagent workflow overview 17:23 Using planning agents in parallel 20:30 Creating implementation plan with phases 22:48 Parallel agents for documentation 23:39 Wave based implementation strategy 25:28 Orchestrating coder and reviewer agents 27:17 Final code review with multiple agents 28:36 Testing the completed todo app 30:43 Full application with authentication #claudecode #agenticcoding #vibecoding

About This Video

In this video I’m looking at Claude Code sub-agents and background agents, because understanding this is a critical skill if you’re vibe coding or doing agentic coding as a serious dev. The big idea is simple: stop trying to do everything in the main thread. Your main conversation is your most valuable resource, because once you chew through the context window, quality drops, compacting kicks in, and you lose important details. So I show you how to list the built-in agents (Explorer, Planning, Bash, etc.), invoke them directly with @, and run them in the background with Ctrl+B so you can keep moving while they work. Then I walk through why sub-agents are so powerful: they run in their own threads with their own token budgets, and they only return a summary back to the main agent. That doesn’t necessarily reduce total tokens, but it protects your main context so you don’t hit the wall on bigger builds. I also show how to create your own specialized agents with /agents—like a UI expert with a neo-brutalism design system, a high-quality coder agent, and a lightweight code reviewer. Finally, I share my practical workflow: plan in parallel (multiple planning agents), write specs to files, then orchestrate “waves” of implementation where coder agents build in parallel and reviewer agents validate, iterate, and do final multi-perspective reviews. That’s how you ship complex apps—like a full kanban todo app with optional auth, Postgres, and Drizzle—without your main thread turning into a dumpster fire.

Frequently Asked Questions

🎬 More from Leon van Zyl