Add Smart Router multi-agent declarative agent sample - #178
Open
keshavk-msft wants to merge 2 commits into
Open
Conversation
Adds da-smart-router-multiagent: an orchestrator declarative agent that detects intent and routes requests to six specialised worker agents, using the worker_agents property (schema v1.8). Each of the seven agents is a self-contained Microsoft 365 Agents Toolkit project.
Replaces the placeholder with two screenshots extracted from the original scenario recording: the orchestrator capability overview and a routing exchange. Both are cropped to exclude tenant data present elsewhere in the recording.
keshavk-msft
marked this pull request as ready for review
August 24, 2026 09:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
da-smart-router-multiagent, a multi-agent orchestration sample for Microsoft 365 Copilot built entirely from declarative agents.An orchestrator agent (Smart Router) detects the intent behind each request and routes it to one of six specialised worker agents, so sellers don't have to pick the right agent themselves. The orchestrator connects to its workers through the
worker_agentsproperty.Each of the seven agents is a self-contained Microsoft 365 Agents Toolkit project, so they provision and update independently. Workers are deployed first, because the orchestrator has to reference their title IDs.
Schema versions
Both manifest versions were taken from Microsoft Learn rather than from other samples in the repo:
v1.8(latest). Noteworker_agentswas introduced in v1.6; the olderx-worker_agentsspelling is obsolete, and the worker object property is lowercaseid(the schema restrictspropertyNamestoid/file). Because the spec states that unrecognised properties invalidate the entire document, the old spelling on a pre-1.6 manifest would fail outright.1.30(latest GA, August 2026).Screenshots
Both images live in
assets/and are committed to this repo, perCONTRIBUTING.md.They were cropped from the original scenario recording, which showed the agents under their development names (
IOrchestrator,Finalchildcoforge3) rather than the names used here. The README notes this directly beneath the images. Happy to swap in a fresh capture if reviewers would prefer names that match the sample.Everything else in that recording was deliberately excluded — the untrimmed frames contained live agent GUIDs, real participant names, and a customer name, none of which belong in a public repo.
Checks run
Against
.github/skills/declarative-agent-sample-review/SKILL.md:da-1.30and all 7 declarative agent manifests onv1.8, verified against the live schemas (root properties, required fields, capability names, conversation-starter counts, worker-object shape, name/description length limits)projectIdin anym365agents.yml---, noen-uslocale segments, screenshots referenced fromassets/assets/sample.json: name ispnp-copilot-pro-dev-da-smart-router-multiagent, url/downloadUrl point at the right folder, author matches the PR author, both thumbnails resolve to committed filesNotes for reviewers
/copilot-pro-dev-samples/samples/<folder>form, matching 91 of the 93 existing samples (includingda-executive-helper). The updatedtemplates/da-declarative-agent/README.mdand the review skill both omit the/samples/segment. Happy to flip it either way.U_xxxx…placeholders), replaced leftover Agents Toolkit scaffold text in Content Quality Checker with real instructions, replaced manifest placeholders (Teams App, Inc.,Full name for …, hardcoded GUID ids), normalised mixed schema versions, and reconciled a docs inconsistency where the orchestrator wired 4 workers but 6 were documented.