MICROSOFT AGENT FRAMEWORK · 0.16.0-rc.1
Demo040 — First Agent
Observe free-form classification without a tool or business effect.
Objectives
- Send unstructured intake text to a native MAF agent.
Prepare the demo
Start at the root of the complete solution already built in Release. Course prerequisites: Demo030. 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.
| Project | Role |
|---|---|
| demos/Demo040_FirstAgent/Demo040.App.csproj | App |
Launch from the root
dotnet run --project demos/Demo040_FirstAgent/Demo040.App.csproj -c Release --no-buildModes and procedure
Enter “PDF export freezes for ten seconds after the latest update.” Compare with “Add a country filter to the customer list” and “Where is log retention configured?” An empty line exits. Generated text is English and varies by model.
var agent = chat.AsAIAgent(name: "IntakeAgent", instructions:
"Classify a product request as Bug, Feature or Question. Suggest priority and component. Answer in English. No actions are available.");
Results and useful failures
Observe Bug, Feature or Question suggestions, priority, component and possible clarifications. Missing or inconsistent classification remains visible in text: no contract validates it here. Try an ambiguous request and compare wording without assuming memory across turns.
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
No write tool, database or durable session. Generic paragraphs in older READMEs about list or SQLite do not describe this program; list is not an application command here.
