Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This tutorial walks you through building an AI agent from scratch, adding one concept at a time. Each step builds on the previous one.
Tip
Building with a compatible coding agent? Install the Microsoft-maintained
agent-framework-builder-python skill to help
GitHub Copilot, Claude Code, Cursor, Codex, or another compatible client
choose current Python Agent Framework patterns and APIs.
| 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
Agent Framework for Go is in public preview and requires Go 1.26 or later. The Go tutorials include the agent harness, and Go supports RAG and semantic chat-history memory. Declarative agents, CodeAct, and functional workflows aren't implemented in Go. Report issues in the Go repository.