Agent Framework .NET 项目结构说明
project-structure
介绍 agent-framework .NET 解决方案的项目结构。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.5w
- Forks
- 2.6k
01 前言 Front Matter
- name
- project-structure
- description
- Explains the project structure of the agent-framework .NET solution
02 资源文件 2
- 参考文档checklist.md894 B
- 参考文档workflow.md3.3 KB
03 SKILL.md 正文
Agent Framework .NET Project Structure
dotnet/
├── src/
│ ├── Microsoft.Agents.AI/ # Core AI agent implementations
│ ├── Microsoft.Agents.AI.Abstractions/ # Core AI agent abstractions
│ ├── Microsoft.Agents.AI.A2A/ # Agent-to-Agent (A2A) provider
│ ├── Microsoft.Agents.AI.OpenAI/ # OpenAI provider
│ ├── Microsoft.Agents.AI.Foundry/ # Microsoft Foundry Agents (v2) provider
│ ├── Microsoft.Agents.AI.AzureAI.Persistent/ # Legacy Microsoft Foundry Agents (v1) provider
│ ├── Microsoft.Agents.AI.Anthropic/ # Anthropic provider
│ ├── Microsoft.Agents.AI.Workflows/ # Workflow orchestration
│ └── ... # Other packages
├── samples/ # Sample applications
└── tests/ # Unit and integration tests
Main Folders
| Folder | Contents |
|---|---|
src/ |
Source code projects |
tests/ |
Test projects — named <Source-Code-Project>.UnitTests or <Source-Code-Project>.IntegrationTests |
samples/ |
Sample projects |
src/Shared, src/LegacySupport |
Shared code files included by multiple source code projects (see README.md files in these folders or their subdirectories for instructions on how to include them in a project) |
04 同仓库更多 Skills
draft-release-notes
Create or rewrite Agent Framework release notes from a generated GitHub release log. Use when preparing Python or .NET release notes, filtering mixed-language changelogs, deduplicating changes, preserving inline contributor credits, or documenting breaking-change migrations from pull requests. Requires the user to provide the generated GitHub log, language, and release version before work begins.
Python Agent Framework 应用构建
agent-framework-builder-python
当使用 Microsoft Agent Framework 构建、修改、审查、评估、集成或托管 Python 应用程序时使用此技能。适用于 Agent Framework 智能体、harness 智能体、工作流、编排、声明式定义、工具、会话、中间件、评估、可观测性、集成或托管,即使用户尚未选定正确的框架模式。
.NET Agent Framework 应用构建
agent-framework-builder-dotnet
当使用 Microsoft Agent Framework 构建、修改、审查、评估、集成或托管 .NET (C#) 应用程序时使用此技能。适用于 Agent Framework 智能体、harness 智能体、工作流、编排、声明式定义、工具、会话、中间件、评估、可观测性、集成或托管,即使用户尚未选定正确的框架模式。
Foundry 托管智能体示例验证
foundry-hosted-agent-validation
端到端验证 Python Foundry 托管智能体示例的分步流程(位于 python/samples/04-hosting/foundry-hosted-agents/)——包括本地运行(原生运行时和 `azd ai agent run`)以及使用 `azd` 部署到 Azure AI Foundry 项目后的验证。当被要求验证托管智能体示例时使用。
Foundry 项目配置修复
foundry-config-setup
解决因示例中硬编码 Foundry 项目端点或模型而导致的配置缺失问题。当示例因使用占位符/硬编码的 project_endpoint(例如 "https://your-project.services.ai.azure.com")或硬编码模型,而非从环境中读取这些值时运行失败,请使用此技能。
客户支持沟通风格规范
support-style
Contoso Outdoors 客户支持的语气与格式指南。