VI · Multi-AgentExperimental·

Dynamic Expert Recruitment

also known as Recruiter Agent, Run-Time Team Assembly, Adaptive Role Generation

Generate the agent team — role descriptions and instances — at run time based on the specific task, then adjust team composition between iterations based on evaluation feedback.

Context

A multi-agent platform accepts a wide range of tasks through one entry point — drafting a regulatory filing, refactoring a Python module, planning a marketing campaign — and the right team of specialists varies sharply from one task to the next. The platform cannot know the task type in advance and cannot afford to keep one large fixed crew always running.

Problem

A hard-coded role list is brittle: the team that suits a legal filing is not the team that suits a code refactor, and the writer-reviewer-editor lineup that helped the first request is dead weight for the second. Over-provisioning a large fixed pool wastes tokens and creates noise. Under-provisioning misses the specialist the task actually needed. Without a way to assemble the team at run time, every workflow either drags around unnecessary roles or quietly skips work that should have happened.

Forces

  • Pre-specified roles are stable but mis-fit;
  • Run-time generation costs an extra LLM call before any work begins;
  • Adaptive composition risks instability: the team that solves step 1 may not solve step 5.

Example

A multi-agent platform runs both 'draft a regulatory filing' and 'refactor this Python module' through the same hard-coded team of writer, reviewer, and editor. The reviewer is fine for prose but useless on code. They switch to Dynamic Expert Recruitment: a meta-agent reads the task and instantiates appropriate roles — for the filing, a compliance expert and a legal editor; for the refactor, a senior engineer and a unit-test author. After the first iteration's evaluation, the team composition is adjusted between rounds.

Diagram

Solution

Therefore:

Add a recruiter agent (or a meta-agent committee: planner + agent observer + plan observer). Stage 1 — Drafting: recruiter receives the goal, generates role descriptions matched to that goal, instantiates the team and an execution plan. Stage 2 — Execution: the team works. Stage 3 — Evaluation: a reviewer scores progress; if unsatisfactory, the recruiter adjusts the team (add, remove, replace roles) and the next iteration runs. The recruiter is the only meta-agent that mutates team composition.

What this pattern forbids. No role may be instantiated outside the recruiter; agents may not unilaterally co-opt or invent peers.

The smaller patterns that complete this one —

  • generalisesRole Assignment★★Assign each agent a named role (researcher, writer, critic, planner) with a role-specific prompt, tool palette, and acceptance criteria.
  • usesEvaluator-Optimizer★★One LLM generates; another evaluates and feeds back; loop until criteria are met.

And the patterns that stand alongside it, or against it —

  • complementsSupervisor★★Place a coordinating agent above a set of specialised agents and route work to them.
  • alternative-toMixture of Experts RoutingRoute each request to one or more domain-expert agents, where each expert holds deep capability in a narrow area.
  • complementsOrchestrator-Workers★★An orchestrator dynamically breaks a task into subtasks at runtime and delegates each to a worker LLM, then synthesises results.

Neighbourhood

Click any neighbour to follow the language. Scroll to zoom, drag to pan.