MockCertMockCert
Menu

Microsoft conceptsDesigning and Implementing Multi-Agent AI SolutionsMulti-agent design

AI-500 architect multi-agent solutions: what to know

Study notes for this AI-500 domain: which multi-agent pattern fits a task, what an agent called as a tool can see, and how to scope tools and memory.

By MockCert EditorialPublished Nov 23, 2026

3 min read

A mock question asks which multi-agent pattern fits, and every option sounds reasonable. Multiagent loop architectures break complex problems into specialized, manageable components. Each agent can even use a different model, larger for complex reasoning and smaller for simpler work.

01 What does the architect multi-agent solutions domain cover?

Start with how to split the work, using patterns such as prompt chaining, routing and orchestrator-workers. Then look at how agents connect to other agents, to tools and to memory.

Two design choices behind this domain

  1. Choose the patternMatch chaining, routing, handoff, orchestrator-workers or evaluator-optimizer to the task.
  2. Connect the partsAgents as tools, an allowed_tools list for each MCP tool, and a memory scope set in each request.
Get the split right first, then decide what each agent, tool and memory call receives.

Study the patterns first, then how agents, tools and memory connect.

02 Which pattern fits which problem?

If you can't predict the subtasks in advance, orchestrator-workers gives you dynamic task decomposition. In prompt chaining, each agent loop's output becomes the input for the next.

Routing can send basic questions to a basic agent loop and complex ones to an advanced loop. When a task calls for expertise transfer or human-like escalation, the handoff pattern passes control to another agent loop while keeping context and state.

Unknown subtasks point to orchestrator-workers; a fixed sequence points to prompt chaining.

03 What does an agent called as a tool actually see?

Once you split the work, the agents have to talk. With agents as tools, an outer agent calls an inner agent as if it were a regular function tool. The inner agent doesn't inherit the outer agent's conversation history, so it gets only the tool call arguments.

The outer agent sees only the inner agent's final text response, so you need tracing to see its intermediate steps.

Pass an inner agent everything it needs in the tool call arguments.

04 How do you scope tools and memory?

If you omit allowed_tools on a Foundry MCP tool, or leave it empty, the agent can use every tool the server exposes. Treat descriptions and results from remote MCP servers as untrusted input, since they can carry indirect prompt injection.

Short-term memory tracks the current session, while long-term memory keeps distilled knowledge across sessions. With the low-level Foundry memory APIs, you set the scope explicitly in each request.

List allowed_tools explicitly, or the agent gets every tool on the server.

Summary

  1. Orchestrator-workers fits subtasks you can't predict in advance.
  2. An inner agent gets only its tool call arguments, not the history.
  3. Omitting allowed_tools exposes every tool on the MCP server.
  4. Low-level memory APIs need an explicit scope in each request.

Sources

  1. Single Agent Loop Versus Multiple Agent Loops - Azure Logic Apps | Microsoft Learn (opens in a new tab)
  2. Agents as Tools | Microsoft Learn (opens in a new tab)
  3. Connect agents to MCP server endpoints - Microsoft Foundry | Microsoft Learn (opens in a new tab)
  4. What is Memory? - Microsoft Foundry | Microsoft Learn (opens in a new tab)