Skip to content

Lab 003: Choosing the Right ToolΒΆ

Level: L50 Path: All paths Time: ~15 min πŸ’° Cost: Free β€” No account needed

What You'll LearnΒΆ

  • A practical decision framework for choosing your AI agent tool
  • Understanding the key trade-offs (control vs. simplicity, cost vs. power)
  • Suggested learning routes based on your role and goals

IntroductionΒΆ

After reviewing the landscape in Lab 002, the natural question is: where should I start?

Use the decision flowchart and role-based guides below to find your path.


Decision FlowchartΒΆ

Decision Flowchart

πŸ€” Check Your Understanding

According to the decision flowchart, what tool should you use if your primary goal is to connect an existing database or API to AI agents?

Answer

You should build an MCP Server. MCP (Model Context Protocol) provides a universal connector standard so any MCP-compatible AI agent can access your tool or data source through a common interface.


By RoleΒΆ

🎯 Business Analyst / Power User¢

Goal: Automate workflows, create agents without writing code.

Recommended path: 1. Lab 001 β†’ Lab 011 β†’ Lab 069 β†’ Lab 075

Tools: Copilot Studio, Declarative Agents, Power BI Copilot, M365 Copilot


πŸ‘¨β€πŸ’» Developer (Python / C#)ΒΆ

Goal: Write agents in code, integrate with existing systems.

Recommended path: 1. Lab 013 β†’ Lab 076 β†’ Lab 020 β†’ Lab 082 β†’ Lab 084

Tools: Agent Framework (SK), MCP, Guardrails, GitHub Models


πŸ”Œ Integration / Platform EngineerΒΆ

Goal: Expose existing systems (databases, APIs) to AI agents.

Recommended path: 1. Lab 012 β†’ Lab 020 β†’ Lab 031 β†’ Lab 054 β†’ Lab 064

Tools: MCP, A2A Protocol, pgvector, Azure API Management


πŸ—οΈ Solution ArchitectΒΆ

Goal: Design production multi-agent systems with governance and observability.

Recommended path: 1. Lab 076 β†’ Lab 049 β†’ Lab 050 β†’ Lab 074 β†’ Lab 084

Tools: Agent Framework, Foundry Agent Service, OpenTelemetry, A2A + MCP


πŸ“Š Data Engineer / AnalystΒΆ

Goal: Build AI-powered analytics, data agents, and enrichment pipelines.

Recommended path: 1. Lab 047 β†’ Lab 052 β†’ Lab 053 β†’ Lab 067 β†’ Lab 075

Tools: Fabric IQ, Work IQ, GraphRAG, Power BI Copilot


πŸ”’ Enterprise Admin / IT GovernanceΒΆ

Goal: Govern, secure, and monitor AI agent deployments across the organization.

Recommended path: 1. Lab 063 β†’ Lab 065 β†’ Lab 066 β†’ Lab 064 β†’ Lab 046

Tools: Entra ID, Purview DSPM, Copilot Studio Governance, APIM, Agent 365


πŸŽ“ Student / LearnerΒΆ

Goal: Understand AI agents and build something real, for free.

Recommended path: 1. Lab 001 β†’ Lab 004 β†’ Lab 013 β†’ Lab 078 β†’ Lab 076 β†’ Lab 022

Tools: GitHub Models, Foundry Local, Agent Framework β€” everything free!

πŸ€” Check Your Understanding

A solution architect needs to design a production multi-agent system with observability and governance. Which combination of tools does this lab recommend?

Answer

Foundry, Semantic Kernel, AutoGen, and App Insights. The recommended learning path is: Foundry Agent MCP β†’ Agent Observability β†’ Multi-Agent SK β†’ AutoGen Multi-Agent. This covers managed runtime, agent logic, multi-agent orchestration, and monitoring.

πŸ€” Check Your Understanding

What does "more control = more responsibility" mean in the control vs. simplicity trade-off?

Answer

Pro-code tools like AutoGen and Semantic Kernel give you full flexibility over agent logic, but you must handle more yourself β€” error handling, deployment, security, scaling. No-code tools like Copilot Studio are faster to build but less customizable. The right choice depends on your team's skills and requirements.


The Two Key Trade-offsΒΆ

Control vs Simplicity, Free vs Paid

More control = more flexibility + more responsibility.
More simplicity = faster to build + less customizable.

πŸ€” Check Your Understanding

Can a student with no Azure subscription and no budget still build a working AI agent using the tools in this hub?

Answer

Yes! GitHub Models and Semantic Kernel are completely free. The L50 conceptual labs and L100–L200 labs using GitHub Models require no Azure subscription. Students can build real agents, run MCP servers locally, and learn the full agent development lifecycle at zero cost.

2. Free vs. PaidΒΆ

The SVG above includes the full Free vs. Paid comparison. Start free β†’ add Azure only when you need production features.


🧠 Knowledge Check¢

Q1 (Multiple Choice): A developer wants to build a VS Code extension that responds to @mybot in GitHub Copilot Chat. Which tool/API should they use?
  • A) Copilot Studio
  • B) VS Code Chat Participant API (Lab 025)
  • C) Microsoft Foundry Agent Service
  • D) Azure Bot Service
βœ… Reveal Answer

Correct: B β€” VS Code Chat Participant API

The Chat Participant API registers a @yourextension participant directly inside VS Code's Copilot Chat interface. It runs entirely inside VS Code β€” no Azure subscription, no server required. Copilot Studio is for Teams/M365 non-code agents. Foundry is for server-side hosted agents with full cloud scale.

Q2 (Multiple Choice): Which factor is MOST important when choosing between Copilot Studio and Semantic Kernel?
  • A) The programming language you prefer (Python vs C#)
  • B) Whether you need cloud deployment or local deployment
  • C) Your role and how much code control you need β€” citizen developer vs. professional developer
  • D) The LLM provider (OpenAI vs Anthropic)
βœ… Reveal Answer

Correct: C

The primary decision axis is code control vs. speed. Copilot Studio targets citizen developers and IT pros who need a functional agent fast with no code. Semantic Kernel targets professional developers who need full control over logic, tool schemas, memory patterns, and production behavior. Both support multiple LLMs and cloud deployment.

Q3 (Multiple Choice): The 'least privilege' principle says your agent should have access to exactly what it needs β€” no more. Which of these violates least privilege?
  • A) A product search agent that can call search_products() and get_product_details()
  • B) A customer service agent given read-only database access
  • C) An order-status agent given full admin credentials to the orders database
  • D) A weather agent that can only call the public weather API
βœ… Reveal Answer

Correct: C β€” Full admin credentials violates least privilege

An order-status agent only needs to read order records. Giving it admin credentials means a prompt injection attack or logic error could delete orders, modify prices, or access all customer data. The correct setup is a read-only database user scoped to the specific tables the agent needs. Options A, B, and D all follow least privilege correctly.


SummaryΒΆ

There's no single "right" tool β€” it depends on your role, goals, and constraints.The good news: everything in this hub starts free, and you can always level up. The decision framework above points you to the most efficient path.


Next StepsΒΆ

Pick your path and dive in!