neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Go 지원 AI 에이전트 및 다중 에이전트 워크플로우를 구축·조정·배포하기 위한 프레임워크
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Go.
개발 도구GoGitHub @microsoft직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
설치형 프로젝트는 배포 도메인 없이도 확인할 수 있습니다. 개인 저장소는 GitHub 로그인으로, 조직 저장소는 위의 저장소 확인 파일로 직접 확인해 주세요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Microsoft Agent Framework (MAF) is an open, multi-language framework for building production-grade AI agents and multi-agent workflows. This repository contains the Go implementation of Microsoft Agent Framework, along with Go samples and documentation to help you get started.
Microsoft Agent Framework is built for teams taking agents from prototype to production. It provides a consistent foundation for building, orchestrating, and operating agent systems while keeping architecture choices open as requirements evolve, and supports a broad ecosystem including Microsoft Foundry, Azure OpenAI, OpenAI, Model Context Protocol (MCP), Agent2Agent (A2A), AG-UI, and the GitHub Copilot SDK.
The .NET and Python implementations are available in the upstream Microsoft Agent Framework repository.
Note: Microsoft Agent Framework for Go is in public preview and is currently evolving outside the core upstream codebase. As adoption and feedback grow, we expect closer alignment with the broader MAF ecosystem.
MAF is a strong fit if you:
Explore new MAF capabilities and real implementation patterns on the official blog.
For a detailed .NET-to-Go feature comparison, see the .NET and Go SDK feature comparison. In short, the Go SDK covers core agents, tools, middleware, workflows, observability, and interoperability integrations, while .NET currently has broader product integrations and several features that are not implemented yet in Go.
Go
go get github.com/microsoft/agent-framework-go
Create a simple Microsoft Foundry agent that writes a haiku about the Microsoft Agent Framework.
package main
import (
"cmp"
"context"
"fmt"
"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")
model := cmp.Or(os.Getenv("FOUNDRY_MODEL"), "gpt-4o-mini")
// Authenticate to Microsoft Foundry.
token, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
panic(err)
}
// Create a Microsoft Foundry agent.
a := foundryprovider.NewAgent(endpoint, token, foundryprovider.ModelDeployment(model),
foundryprovider.AgentConfig{
Instructions: "You are a helpful assistant.",
},
)
// Run the agent.
ctx := context.Background()
fmt.Println(a.RunText(ctx, "Write a haiku about the Microsoft Agent Framework").Collect())
}
go run ./examples/02-agents/agents/step24_filememory from the repository root with FOUNDRY_PROJECT_ENDPOINT and FOUNDRY_MODEL set, after authenticating with az login. Files remain in agent-memory/users/UID1 between runs.harness.AgentConfig for preconfigured memory, skills, Todo, modes, approvals, history, and tracing with the normal provider constructors. Includes a Foundry example.| Problem | Cause | Fix |
|---|---|---|
| Authentication errors when using Azure credentials | Not signed in to Azure CLI or another configured credential source | Run az login before starting your app, or configure the specific credential your app uses |
| API key errors | Wrong or missing API key | Verify the key and ensure it is for the correct resource or provider |
| Provider endpoint errors | Missing or incorrect endpoint, deployment, model, or API version | Check the environment variables and constructor options used by the sample or provider |
Tip:
DefaultAzureCredentialis convenient for development but in production, consider using a specific credential, such as managed identity, to avoid latency issues, unintended credential probing, and potential security risks from fallback mechanisms.
For environment variable configuration specific to each sample, refer to the README or source in the sample directory under examples.
[!IMPORTANT] If you use Microsoft Agent Framework to build applications that operate with any third-party servers, agents, code, or non-Azure Direct models ("Third-Party Systems"), you do so at your own risk. Third-Party Systems are Non-Microsoft Products under the Microsoft Product Terms and are governed by their own third-party license terms. You are responsible for any usage and associated costs.
We recommend reviewing all data being shared with and received from Third-Party Systems and being cognizant of third-party practices for handling, sharing, retention, and location of data. It is your responsibility to manage whether your data will flow outside of your organization's Azure compliance and geographic boundaries and any related implications, and that appropriate permissions, boundaries, and approvals are provisioned.
You are responsible for carefully reviewing and testing applications you build using Microsoft Agent Framework in the context of your specific use cases, and making all appropriate decisions and customizations. This includes implementing your own responsible AI mitigations such as metaprompt, content filters, or other safety systems, and ensuring your applications meet appropriate quality, reliability, security, and trustworthiness standards. See also: Transparency FAQ.
This repository does not configure a Microsoft telemetry exporter. The OpenAI/Foundry adapters include SDK identity/version in their User-Agent and append a process-wide feature-usage bitmask only on approved HTTPS Azure/Foundry destinations. The mask records which framework capabilities were exercised, not invocation counts, prompts, arguments, or user data. It is not sent to third-party destinations or added to OpenTelemetry.
Set AGENT_FRAMEWORK_FEATURE_MASK_DISABLED=true or 1 before first use to disable feature tracking and emission while retaining the base SDK User-Agent. Set AGENT_FRAMEWORK_USER_AGENT_DISABLED=true or 1 to suppress the framework's entire User-Agent contribution, including the feature mask. See the feature-usage registry and emission policy.
Some packages and samples include optional OpenTelemetry instrumentation or connect to Microsoft-hosted services. To turn off that instrumentation, do not configure OpenTelemetry exporters or telemetry middleware in your application. Service telemetry, if any, is governed by the services you choose to call.
The Agent Framework for Go is in public preview. Declarative agents, RAG, CodeAct, and functional workflows are not yet available. File issues on GitHub at https://github.com/microsoft/agent-framework-go/issues.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-party policies.