← Back to Tutorials

1. Foundations & First Steps

What is the Microsoft Agent Framework?

The Microsoft Agent Framework (MAF) is a set of SDKs, runtimes, and cloud services for building, deploying, and managing intelligent AI agents. Agents are autonomous or semi-autonomous programs that use large language models (LLMs) to reason, execute tools, maintain memory, and interact with users and systems.

Core Architecture

Every MAF application has four layers:

MAF architecture showing agent, runtime, memory, tools, LLM, and guardrails

Key Concepts

ConceptDescription
AgentAn AI-powered entity that can reason, act, and respond
MemoryPersistent storage of conversation history and user context
ToolFunctions that agents can invoke (APIs, DB queries, calculators)
OrchestratorCoordinates multiple agents and handoffs between them
GuardrailsSafety and compliance policies applied to agent inputs/outputs

Why MAF?

💡 Key Insight: Agents differ from traditional chatbots by maintaining state, executing actions, and autonomously deciding which tools to call.
✏️ Exercise: Write down three real-world problems you could solve with an AI agent. For each, list: (1) what data it would need, (2) what tools it would call, and (3) what memory it should preserve.