We are excited to announce the public preview of Microsoft Agent Framework for Go, a Go implementation of Microsoft Agent Framework for building, orchestrating, and deploying AI agents and multi-agent workflows.Microsoft Agent Framework is designed for developers who are moving from single prompt calls to production agent systems: agents that use tools, keep context, coordinate with other agents, stream results, and can be observed and governed as part of real applications. With the Go SDK, Go developers can start using those patterns in services, CLIs, workers, and cloud-native applications where Go is already a natural fit.To get started, add the module to your Go project:go get github.com/microsoft/agent-framework-goHere is a small Microsoft Foundry-backed agent:package mainimport ( "context" "fmt" "log" "os" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/agent-framework-go/provider/foundryprovider")func main() { endpoint := os.Getenv("FOUNDRY_PROJECT_ENDPOINT") if endpoint == "" { log.Fatal("FOUNDRY_PROJECT_ENDPOINT is required") } model := os.Getenv("FOUNDRY_MODEL") if model == "" { model = "gpt-4o-mini" } credential, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("create credential: %v", err) } agent := foundryprovider.NewAgent( endpoint, credential, foundryprovider.ModelDeployment(model), foundryprovider.AgentConfig{ Instructions: "You are a helpful assistant.", }, ) msg := "Write a haiku about Microsoft Agent Framework" ctx := context.Background() resp, err := agent.RunText(ctx, msg).Collect() if err != nil { log.Fatalf("run agent: %v", err) } fmt.Println(resp)}To run the example, create a Microsoft Foundry project, set FOUNDRY_PROJECT_ENDPOINT, and authenticate with Azure, for example with az login.The public preview includes: Providers for Microsoft Foundry, Azure OpenAI/OpenAI-compatible models, Anthropic, Gemini, and A2A. Tools, MCP, middleware, context providers, approvals, and automatic tool calling. Multi-agent workflows with routing, checkpoints, streaming, and human review. OpenTelemetry tracing for agent runs.The Go SDK brings Microsoft Agent Framework concepts to Go alongside the existing .NET SDK and Python SDK in the broader Microsoft Agent Framework project.Because this is a public preview, APIs may evolve as we collect feedback. Try the Go SDK, explore the Agent Framework documentation, and file issues or feature requests in the agent-framework-go repository.