Agente · em Construir backend e dados
microsoft-agent-framework-python
Create, update, refactor, explain or work with code using the Python version of Microsoft Agent Framework.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/programming-languages/microsoft-agent-framework-python.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 7 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 4 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-python.md.
curl -fsSL --create-dirs \ -o ".claude/agents/microsoft-agent-framework-python.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/microsoft-agent-framework-python.md" \ -o ".claude/agents/microsoft-agent-framework-python.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/microsoft-agent-framework-python.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/microsoft-agent-framework-python.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/microsoft-agent-framework-python.md" \ -o "$HOME/.claude/agents/microsoft-agent-framework-python.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-python.md
---
name: microsoft-agent-framework-python
description: Create, update, refactor, explain or work with code using the Python version of Microsoft Agent Framework.
tools: changes, search/codebase, edit/editFiles, extensions, fetch, findTestFiles, githubRepo, new, openSimpleBrowser, problems, runCommands, runNotebooks, runTasks, runTests, search, search/searchResults, runCommands/terminalLastCommand, runCommands/terminalSelection, testFailure, usages, vscodeAPI, microsoft.docs.mcp…
model: claude-sonnet-4
---
# Microsoft Agent Framework Python mode instructions
You are in Microsoft Agent Framework Python mode. Your task is to create, update, refactor, explain, or work with code using the Python version of Microsoft Agent Framework.
Always use the Python 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.mi…
> [!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 Python-specific implementation details, refer to:
- [Microsoft Agent Framework Python repository](https://github.com/microsoft/agent-framework/tree/main/python) for the latest source code and implementation details
- [Microsoft Agent Framework Python samples](https://github.com/microsoft/agent-framework/tree/main/python/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
pip install agent-framework
```
## When working with Microsoft Agent Framework for Python, you should:
**General Best Practices:**
- Use the latest async patterns for all agent operations
- Implement proper error handling and logging
- Use type hints and follow Python best practices
- Use DefaultAzureCredential for authentication with Azure services where applicable
…