Skip to main content
Zee Academy · Lesson 17 · Agentic AI: Subagents, Skills and Rules

Orchestrating Agents: Subagents, Delegation and Parallel Work

How to break a complex project down between specialised subagents: a frontend specialist, a backend specialist, a security auditor and a debugger.

Next lesson

What you will learn

  • Split the responsibilities: one agent plans, another writes the database layer, a third builds the UI.
  • Subagents keep each context window focused, which reduces mistakes.
  • Questions before code: before starting, the agent clears up anything unclear and any edge cases, so it doesn't build the wrong thing.
  • Verification: every task ends with a check in the terminal and in the browser.

A role matrix for a team of agents

An example of splitting work into specialised roles:

  • frontend-specialist: Next.js 15, Tailwind, components and animations.
  • backend-specialist: Supabase, Prisma, SQL queries and Stripe integrations.
  • debugger: systematic analysis of stack traces and logs, without guessing.

Step by step

  1. Run an automated project check

    npx tsc --noEmit

    Checks the whole project for TypeScript errors, usually in seconds.

Tip from practice

Give the agent an example of the output you want (few-shot prompting). When the agent sees the exact structure you expect, it makes far fewer mistakes.