What This Example Shows
- A
HierarchicalSwarmmodeling a small consulting team: Engagement Director plus four senior workers - Four specialist workers — Industry Analyst, Customer Researcher, Competitor Analyst, Financial Modeler — each owning one function of the engagement
- A director prompt that forces the final output into a slide-by-slide deck outline with chart callouts and a Pyramid-Principle recommendation
- How to run the same engagement across a portfolio of clients in one call via
/v1/swarm/batch/completions
Premium tier features used.
HierarchicalSwarm is available on every plan, but production workloads benefit from the Pro, Ultra, and Premium tiers (/v1/swarm/batch/completions, longer runs, higher concurrency). Upgrade or manage your plan at https://swarms.world/platform/account.Why This Matters
A first-cut market entry analysis at a top consultancy is six weeks of two associates, an EM, and partial partner time — call it $200k–$500k of fees before the client sees a single slide. The actual analytic work in that first cut is bounded: size the market, map the competitors, profile the customer, sketch the unit economics, write a recommendation. This swarm does the full first cut in minutes so the partner can spend Friday afternoon arguing about the recommendation, not formatting slides.Step 1: Setup
Step 2: Define the Engagement Team
Four workers each own one chapter of the deck. The Engagement Director sees every worker’s output and is told, very explicitly, to produce a slide-by-slide outline — not a memo.For
HierarchicalSwarm you only define the workers and the coordinator — the framework handles the routing, output collection, and synthesis pass. The director sees every worker’s output before producing the final deck.Step 3: Run the Engagement
The client brief is the only input. Replace it with whatever your client actually asked for.Step 4: Scale to a Portfolio of Clients
Boutiques and corporate strategy teams routinely run the same study shape against a portfolio: every regional bank in a watchlist, every PE portfolio company evaluating an adjacent market, every market a multinational is screening for entry. Use/v1/swarm/batch/completions to run the same engagement template against each brief in one call.
The batch endpoint is Pro/Ultra/Premium-only. See Batch Swarm Completions for the full reference.
Cost vs. a Real Engagement
Real numbers. A first-cut market-entry analysis at a top-tier consultancy typically runs $200k–$500k: two associates and an engagement manager for four to six weeks, plus partial partner time at roughly $800/hour. A four-analyst week alone is on the order of $250k in billables. The swarm above runs the same first-cut analysis end-to-end for under $5 per deck, finishes in minutes instead of weeks, and produces a slide-by-slide outline a partner can edit directly. The partner is still the partner — the swarm just removes the four weeks of associate-level synthesis that used to sit between the question and the recommendation.
Next Steps
- Supply Chain Hierarchical Swarm — same
HierarchicalSwarmpattern applied to operations work - Hierarchical Workflow Example — the underlying pattern, with a software-team example
- Batch Swarm Completions — fan the engagement template across a portfolio of clients