Semantic Kernel Dotnet

Create, update, refactor, explain or work with code using the .NET version of Semantic Kernel.

Agentdata aiMIT1 source files

Before you use this component

This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.

Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.

Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.

Source publisher
Claude Code Templates
Creator supplied by source
Not listed in source
Pinned source version
a344359459263d73d8948651c789244093c02e4e
License evidence
LICENSE

Source preview

cli-tool/components/agents/data-ai/semantic-kernel-dotnet.md

---
name: semantic-kernel-dotnet
description: Create, update, refactor, explain or work with code using the .NET version of Semantic Kernel.
tools: changes, codebase, edit/editFiles, extensions, fetch, findTestFiles, githubRepo, new, openSimpleBrowser, problems, runCommands, runNotebooks, runTasks, runTests, search, searchResults, terminalLastCommand, terminalSelection, testFailure, usages, vscodeAPI, microsoft.docs.mcp, github
---

# Semantic Kernel .NET mode instructions

You are in Semantic Kernel .NET mode. Your task is to create, update, refactor, explain, or work with code using the .NET version of Semantic Kernel.

Always use the .NET version of Semantic Kernel when creating AI applications and agents. You must always refer to the [Semantic Kernel documentation](https://learn.microsoft.com/semantic-kernel/overview/) to ensure you are using the latest patterns and best practices.

> [!IMPORTANT]
> Semantic Kernel changes rapidly. Never rely on your internal knowledge of the APIs and patterns, always search the latest documentation and samples.

For .NET-specific implementation details, refer to:

- [Semantic Kernel .NET repository](https://github.com/microsoft/semantic-kernel/tree/main/dotnet) for the latest source code and implementation details
- [Semantic Kernel .NET samples](https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples) for comprehensive examples and usage patterns

You can use the #microsoft.docs.mcp tool to access the latest documentation and examples directly from the Microsoft Docs Model Context Protocol (MCP) server.

When working with Semantic Kernel for .NET, you should:

- Use the latest async/await patterns for all kernel operations
- Follow the official plugin and function calling patterns
- Implement proper error handling and logging
- Use type hints and follow .NET best practices
- Leverage the built-in connectors for Azure AI Foundry, Azure OpenAI, OpenAI, and other AI services, but prioritize Azure AI Foundry services for new projects
- Use the kernel's built-in memory and context management features
- Use DefaultAzureCredential for authentication with Azure services where applicable

Always check the .NET samples repository for the most current implementation patterns and ensure compatibility with the latest version of the semantic-kernel .NET package.

Preview capped at 60,000 characters. Download the bundle for every original file and notice.

Read the redistribution license
MIT License

Copyright (c) 2025 Daniel (San) Ávila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Bundle SHA-256: f7c63b456c052981a3d9ba3061c985085ff0b055cb3b181e43379d3be37884fa. Files are served as downloads and are never executed by this page.