MICROSOFT AGENT FRAMEWORK · 0.16.0-rc.1
Demo260 — Multi Agent Roles
Check RoutedTo=KnowledgeAgent then BacklogAgent. The third case reveals the lexical limitation. Two separate sessions, no shared store, no WorkflowBuilder. Responses are free text and establish no creation.
Objectives
- Compare explicit role orchestration with graph execution.
Prepare the program
Live chat through common configuration, granite4:3b by default; no embeddings required. An optional API is selected explicitly with no automatic fallback. Start at the root of the complete distribution. Preserve shared projects and configuration files. Some historical prompts and labels in Demo260–290 remain French in public code; commands and identifiers match this revision.
dotnet build BaseTechnique.slnx -m:1 -c Release| Project | Role |
|---|---|
| demos/Demo260_MultiAgentRoles/Demo260.App.csproj | App |
| shared/Maf.DemoConnection/Maf.DemoConnection.csproj | Shared implementation |
Commands from the root
dotnet run --project demos/Demo260_MultiAgentRoles/Demo260.App.csproj -c Release --no-buildProcedures and variants
Enter “Pourquoi ai-je des erreurs 401 ?”, then “Ajouter un export CSV Reporting”, then an English question without 401/500/logs. End with an empty line.
static RouteTarget Route(string input)
{
var s = input.Trim().ToLowerInvariant();
if (s.StartsWith("où") || s.StartsWith("comment") || s.StartsWith("pourquoi"))
return RouteTarget.Knowledge;
if (s.Contains("401") || s.Contains("500") || s.Contains("logs") || s.Contains("rétention"))
return RouteTarget.Knowledge;
return RouteTarget.Backlog;
}
enum RouteTarget { Backlog, Knowledge }
What must be observable
Check RoutedTo=KnowledgeAgent then BacklogAgent. The third case reveals the lexical limitation. Two separate sessions, no shared store, no WorkflowBuilder. Responses are free text and establish no creation.
These results are expected from the linked code. Checks actually rerun for this lot are distinguished in exercises and reception; no unmeasured live output is presented as observed.
Limits and retained state
Demo230–250 build a fresh graph per input and write no business effect. Demo260 retains its two sessions only in-process. Demo270–290 interpret a plan through simulated printing without a workflow engine. Live calls depend on the profile; scripted tests qualify no model.
