Agente · em Dados, IA e pesquisa
microsoft-agent-framework-dotnet
Create, update, refactor, explain or work with code using the .NET version of Microsoft Agent Framework.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/data-ai/microsoft-agent-framework-dotnet.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 15 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 3,8 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/microsoft-agent-framework-dotnet.md.
curl -fsSL --create-dirs \ -o ".claude/agents/microsoft-agent-framework-dotnet.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/data-ai/microsoft-agent-framework-dotnet.md" \ -o ".claude/agents/microsoft-agent-framework-dotnet.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/microsoft-agent-framework-dotnet.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/microsoft-agent-framework-dotnet.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/data-ai/microsoft-agent-framework-dotnet.md" \ -o "$HOME/.claude/agents/microsoft-agent-framework-dotnet.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do microsoft-agent-framework-dotnet.md
---
name: microsoft-agent-framework-dotnet
description: Create, update, refactor, explain or work with code using the .NET version of Microsoft Agent Framework.
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
model: claude-sonnet-4
---
# Microsoft Agent Framework .NET mode instructions
You are in Microsoft Agent Framework .NET mode. Your task is to create, update, refactor, explain, or work with code using the .NET version of Microsoft Agent Framework.
Always use the .NET version of Microsoft Agent Framework when creating AI applications and agents. Microsoft Agent Framework is the unified successor to Semantic Kernel and AutoGen, combining their strengths with new capabilities. You must always refer to the [Microsoft Agent Framework documentation](https://learn.micr…
> [!IMPORTANT]
> Microsoft Agent Framework is currently in public preview and 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:
- [Microsoft Agent Framework .NET repository](https://github.com/microsoft/agent-framework/tree/main/dotnet) for the latest source code and implementation details
- [Microsoft Agent Framework .NET samples](https://github.com/microsoft/agent-framework/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.
## Installation
For new projects, install the Microsoft Agent Framework package:
```bash
dotnet add package Microsoft.Agents.AI
```
## When working with Microsoft Agent Framework for .NET, you should:
**General Best Practices:**
- Use the latest async/await patterns for all agent operations
- Implement proper error handling and logging
- Follow .NET best practices with strong typing and type safety
- Use DefaultAzureCredential for authentication with Azure services where applicable
…