मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)14k · #11139

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-dotnet/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  1. Inspect the existing solution: target frameworks, SDK version, package management (central package management or per-project), and installed Microsoft.Agents.AI.* packages and versions.
  2. Choose the simplest matching path from the table below.
  3. Resolve design questions only when they materially change the implementation.
  4. Read only the linked reference for the selected path.
  5. 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 on Microsoft.Extensions.AI types such as ChatMessage, AIFunction, and ChatOptions instead of redefining them.
  • An agent derives from AIAgent and exposes RunAsync(...) and RunStreamingAsync(...). ChatClientAgent is the standard implementation: it wraps an IChatClient with instructions, tools, context providers, a chat history provider, and session handling. Provider packages usually create one through an AsAIAgent(...) extension method.
  • A harness agent is a HarnessAgent from Microsoft.Agents.AI.Harness. It wraps a ChatClientAgent with an opinionated set of context providers and agent decorators; it is still an AIAgent.
  • A workflow (Microsoft.Agents.AI.Workflows) coordinates explicit execution paths between executors and agents. AgentWorkflowBuilder provides standard sequential, concurrent, handoff, group-chat, and Magentic patterns over AIAgent participants. A workflow can be exposed as an AIAgent when 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.

repo: microsoft/agent-framework

लोकप्रियता

GitHub स्टार
14k
रैंकिंग में स्थान
#11139
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills