aka 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.
The task arrives without a known type; a fixed pool of pre-assigned roles either over-provisions (expensive, noisy) or under-covers (missing the right specialist).
Hard-coded role lists are brittle: the right team for "draft a regulatory filing" is not the right team for "refactor a Python module"; both tasks share an entry point.
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.
goal -> Recruiter -> [role descriptions] -> instantiated agents -> joint execution -> Evaluator -> feedback -> Recruiter (adjust team) -> ...
complements → supervisorgeneralises → role-assignment — Role assignment is the design-time special case.alternative-to → mixture-of-experts-routing — MoE routes to a fixed expert pool; this constructs the experts.complements → orchestrator-workersuses → evaluator-optimizer — Evaluation step drives team adjustment.