agent-framework-builder-dotnet
하는 일
이 스킬은 에이전트, 워크플로, 도구, 호스팅을 포함해 Microsoft Agent Framework로 .NET(C#) 애플리케이션을 만드는 과정을 안내합니다. C# 앱 안에 AI 어시스턴트를 넣고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓.NET 애플리케이션에 AI 에이전트를 만들고 싶을 때.
- ✓여러 에이전트나 도구를 조율하는 여러 단계의 워크플로가 필요할 때.
- ✓기존 .NET 에이전트 앱을 현재 프레임워크 버전과 비교해 점검하고 싶을 때.
스킬 링크
https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-dotnet/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Microsoft Agent Framework로 내 C# 앱에 검색 도구가 있는 AI 에이전트를 추가하는 것을 도와줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 프로젝트를 살펴보고, 에이전트나 워크플로 등 중에서 가장 단순하게 맞는 패턴을 고릅니다. 필요한 안내 문서만 읽은 뒤, 가장 작은 변경을 하고 집중된 검사를 실행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Agent Framework builder for .NET
Use this skill as the entry point for .NET Agent Framework application work. Choose the smallest framework pattern that preserves the required behavior, load only the relevant references, and validate against current APIs instead of relying on remembered preview-era syntax.
Workflow
- Inspect the existing solution: target frameworks, SDK version, package management (central package management or
per-project), and installed
Microsoft.Agents.AI.*packages and versions. - Choose the simplest matching path from the table below.
- Resolve design questions only when they materially change the implementation.
- Read only the linked reference for the selected path.
- Implement the smallest coherent change and run the narrowest validation that exercises it.
Core abstractions
- A chat client is a
Microsoft.Extensions.AI.IChatClient. It sends messages and options to a model provider and returns chat responses or streaming updates. Agent Framework builds onMicrosoft.Extensions.AItypes such asChatMessage,AIFunction, andChatOptionsinstead of redefining them. - An agent derives from
AIAgentand exposesRunAsync(...)andRunStreamingAsync(...).ChatClientAgentis the standard implementation: it wraps anIChatClientwith instructions, tools, context providers, a chat history provider, and session handling. Provider packages usually create one through anAsAIAgent(...)extension method. - A harness agent is a
HarnessAgentfromMicrosoft.Agents.AI.Harness. It wraps aChatClientAgentwith an opinionated set of context providers and agent decorators; it is still anAIAgent. - A workflow (
Microsoft.Agents.AI.Workflows) coordinates explicit execution paths between executors and agents.AgentWorkflowBuilderprovides standard sequential, concurrent, handoff, group-chat, and Magentic patterns overAIAgentparticipants. A workflow can be exposed as anAIAgentwhen callers need the agent contract.
User interface options
- DevUI (
Microsoft.Agents.AI.DevUI) is a local development, testing, and debugging tool for interacting with agents and workflows. Never run or deploy DevUI as a production application host. - AG-UI is the application-facing protocol integration for connecting an agent or workflow to an AG-UI-compatible
frontend. Use
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore(server) when the product needs streaming UI events, tool interactions, shared state, interrupts, or resume behavior.
Choose the build path
| Path | Choose it when | Details |
|---|---|---|
| Plain agent | One model-driven actor owns the task and tools, sessions, context, and middleware are sufficient. | Plain agents |
| Harness agent | The product needs an operating loop with todos, modes, memory, approvals, skills, optional file access, background agents, shell, compaction, or repeated execution. | Harness agents |
| Workflow or orchestration | Explicit stages, routing, parallelism, multiple participants, checkpointing, human input, or intermediate outputs are central to correctness. | Workflows |
| Declarative definition | YAML should be the source of truth for a supported agent or workflow. | Declarative definitions |
| Evaluation | Expected outputs, tool calls, failed runs, or quality regressions are the main concern. | Evaluation |
| Observability | The task is diagnosing or monitoring runtime behavior with traces, logs, and metrics. | Observability |
| Extensibility | The application needs a custom chat client, agent, context provider, chat history provider, or middleware. | Extensibility |
| Integration | The task is choosing or wiring a provider, protocol, memory store, tool service, UI, or platform extension. | Integrations |
| Hosting and deployment | Working Agent Framework code needs a process host, protocol endpoint, identity contract, or deployment shape. | Hosting and deployment |
Defaults
- Target a currently supported .NET release. The packages multi-target current and recent LTS .NET versions, and some also support .NET Standard 2.0 and .NET Framework 4.7.2. Prefer the latest supported SDK unless th
자주 묻는 질문
어떤 패턴을 쓸지 직접 골라야 하나요?
아니요. 스킬이 필요한 동작을 유지하는 가장 단순한 패턴을 고르도록 돕습니다.
최신 API를 사용하나요?
네. 스킬은 프리뷰 시절의 오래된 예제에 기대지 말고, 최신 API를 확인하라고 알려 줍니다.
호스팅도 다루나요?
네. 호스팅과 함께 도구, 세션, 미들웨어, 평가도 다룹니다.
상세 정보
작성자의 원본 설명
Use this skill when building, modifying, reviewing, evaluating, integrating, or hosting .NET (C#) applications with Microsoft Agent Framework. Use it for Agent Framework agents, harness agents, workflows, orchestrations, declarative definitions, tools, sessions, middleware, evaluation, observability, integrations, or hosting, even when the user has not yet chosen the correct framework pattern.
인기도
- GitHub 스타
- 14k
- 순위
- #11139
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.