agent-framework-builder-dotnet
यह क्या करती है
यह स्किल Microsoft Agent Framework के साथ .NET (C#) ऐप बनाने का मार्गदर्शन करती है, जिसमें एजेंट, वर्कफ़्लो, टूल और होस्टिंग शामिल हैं। यह उन डेवलपर्स के लिए है जो C# ऐप के अंदर AI सहायक चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप .NET ऐप में AI एजेंट बनाना चाहते हैं।
- ✓जब आपको कई स्टेप वाला वर्कफ़्लो चाहिए जो कई एजेंट या टूल को समन्वित करे।
- ✓जब आप मौजूदा .NET एजेंट ऐप को नवीनतम फ़्रेमवर्क संस्करणों से मिलाना चाहते हैं।
Skill का लिंक
https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-dotnet/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे C# ऐप में Microsoft Agent Framework का इस्तेमाल करके एक सर्च टूल वाला AI एजेंट जोड़ने में मदद कर सकते हैं?”
हर हफ़्ते 5 नई skills, 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 इस्तेमाल करेगा?
हाँ। स्किल एजेंट को बताती है कि पुराने preview-दौर के उदाहरणों पर भरोसा करने के बजाय मौजूदा API जाँचे।
क्या इसमें होस्टिंग शामिल है?
हाँ। इसमें होस्टिंग के साथ टूल, सेशन, middleware और मूल्यांकन भी शामिल हैं।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।