Code Mala Tang
Code Mala Tang
Apr 28, 2026 · Operations

How Sub‑Agents Keep Claude Code Sessions Clean

Long Claude Code sessions quickly become noisy as every grep, find, and ls call stays in the main context, but using sub‑agents—including the built‑in Explore and Plan agents and the CLAUDE_CODE_FORK_SUBAGENT flag—isolates work, returns only concise summaries, and lets you monitor activity with a context‑timeline hook.

Claude CodeExplorePlan
0 likes · 7 min read
How Sub‑Agents Keep Claude Code Sessions Clean
Fun with Large Models
Fun with Large Models
Apr 3, 2026 · Artificial Intelligence

Fast Guide to LangChain DeepAgents: How SubAgents Work

This article explains DeepAgents SubAgent mechanisms, showing how context isolation and task division improve complex agent workflows, details two creation methods (dictionary‑based and compiled), demonstrates a search‑and‑report demo, and outlines suitable and unsuitable scenarios with practical code examples.

AI agentsDeepAgentsLangChain
0 likes · 15 min read
Fast Guide to LangChain DeepAgents: How SubAgents Work
AI Tech Publishing
AI Tech Publishing
Jan 28, 2026 · Artificial Intelligence

When and How to Use Multi‑Agent LLM Systems: Practical Insights from Anthropic

The article explains when multi‑agent LLM architectures outperform single‑agent setups—highlighting context pollution, parallelizable tasks, and specialization—while detailing the orchestrator‑subagent pattern, design trade‑offs, code examples, and verification strategies. It also provides practical signals for abandoning single‑agent designs, recommends context‑centric decomposition, and warns about token overhead and early‑victory verification pitfalls.

Agent SpecializationLLM OrchestrationParallelization
0 likes · 18 min read
When and How to Use Multi‑Agent LLM Systems: Practical Insights from Anthropic
Architecture and Beyond
Architecture and Beyond
Sep 12, 2025 · Artificial Intelligence

How Gemini CLI and Claude Code Achieve Context Isolation for AI Agents

This article examines the context isolation strategies employed by Gemini CLI and Claude Code in AI agents, detailing why isolation is essential, the multi‑layer memory architecture, tool execution pipelines, concurrency controls, session management, and practical recommendations for building robust, cost‑effective agent systems.

AI agentsClaude CodeGemini CLI
0 likes · 15 min read
How Gemini CLI and Claude Code Achieve Context Isolation for AI Agents