pub fn coordinator_system_prompt() -> &'static strExpand description
Return the system prompt that enables a coordinator agent to autonomously design a specialist team and orchestrate their work.
The coordinator workflow:
- Analyse the task and decide which specialists are needed
- Call the
agenttool with amanifestdescribing each specialist (system_prompt+allowed_tools, or adefinitionreferencing a built-in role from.recursive/agents/*.md) - Dispatch via the tool’s
mode:single,parallel, orsequential - Synthesise and return the combined results
This prompt is injected in addition to any project-level context. It only
teaches tools that are actually registered on the coordinator’s tool
registry by register_subagent_if_enabled.