Everything you covered
The 13 framework concepts from the syllabus — each one now has working code in your labs/ folder.
The completed Business Operations Assistant
User request → Coordinator plans → Research → Analysis → Recommendation → Manager approval → Coordinator consolidates → Executive brief.
Run it live in the Multi-Agent Studio (Coordinator mode + human approval) or locally with python capstone_business_ops.py. See the Capstone page for the full architecture.
Seven things to remember
- Agent = client + instructions (+ tools, session, providers, middleware).
- Tools are typed Python functions; descriptions are prompts.
- Sessions give memory; context providers inject & learn.
- Specialise agents; delegate with
as_tool(). - Workflows when the path is known; prebuilt builders for common patterns.
- Humans in the loop via
request_info; checkpoints for durability. - Middleware + OpenTelemetry + tests before production.
Enterprise adoption roadmap
Start small with an internal, low-risk, high-volume use case; instrument everything; then scale.
Explore
Weeks 1–2
Pick 1 internal, high-volume, low-risk use case. Prototype with tools + sessions.
Pilot
Weeks 3–6
Workflow + human approval, OpenTelemetry, eval dataset, 10–50 users.
Harden
Weeks 7–10
Guardrail middleware, Entra ID auth, checkpoints, cost dashboards.
Scale
Quarter 2+
Reusable agent catalogue, A2A interop, Foundry hosting, CoE.
Key takeaways
You can build, connect, orchestrate and observe agents with one framework.
Provider-agnostic: Groq today, Azure OpenAI / Foundry tomorrow — same code.
Production = workflows + human gates + telemetry + tests.
Hands-on activity
Demonstrate the completed multi-agent application
- 1Open the Capstone page and walk through the architecture.
- 2Run the Coordinator flow with human approval in the Multi-Agent Studio.
- 3Download the labs folder and run capstone_business_ops.py locally.
Reference solution — labs/capstone_business_ops.py (verified on agent-framework-core 1.26)
1"""Capstone — Multi-Agent Business Operations Assistant.23Flow (matches the workshop architecture):4 User request -> Coordinator (plan) -> Research -> Analysis -> Recommendation5 -> HUMAN APPROVAL (human-in-the-loop) -> Coordinator (consolidate) -> Final brief67Built with the *functional* workflow API: plain async Python + @step for8caching/checkpointing + ctx.request_info() for human approval.9"""1011import asyncio1213from agent_framework import Agent, RunContext, step, workflow14from common import make_client1516client = make_client()1718coordinator = Agent(19 client=client,20 name="Coordinator",21 instructions=(22 "You are the coordinator of a business operations team. "23 "When PLANNING: restate the goal and list 3 research questions. "24 "When CONSOLIDATING: write an executive brief with Summary, Key Insights, "25 "Recommendations and Next Steps. Max 250 words."26 ),27)28research = Agent(client=client, name="Research", instructions="Answer the research questions with concise, factual bullets.")29analysis = Agent(client=client, name="Analysis", instructions="Identify 3 insights, 2 risks and 2 opportunities from the research.")30recommender = Agent(client=client, name="Recommendation", instructions="Produce 3 prioritised, actionable recommendations with a KPI each.")313233@step34async def plan(request: str) -> str:35 return (await coordinator.run(f"PLANNING. Request: {request}")).text363738@step39async def do_research(plan_text: str) -> str:40 return (await research.run(plan_text)).text414243@step44async def do_analysis(findings: str) -> str:45 return (await analysis.run(findings)).text464748@step49async def do_recommend(insights: str) -> str:50 return (await recommender.run(insights)).text515253@step54async def consolidate(request: str, insights: str, recs: str, reviewer_note: str) -> str:55 prompt = (56 f"CONSOLIDATING. Original request: {request}\n\nInsights:\n{insights}\n\n"57 f"Recommendations:\n{recs}\n\nReviewer note: {reviewer_note}"58 )59 return (await coordinator.run(prompt)).text606162@workflow(name="business_ops_assistant")63async def business_ops(request: str, ctx: RunContext) -> str:64 plan_text = await plan(request)65 findings = await do_research(plan_text)66 insights = await do_analysis(findings)67 recs = await do_recommend(insights)6869 # Human-in-the-loop: pause and ask a manager to approve / annotate70 note = await ctx.request_info(71 {"question": "Approve these recommendations? Add a note or type 'approve'.", "draft": recs},72 response_type=str,73 request_id="manager_approval",74 )75 return await consolidate(request, insights, recs, note)767778async def main() -> None:79 request = input("Business request: ") or "Reduce customer onboarding time by 30% next quarter."80 wf = business_ops.build()8182 result = await wf.run(request)83 pending = result.get_request_info_events()84 if pending:85 event = pending[0]86 print("\n--- DRAFT FOR REVIEW ---\n", event.data["draft"])87 note = input("\nManager note (or 'approve'): ") or "approve"88 result = await wf.run(responses={event.request_id: note}) # resume; cached steps are not re-run8990 print("\n=== FINAL BRIEF ===\n", result.get_outputs()[-1])919293if __name__ == "__main__":94 asyncio.run(main())
Check your understanding
Q1.Which combination best describes a production-ready agent system?
Q2.To move the workshop code from Groq to Azure OpenAI you change…