Edit

Get started with Agent Framework

This tutorial walks you through building an AI agent from scratch, adding one concept at a time. Each step builds on the previous one.

Step What you'll learn
Step 1: Your First Agent Create an agent, invoke it, and stream the response
Step 2: Add Tools Give the agent a function tool it can call
Step 3: Multi-Turn Conversations Maintain conversation state with sessions
Step 4: Memory & Persistence Inject persistent context via context providers
Step 5: Workflows Compose a multi-step workflow
Step 6: Agent Harness Create a harness agent that plans and tracks multi-step tasks
Step 7: Host Your Agent Expose the agent via hosting infrastructure

Important

The Agent Framework for Go is in public preview. Declarative agents, RAG, CodeAct, and functional workflows are not yet available. File issues on GitHub (https://github.com/microsoft/agent-framework-go/issues).

Next steps