# Orchestration

To perform a complex task you would need to use multiple agents. Tasks are divided into subtasks and handled to agents. They are performed in a parallel or workflow manner - Orchestrator is responsible for the planning of those workflows (assigning subtasks to agents). Subtasks need refinement and more communication with the agent responsible for it. Agents also might need more credentials that the orchestrator should provide.&#x20;

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ensemble.codes/ensemble-stack/orchestration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
