---
title: "Claude Code Sub Agents: From Disappointment to Maximum Efficiency"
url: "https://zuey.me/articles/claude-code-sub-agents-tu-that-vong-den-hieu-qua-toi-da?lang=en"
locale: en
access: members
full_text: false
published_at: "2025-08-19T13:50:32.000Z"
tags: ["Claude Code", "AI Agents", "Context Engineering"]
translations:
  vi: "https://zuey.me/articles/claude-code-sub-agents-tu-that-vong-den-hieu-qua-toi-da.md?lang=vi"
  zh: "https://zuey.me/articles/claude-code-sub-agents-tu-that-vong-den-hieu-qua-toi-da.md?lang=zh"
  ko: "https://zuey.me/articles/claude-code-sub-agents-tu-that-vong-den-hieu-qua-toi-da.md?lang=ko"
  ja: "https://zuey.me/articles/claude-code-sub-agents-tu-that-vong-den-hieu-qua-toi-da.md?lang=ja"
---
# Claude Code Sub Agents: From Disappointment to Maximum Efficiency

> Claude Code Sub Agents feel slow, burn tokens and don't do any better? The problem is we use them wrong: they're built to research and gather context, not to code in place of the main agent.

[YouTube: https://youtu.be/LCYBVpSB0Wo](https://youtu.be/LCYBVpSB0Wo)

### The initial problem with Sub Agents

When Claude Code first launched Sub Agents, a lot of people (me included) ran into this:

#### Sluggish

Noticeably slower than the main agent.

#### Token-hungry

Tokens flowing like water.

#### No better results

No better than just letting the main agent do everything.

This happens because most of us misunderstand what Sub Agents were actually designed for.

### Why does Claude Code need Sub Agents?

The Claude Code agent works with a bunch of tools: read files, list files, edit files… The problem is that the `read` tool can “eat” thousands of tokens because it puts the entire file content into the conversation history.

| Before Sub Agents | Sub Agents were created to |
| --- | --- |
| Main agent reads lots of files → uses 80% of the context window | Delegate research tasks to a helper agent |
| Triggers “compact conversation” → the conversation gets summarized | Helper agent works in isolation and only returns a short summary |
| Performance drops hard because context is lost | Main agent gets condensed info instead of raw data |

### Common mistake: Using Sub Agents for implementation

Lots of people (me too at first) think:

- Frontend Dev Agent → does the frontend
- Backend Dev Agent → does the backend
- Parent Agent → just orchestrates

---

*Phần còn lại dành cho thành viên có quyền đọc toàn bài (Knowledges, Kết hợp, Cộng đồng) — see plans at https://zuey.me/pricing*
