Understanding Skills vs. Sub-Agents in AI Systems: Key Insights from Azure Engineer Kishorekumar Pattabiraman
In the ever-evolving landscape of AI development, making informed architectural choices is crucial. In a recent blog post, Azure lead engineer Kishorekumar Pattabiraman sheds light on an essential aspect of AI systems: deciding between skills and sub-agents. This decision can significantly impact the reusability, simplicity, and long-term maintainability of AI solutions.
The Initial Misstep: Focusing on Models Instead of Architecture
Pattabiraman points out a common pitfall for teams embarking on AI projects: they often start by asking, “Which model should we use?” While choosing the right model is undoubtedly important, Pattabiraman argues that the architecture is the real first fork in the road.
“Are you building a skill or a sub-agent? Get that wrong and no model choice will save you,” he advises, highlighting the distinct roles that each plays in AI interactions.
What Is a Skill?
A skill is designed for ongoing conversations. It allows for interaction, where the system can read files, ask questions, and engage with users throughout a task. The flow remains dynamic and iterative, keeping a human in the loop. Skills thrive on conversation and feedback, making them ideal for tasks requiring continuous input from users.
Key Benefits of Skills
- Interactivity: Skills maintain user engagement and can adapt based on real-time feedback.
- Versatility: They can be reused in various conversation flows.
- Human Integration: A human user can influence the outcome, providing greater contextual understanding.
What Is a Sub-Agent?
Conversely, a sub-agent operates independently, executing its task based on a single prompt and producing a final output. It does not require ongoing interaction; instead, it assesses the context provided at the outset and wraps up the task without further input from the user.
Advantages of Sub-Agents
- Simplicity: A sub-agent can quickly deliver outputs without prolonged interaction.
- Clarity: The independent nature of sub-agents ensures that they start with a clean slate, without any prior interactions muddying the context.
- Contextual Separation: They are perfect for tasks that need to tap into different permissions or knowledge bases.
Four Dimensions for Decision-Making
To help teams navigate this complex choice, Pattabiraman introduces four critical dimensions to consider:
- Iteration Model: Is the task ongoing and iterative, or is it a one-off request?
- Voice Fidelity: How important is the tone and style of interaction?
- Human Gate Placement: At which points should human oversight be integrated?
- Task Frequency: Is the task a repeatable process or a unique requirement?
Frequency as a Defining Factor
Among these dimensions, frequency stands out as a clear determining factor. As Pattabiraman states, “A one-off craft piece leans towards a skill, while a repeatable batch job calls for a sub-agent.” Teams should carefully evaluate how often the task will occur to make a well-informed decision.
Community Insights from Reddit and Hacker News
The discourse around skills versus sub-agents has sparked considerable debate in online forums like Reddit and Hacker News. Community members offer diverse perspectives that enrich the discussion:
- Context and Clean Slate: User enthusiast_bob emphasizes that sub-agents always start without contamination from context, unlike skills that integrate entire conversational history.
- Reusability vs. Isolation: Dan-does-ai highlights that skills can be reused across multiple conversational flows while sub-agents are beneficial for tasks requiring distinct context or permissions.
Orchestration Challenges with Sub-Agents
A critical consideration when implementing sub-agents is orchestration complexity. The need for orchestration often introduces non-determinism, which can complicate the execution. As noted by commenter Ashlesha-msft, platforms like Copilot Studio deploy dynamic planners that decide when to invoke skills or sub-agents based on the context. This process means that the same prompt might not always summon a skill, adding another layer of intricacy to task management.
A Mental Model for Understanding
User Vlourenco69 offers a helpful mental model for differentiating between AI concepts. In this framework:
- Agent acts as the director.
- Sub-Agent functions as a manager.
- Skill serves as a specialized worker.
- Tool is understood as a dedicated machine.
- MCP represents governance rules within an organization.
This mental construct can aid teams in visualizing complex interactions among these components.
The Interplay of Skills and Sub-Agents
Pattabiraman concludes by noting that the dichotomy between skills and sub-agents may not be as stark as it seems. Often, they can complement each other effectively. In practice, a skill can be constructed on top of a sub-agent to address specific problems. This layered approach illustrates a more mature design strategy and enhances the overall effectiveness of AI systems.
In summary, Pattabiraman provides valuable guidance for teams aiming to establish robust AI architectures. By understanding the differences, advantages, and strategic considerations between skills and sub-agents, developers can make informed decisions that enhance the performance and maintainability of their AI systems.
Inspired by: Source

