e-naxosMAF COURSE / COURS
Français

MICROSOFT AGENT FRAMEWORK · 0.16.0-rc.1

Demo030 — Agent Capabilities

Qualify five capabilities of the selected profile.

Objectives

Prepare the demo

Start at the root of the complete solution already built in Release. Course prerequisites: Demo020. This program uses live chat from the selected profile; no embeddings are required except for Demo020 --embed. Check connectivity and required capabilities before attributing failure to the scenario.

Projects to run
ProjectRole
demos/Demo030_AgentCapabilities/Demo030.App.csprojApp

Launch from the root

dotnet run --project demos/Demo030_AgentCapabilities/Demo030.App.csproj -c Release --no-build
dotnet run --project demos/Demo030_AgentCapabilities/Demo030.App.csproj -c Release --no-build -- --Report capability-report.json

Modes and procedure

This program sends live text, structure, tool, streaming and cancellation requests. It needs no interactive input. Allow for its ten-minute overall deadline and two-minute probe deadlines; Ctrl+C requests cancellation.

var report = new
{
    checkedAt = DateTimeOffset.UtcNow,
    provider = settings.ChatProvider.ToString(),
    model = profile.Model,
    reasoningEffort = configuration["Pilot:ReasoningEffort"] ?? "provider default",
    protocol = settings.ChatProvider == ConnectionProvider.Ollama ? "Ollama /api/chat" : "OpenAI /v1/chat/completions",
    results
};
var json = JsonSerializer.Serialize(report, new JsonSerializerOptions { WriteIndented = true });
Console.WriteLine(json);

demos/Demo030_AgentCapabilities/Program.cs · L23–L33 · 9a895c94534c

Source code · Demo030 · Folder

Results and useful failures

Read report JSON: checkedAt, provider, model, protocol, reasoningEffort and five results. Exit status is zero only when all five probes pass. The tool must actually produce an unpredictable receipt that reaches the response. Usage may stay null. --Report writes the report to the supplied path; --Pilot:ReasoningEffort none explicitly changes the reasoning setting.

These observations are expected from inspecting the indicated code revision. No new model call was made to write this page; exact generated wording is not a reference output.

Scope and limits

A Failed probe is an observed limitation, not partial success to hide. Protocol support and passing probes qualify neither every model nor a business judge.

Continue and verify

Prerequisites

Continue reading

Complete demo folder · README

lot007-foundations-1 · 2026-10-24 · 9a895c94534cd5fc6f3da883e37e5f7856e588c1