Microsoft Agent Framework、.NET 向け「Agent Skills」が正式版リリース
本文の状態
日本語全文を表示中
詳細モードで約8分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Microsoft Agent Framework
Microsoft は .NET エージェント向けの「Agent Skills」機能を正式リリースし、ドメイン知識を再利用可能なパッケージとして提供し、エンタープライズ環境での安全な実装を可能にした。
AI深層分析を開く2026年8月4日 17:29
AI深層分析
キーポイント
安定版 API の公開と実験段階の終了
Microsoft Agent Framework における「Agent Skills」が実験的プレビューから脱却し、[Experimental] アトリビュートが削除された安定版として正式に提供される。
オンデマンド型のドメイン知識パッケージ化
指示書、参照資料、スクリプトをパッケージ化したスキルをエージェントが必要に応じてのみ読み込む形式により、コンテキストウィンドウの肥大化を防ぎつつ専門性を付与する。
エンタープライズガバナンスとポリシー適用
人事やセキュリティなどの企業ポリシーをスキルとしてパッケージ化し、エージェントが要件に応じて自動的に読み込むことで、一貫性のある監査可能なワークフローを実現する。
複数チームによる独立したスキル開発
異なるチームがファイルディレクトリや内部 NuGet フィード上でスキルを独立して作成・維持し、エージェント側で自動的に組み合わせることで調整コストを削減する。
3 つのスキル形式と生産向け機能
ファイルベース、クラスベース、コード定義の 3 種類のスキル形式が提供され、承認プロセスやスクリプト実行制御など本番環境での運用に必要な機能が実装されている。
重要な引用
Agent Skills for .NET in Microsoft Agent Framework has moved out of experimental preview – the [Experimental] attribute is removed and the API is stable.
The agent loads only what it needs, when it needs it, keeping the context window lean through a four-stage progressive disclosure pattern
Different teams can author and maintain skills independently... and you combine them into one agent without cross-team coordination.
Giving an agent new capabilities is only useful if you can govern how it uses them.
編集コメントを表示
編集コメント
このリリースは、AI エージェントの導入における最大の課題の一つである「コンテキスト管理」と「ガバナンス」を技術的に解決する重要な一歩となる。特に大規模組織において、複数のチームが協力してエージェントを構築する際の生産性向上に寄与すると考えられる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
これより、.NET エージェントに対して、ドメイン固有の専門知識を再利用可能なパッケージとして提供できるようになりました。このパッケージには、タスク実行時にのみ読み込まれる指示書、参照資料、スクリプトなどが含まれます。Microsoft Agent Framework における「Agent Skills for .NET」は実験段階から脱却し、安定版 API として公開されました。
これに伴い、[Experimental] アトリビュートは削除され、API は正式に安定化しています。チームはスキルを構築して個別に配布でき、必要なガバナンス機能を備えた状態で、あらゆるエージェントに組み込んで本番環境へ導入することが可能になりました。
これまでのファイルベースのスキルやスクリプト実行を伴う作成モードに関する投稿で説明した内容は、すべてが安定版として提供されています。
Agent Skills とは何か?
Agent Skills は、エージェントが必要に応じて発見・利用するためのドメイン固有の専門知識をパッケージ化するためのオープンフォーマットです。各スキルにはメタデータと指示が含まれており、ファイルベースの場合は SKILL.md ファイルが、コードベースの場合は同等のプロパティとして定義されます。これにスクリプト、参照資料、その他のリソースをオプションで追加できます。
エージェントは必要な時だけ必要なものを読み込みます。これにより、「4 段階の段階的開示パターン」を通じてコンテキストウィンドウを最適化しています。具体的には以下の流れです:スキルの名前を提示 → 指示書を読み込む → リソースを確認 → スクリプトを実行。
その結果、コアとなる指示やコンテキストウィンドウを肥大させることなく、エージェントに専門的な機能を付与できます。また、一度作成した専門知識は、それを必要とするすべてのエージェントで再利用可能です。
形式の完全な紹介については、「Agent Skills でエージェントにドメイン専門知識を与える」をご覧ください。
これを使って何ができるか
企業ポリシーの一貫した適用
会社の人事規定、経費ルール、IT セキュリティガイドラインなどをスキルとしてパッケージ化できます。従業員向けのエージェントは、「コワーキングスペースの経費処理が可能か」という質問に対し、関連するポリシースキルを読み込んで回答します。すべてのポリシーを常にコンテキストに含める必要はありません。このスキルが反復可能で監査可能なワークフローを実現するため、全従業員が同じ根拠に基づいた回答を受け取ることができます。
サポートプレイブックの反復可能なワークフロー化
サポートチームのトラブルシューティングガイドをスキルに変換できます。顧客から問題報告があった際、エージェントは該当するプレイブックを読み込み、文書化された手順に従います。これにより、どのエージェントインスタンスがリクエストを担当しても、解決方法は一定になります。
複数チームによるスキルの組み合わせ
異なるチームがファイルディレクトリとして共有リポジトリに配置するか、社内 NuGet フィード上のパッケージとしてスキルを独立して作成・維持できます。その後、チーム間の調整を行うことなく、これらを 1 つのエージェントに統合可能です。エージェントは各スキルの説明に基づいて使用するスキルを自動判断するため、ルーティングロジックを手動で記述する必要はありません。
既存のスキルを探すのに最適な場所は、スキルのための「Awesome Copilot」リポジトリです。
スキルを作成する 3 つの方法
今回のリリースでは、3 つの作成スタイルをサポートしています。各チームは自らの作業フローに最適なスタイルを選べます。これら 3 つはいずれも同じプロバイダーに接続され、実行時にはエージェントがそれらを同一視して扱います。
ファイルベースのスキル:SKILL.md ファイルとオプションのスクリプト、参照ドキュメントを含むディレクトリ形式です。共有リポジトリに存在し、開発者以外や横断的なチームによって管理されるスキルに適しています。
クラスベースのスキル:C# クラスとしてパッケージ化された指示、リソース、スクリプトを、内部 NuGet パッケージを含む通常の.NET ワークフローを通じて配布できます。
コード定義型スキル:アプリケーションコード内で直接作成するスキルです。動的に生成する必要がある場合や、アプリケーションの状態をクローズする必要がある場合に役立ちます。
本番環境向けに設計
エージェントに新しい機能を付与しても、その使用方法を統制できなければ意味がありません。今回のリリースでは、本番環境でスキルを実行するために必要な制御機能を提供します。
人間による承認(Human-in-the-loop):スキルプロバイダーは、エージェントがスキルとやり取りするために呼び出す 3 つのツールを公開しています。具体的には load_skill(スキルの指示を読み込む)、read_skill_resource(バンドルされたリソースを取得する)、run_skill_script(バンドルされたスクリプトを実行する)です。これら 3 つはいずれもデフォルトで承認が必要であり、監視なしに読み込みや実行が行われることはありません。ただし、信頼できる操作については selectively に制限を緩和することも可能です。
制御されたスクリプト実行:クラスベースおよびコード定義型のスキルスクリプトはプロセス内で直接実行されます。一方、ファイルベースのスクリプトは、あなたが提供するランナーに委譲されるため、サンドボックス化、リソース制限、監査ログの管理はすべてあなたの責任となります。
フィルタリング機能により、共有スキルライブラリから必要なサブセットのみを指定されたエージェントに公開できます。これは、要求元のエージェントやテナントに基づいて文脈に応じた判断を行う述語(predicate)によって制御されます。
キャッシング機能では、スキルは一度解決されれば再利用されます。オプションでキーごとの分離も可能であり、1 つのプロバイダーが異なるエージェントやテナントに対して異なるスキルセットを提供することもできます。
拡張可能なソースパイプラインでは、基盤となるソースクラスを公開化しました。ビルダーが要件に合わない場合でも、カスタムパイプラインを組み合わせて構築したり、独自のレジストリからスキルを統合したりすることが可能になりました。
エージェントの動作に影響を与える依存関係と同様に、デプロイ前にスキルコンテンツを確認し、ファイルベースのスクリプトはサンドボックス内で実行し、使用されたスキル、リソース、スクリプトのログを取得してください。
はじめに
必要な .NET パッケージをインストールした後、スキルプロバイダーをエージェントに接続します。
Azure.AI.OpenAI、Azure.Identity、Microsoft.Agents.AI などの名前空間を読み込みます。
var skillsProvider = new AgentSkillsProvider(
Path.Combine(AppContext.BaseDirectory, "skills"),
SubprocessScriptRunner.RunAsync);
AIAgent agent = new AzureOpenAIClient(new Uri(endpoint), new DefaultAzureCredential())
.GetResponsesClient()
.AsAIAgent(new ChatClientAgentOptions
{
Name = "MyAgent",
ChatOptions = new() { Instructions = "You are a helpful assistant." },
AIContextProviders = [skillsProvider],
},
model: deploymentName);
AgentResponse response = await agent.RunAsync("Help me with onboarding.");
Console.WriteLine(response.Text);
なぜこれが重要なのか
Agent Skills を使えば、ドメイン固有の専門知識をパッケージ化し、配布し、管理するための標準的な方法が得られます。チームはスキルを個別に作成し、ビルダーがそれらを単一のプロバイダーとして統合します。また、重要な事項については承認プロセスを通じて人間が関与する仕組みも用意されています。.NET API が安定版としてリリースされた今、実験的な API のような不安定な状態を気にせず、本番環境でこの API を活用して開発を進めることができます。
image Microsoft Learn 上の Agent Skills ドキュメント
image GitHub 上の .NET サンプル
image GitHub Discussions – フィードバックの共有やコミュニティとのつながり
image エージェント・スキル仕様
「.NET 向けエージェント・スキル」が正式にリリースされました。
原文を表示
You can now give your .NET agents reusable packages of domain expertise – instructions, reference documents, and scripts they load only when a task needs them – through a stable, production-ready API. Agent Skills for .NET in Microsoft Agent Framework has moved out of experimental preview – the [Experimental] attribute is removed and the API is stable. Teams can build skills, ship them independently, and combine them in any agent, with the governance controls enterprises need before putting agents into production.
If you’ve been following our earlier posts on file-based skills and authoring modes with script execution, everything described there is now stable and shipping.
What are Agent Skills?
Agent Skills is an open format for packaging domain expertise that agents discover and use on demand. Each skill has metadata and instructions – a SKILL.md file for file-based skills, or equivalent properties in code – optionally accompanied by scripts, reference documents, and other resources. The agent loads only what it needs, when it needs it, keeping the context window lean through a four-stage progressive disclosure pattern: advertise skill names → load instructions → read resources → run scripts.
The result is agents that gain specialized capabilities without bloating their core instructions or their context window – and expertise you author once and reuse across every agent that needs it.
For a full introduction to the format, see Give Your Agents Domain Expertise with Agent Skills.
What you can do with it
Enforce enterprise policy consistently
Package your company’s HR policies, expense rules, or IT security guidelines as skills. An employee-facing agent loads the relevant policy skill when someone asks “Can I expense a co-working space?” and answers from the policy itself – without every policy sitting in context at all times. Because the skill drives a repeatable, auditable workflow, every employee gets the same grounded answer.
Turn support playbooks into repeatable workflows
Turn your support team’s troubleshooting guides into skills. When a customer reports an issue, the agent loads the matching playbook and follows the documented steps – so resolution is consistent regardless of which agent instance handles the request.
Compose skills from multiple teams
Different teams can author and maintain skills independently – as file directories in a shared repo, or as packages on your internal NuGet feed – and you combine them into one agent without cross-team coordination. The agent decides which skill to use based on each skill’s description; you write no routing logic.
A great place to find some existing skills is in the Awesome Copilot repo for skills.
Three ways to author skills
The release supports three authoring styles, so each team can pick what fits how they work. All three plug into the same provider, and the agent treats them identically at runtime:
File-based skills – A directory with a SKILL.md, optional scripts, and reference documents. Good for skills that live in a shared repo and are maintained by non-developers or cross-functional teams.
Class-based skills – C# classes that package instructions, resources, and scripts for distribution through normal .NET workflows, including internal NuGet packages.
Code-defined skills – Skills created directly in application code. Useful when a skill needs to be generated dynamically or close over application state.
Built for production
Giving an agent new capabilities is only useful if you can govern how it uses them. This release includes the controls you need to run skills in production.
Human-in-the-loop approval. The skills provider exposes three tools the agent calls to work with skills – load_skill (load a skill’s instructions), read_skill_resource (fetch a bundled resource), and run_skill_script (execute a bundled script). All three require approval by default, so nothing loads or executes without oversight – and you can relax it selectively for trusted operations.
Controlled script execution. Class-based and code-defined skill scripts run in-process. File-based scripts are delegated to a runner you provide, so you own sandboxing, resource limits, and audit logging.
Filtering. Expose only a curated subset of a shared skill library to a given agent, with a predicate that can make context-aware decisions based on the requesting agent or tenant.
Caching. Skills are resolved once and reused, with optional per-key isolation so one provider can serve different skill sets to different agents or tenants.
Extensible source pipeline. The underlying source classes are now public, so when the builder doesn’t fit your needs you can compose custom pipelines or integrate skills from your own registries.
As with any dependency that can influence agent behavior, review skill content before deployment, sandbox file-based scripts, and log which skills, resources, and scripts are used.
Getting started
Install the required .NET packages, then wire a skills provider into an agent:
using Azure.AI.OpenAI;
using Azure.Identity;
using Microsoft.Agents.AI;
var skillsProvider = new AgentSkillsProvider(
Path.Combine(AppContext.BaseDirectory, "skills"),
SubprocessScriptRunner.RunAsync);
AIAgent agent = new AzureOpenAIClient(new Uri(endpoint), new DefaultAzureCredential())
.GetResponsesClient()
.AsAIAgent(new ChatClientAgentOptions
{
Name = "MyAgent",
ChatOptions = new() { Instructions = "You are a helpful assistant." },
AIContextProviders = [skillsProvider],
},
model: deploymentName);
AgentResponse response = await agent.RunAsync("Help me with onboarding.");
Console.WriteLine(response.Text);
Why this matters
Agent Skills gives you a standard way to package, distribute, and govern domain expertise for your agents. Teams author skills independently, the builder composes them into a single provider, and approval keeps a human in the loop for anything that matters. Now that the .NET API is stable and released, you can build on it in production without the churn of an experimental API.
image Agent Skills documentation on Microsoft Learn
image .NET samples on GitHub
image GitHub Discussions – share feedback and connect with the community
image Agent Skills Specification
The post Agent Skills for .NET Is Now Released appeared first on Microsoft Agent Framework.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み