Commit b73d404
fix: MAF v1.0 GA upgrade - align docs, auth, packages, and config keys (#512)
* chore: create MAF v1 upgrade branch with squad setup
- Branch for upgrading all 26 MAF samples from preview to v1.0 GA
- Add .lscache and .copilot/skills/ to .gitignore
- Initialize Squad templates and configuration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: add MAF v1 upgrade plan
Comprehensive plan for upgrading all 26 MAF samples from preview to v1.0 GA,
creating 2 new Hosted Agent scenarios, updating docs, and improvement suggestions.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: upgrade Tier 1 MAF samples to v1.0 GA + update Lesson 01
- Upgrade 6 MAF samples from preview to stable v1.0.0 packages
- Fix v1 breaking API changes: CreateAIAgent→AsAIAgent, AgentRunResponse→AgentResponse,
AsAgent→AsAIAgent, GetNewThread→CreateSessionAsync, Serialize/DeserializeThread→Session
- Update Microsoft.Extensions.AI to 10.4.0 (required by v1)
- Remove 'Coming Later' text from Lesson 01, add MAF v1.0 reference
Samples: MAF01, MAF02, MAF-Ollama-01, MAF-FoundryClaude-01,
MAF-FoundryClaude-Persisting-01, MAF-MultiModel
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Upgrade Tier 2 MAF samples (9 projects) to v1.0 stable packages
- Microsoft.Agents.AI.AzureAI -> Microsoft.Agents.AI.Foundry 1.0.0
- Microsoft.Agents.AI, Abstractions, OpenAI -> 1.0.0
- Microsoft.Extensions.AI/OpenAI -> 10.4.0
- OpenAI -> 2.9.1, Azure.Identity -> 1.20.0
API renames applied:
- CreateAIAgent() -> AsAIAgent()
- AgentRunResponse -> AgentResponse
- AgentRunResponseUpdate -> AgentResponseUpdate
- AgentThread -> AgentSession
- GetNewThread() -> await CreateSessionAsync()
- thread.Serialize() -> await agent.SerializeSessionAsync()
- agent.DeserializeThread() -> await agent.DeserializeSessionAsync()
Added NoWarn MEAI001 for experimental ContinuationToken in
BackgroundResponses projects.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: add MAF-HostedAgent-01-TimeZone sample + update CLAUDE README
- New hosted agent sample: TimeZone agent with GetCurrentTime tool
supporting Azure OpenAI and Ollama providers
- Includes Dockerfile, agent.yaml manifest, and comprehensive README
- Added to MAF-Demos.slnx under Hosted Agents folder
- Updated CLAUDE-SAMPLES-README.md to v1.0 GA package versions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Upgrade Tier 4 MAF web chat samples to latest MAF packages
Update 6 Aspire-based web chat apps to latest MAF package versions:
- Microsoft.Agents.AI/Abstractions/OpenAI/Workflows: 1.0.0
- Microsoft.Agents.AI.Hosting: 1.0.0-preview.260402.1
- Microsoft.Agents.AI.Hosting.OpenAI: 1.0.0-alpha.260402.1
- Microsoft.Agents.AI.DevUI: 1.0.0-preview.260402.1
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore: 1.0.0-preview.260402.1
- Microsoft.Agents.AI.AGUI: 1.0.0-preview.260402.1
- Microsoft.Agents.AI.Workflows.Declarative: 1.0.0-rc6
- Microsoft.Extensions.AI/OpenAI: 10.4.0
Apply v1 API renames across all samples:
- CreateAIAgent() -> AsAIAgent()
- AgentThread -> AgentSession
- GetNewThread() -> CreateSessionAsync()
- thread.Serialize() -> agent.SerializeSessionAsync(session)
- agent.DeserializeThread() -> agent.DeserializeSessionAsync()
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Upgrade MAF Tier 3 samples to v1.0 GA stable packages
- Replace preview MAF packages with v1.0 stable releases:
- Microsoft.Agents.AI 1.0.0
- Microsoft.Agents.AI.Foundry 1.0.0 (replaces AzureAI + AzureAI.Persistent)
- Microsoft.Agents.AI.Workflows 1.0.0
- Microsoft.Agents.AI.Abstractions 1.0.0
- Microsoft.Agents.AI.Declarative 1.0.0-rc6
- Migrate from PersistentAgentsClient to AIProjectClient + Responses API:
- Projects 1-3: Replace GetAIAgentAsync() with AsAIAgent(model, instructions)
- Project 4: Rewrite AIFoundryAgentsProvider to use AIProjectClient
- Apply v1.0 API renames:
- CreateAIAgent -> AsAIAgent
- AsAgent() -> AsAIAgent()
- AgentRunResponse -> AgentResponse
- AgentRunUpdateEvent -> AgentResponseUpdateEvent
- InProcessExecution.StreamAsync -> InProcessExecution.Default.RunStreamingAsync
- Microsoft.Bot.ObjectModel -> Microsoft.Agents.ObjectModel
- Remove unused Azure.AI.Agents.Persistent dependency from all projects
- Suppress MAAIW001 for experimental handoff API in Factory sample
- Run dotnet format on all projects
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: add MAF-HostedAgent-02-MultiAgent sample
- New multi-agent Research Assistant: Researcher → Writer → Reviewer workflow
- Uses MAF v1.0 AgentWorkflow for sequential pipeline orchestration
- Supports Azure OpenAI and Ollama providers
- Includes Dockerfile, agent.yaml, and comprehensive README
- Added to MAF-Demos.slnx under Hosted Agents folder
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: update Lesson 04, What's New, and create MAF samples index
- Remove --prerelease flags from Lesson 04 install instructions
- Add Hosted Agents section to Lesson 04 with links to new samples
- Update sample reference table to 28 total samples
- Add MAF v1.0 GA entry to root README What's New section
- Create 10-WhatsNew/readme.md archive with migration guide
- Create samples/MAF/README.md unified index (10 categories, 28 samples)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: update translations for MAF v1.0 GA (8 languages)
Add MAF v1.0 GA What's New entry to all translated READMEs:
de, es, fr, ja, ko, pt, tw, zh
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: align MAF v1.0 docs, package versions, and config keys
Documentation fixes:
- Replace CreateAIAgent() with AsAIAgent() across all Lesson 04 docs (41 occurrences)
- Replace AgentRunResponse with AgentResponse (4 occurrences)
- Fix Microsoft.Agents.AI.Core to Microsoft.Agents.AI in CLAUDE-SAMPLES-README.md
- Fix user secrets key deploymentName to AzureOpenAI:Deployment in README.md
Package version alignment:
- Aspire.Azure.AI.OpenAI: 9.5.2-preview → 13.1.0-preview (3 web apps)
- Azure.AI.OpenAI: 2.8.0-beta.1 → 2.9.0-beta.1 (14 projects)
- Azure.Identity: 1.18.0 → 1.20.0 (6 projects)
- OpenAI SDK: 2.9.1 → 2.10.0 (11 projects)
- PdfPig: 0.1.14-alpha → 0.1.13 stable (MutliAgent)
Model name standardization:
- Standardize gpt-4o-mini → gpt-5-mini in HostedAgent samples and README
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore(squad): log MAF v1.0 fix session
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: standardize MAF auth to AzureCliCredential + AzureOpenAI:Endpoint
Migrate all MAF console samples from ApiKeyCredential + config['endpoint']
to AzureCliCredential + config['AzureOpenAI:Endpoint'] for consistency
with CoreSamples (BasicChat-01MEAI) and Azure passwordless best practices.
Files changed:
- MAF01, MAF02: Switch to AzureCliCredential, add Azure.Identity pkg
- MAF-AIFoundry-01: Remove dead apiKey code, fix endpoint key
- MAF-AIFoundry-02: Switch to AzureCliCredential, fix endpoint key
- BackgroundResponses-01-Simple: Simplify providers to AzureCliCredential only
- MAF-ImageGen-01/02: Switch ChatClientProvider to AzureCliCredential
- MAF-MultiModel: Simplify to DefaultAzureCredential only
All 26 projects build successfully, 11 samples tested end-to-end.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: standardize auth pattern to AzureCliCredential across MAF docs
Update all Azure OpenAI documentation sections to match the new
standardized authentication pattern used by MAF console samples:
- config["AzureOpenAI:Endpoint"] (not config["endpoint"])
- config["AzureOpenAI:Deployment"] (not hardcoded model names)
- AzureCliCredential (not ApiKeyCredential — no API key needed)
- az login required before running samples
Files updated:
- samples/MAF/README.md (6 sections)
- 04-AgentsWithMAF/01-building-first-agent.md (package name + 2 snippets)
- 04-AgentsWithMAF/03-multi-agent-workflows.md (1 snippet)
- 04-AgentsWithMAF/04-model-context-protocol.md (1 snippet + imports)
Claude/Foundry and HostedAgent sections left unchanged (different auth).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: standardize remaining config keys and docs to AzureOpenAI pattern
- Fix MAF-MultiAgents/AppConfigurationService.cs: config[endpoint] -> config[AzureOpenAI:Endpoint], config[apikey] -> config[AzureOpenAI:ApiKey]
- Fix MAF-MultiAgents/Program.cs comment and README.md setup instructions
- Fix MAF-MultiModel/README.md to show AzureOpenAI:Endpoint + DefaultAzureCredential
- Fix MAF-Persisting-01-Simple/README.md and MAF-Persisting-02-Menu/README.md
- Fix MAF-ImageGen-02/ImageGenerator.cs: config[endpoint] -> config[AzureOpenAI:Endpoint]
- Remove unused 'using System.ClientModel' from StreamConsoleHelper.cs
- All remaining 'endpoint'/'apikey' refs are Claude-specific (correct)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: remove .squad/ from PR (forbidden on main)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: address Copilot PR review suggestions
- Add null guards with setup hints for config values (MAF01, MAF02, AIFoundry-01, ImageGen-02)
- Fix AsAgent() -> AsAIAgent() in Lesson 04 workflow docs (7 instances)
- Fix XML doc comment AgentThread -> AgentSession in Persisting-02-Menu
- Localize Spanish translation (April -> abril, production-ready -> listos para producción)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 97cf36b commit b73d404
140 files changed
Lines changed: 2272 additions & 1732 deletions
File tree
- .github
- agents
- workflows
- .squad
- agents
- dozer
- morpheus
- neo
- niobe
- oracle
- scribe
- tank
- trinity
- casting
- decisions
- identity
- skills
- project-conventions
- squad-conventions
- 01-IntroductionToGenerativeAI
- 04-AgentsWithMAF
- 10-WhatsNew
- samples/MAF
- MAF-AIFoundry-01
- MAF-AIFoundry-02
- MAF-AIFoundryAgents-01
- MAF-AIWebChatApp-AG-UI
- MAF-AIWebChatApp-AG-UI-Agents
- MAF-AIWebChatApp-AG-UI.Web
- MAF-AIWebChatApp-FoundryClaude
- MAF-AIWebChatApp-Middleware/ChatApp20/ChatApp20.Web
- MAF-AIWebChatApp-MutliAgent/ChatApp20/ChatApp20.Web
- MAF-AIWebChatApp-Persisting/MAF-AIWebChatApp-Persisting.Web
- Components/Pages/Chat
- Services
- MAF-AIWebChatApp-Simple/ChatApp20/ChatApp20.Web
- MAF-BackgroundResponses-01-Simple
- MAF-BackgroundResponses-02-Tools
- MAF-BackgroundResponses-03-Complex
- MAF-FoundryClaude-01
- MAF-FoundryClaude-Persisting-01
- MAF-HostedAgent-01-TimeZone
- Properties
- MAF-HostedAgent-02-MultiAgent
- Agents
- Properties
- MAF-ImageGen-01
- MAF-ImageGen-02
- MAF-MicrosoftFoundryAgents-01
- MAF-MicrosoftFoundryAgents-02
- MAF-MultiAgents-Factory-01
- MAF-MultiAgents
- MAF-MultiModel
- MAF-Ollama-01
- MAF-Persisting-01-Simple
- MAF-Persisting-02-Menu
- MAF01
- MAF02
- translations
- de
- es
- fr
- ja
- ko
- pt
- tw
- zh
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
5 | | - | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
29 | 55 | | |
30 | 56 | | |
31 | 57 | | |
32 | 58 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
41 | 62 | | |
42 | 63 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
49 | 68 | | |
50 | 69 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 70 | + | |
| 71 | + | |
97 | 72 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 73 | | |
223 | 74 | | |
224 | 75 | | |
225 | | - | |
226 | | - | |
| 76 | + | |
| 77 | + | |
227 | 78 | | |
228 | | - | |
229 | | - | |
| 79 | + | |
230 | 80 | | |
231 | 81 | | |
232 | 82 | | |
233 | | - | |
| 83 | + | |
234 | 84 | | |
235 | | - | |
| 85 | + | |
236 | 86 | | |
237 | | - | |
238 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
239 | 90 | | |
240 | | - | |
| 91 | + | |
| 92 | + | |
241 | 93 | | |
242 | 94 | | |
243 | | - | |
244 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
245 | 99 | | |
246 | 100 | | |
| 101 | + | |
| 102 | + | |
247 | 103 | | |
248 | 104 | | |
249 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
| 103 | + | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments