e-naxosMAF COURSE / COURS
Français

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

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
Required projects
ProjectRole
demos/Demo260_MultiAgentRoles/Demo260.App.csprojApp
shared/Maf.DemoConnection/Maf.DemoConnection.csprojShared implementation

Commands from the root

dotnet run --project demos/Demo260_MultiAgentRoles/Demo260.App.csproj -c Release --no-build

Procedures 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 }

demos/Demo260_MultiAgentRoles/Program.cs · L45–L55 · 9a895c94534c

Source code · Demo260 · Folder

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.

Contracts and prerequisites

Prerequisites

Continue reading

Complete demo folder · README

lot009-workflows-1 · 2026-10-24 · 9a895c94534cd5fc6f3da883e37e5f7856e588c1