Files
SergeyMenshykh e5f7b9c260 .NET: Support reflection for discovery of resources and scripts in class-based skills (#5183)
* support reflection for discovery of resources and scripts in class-based skills

* fix format issues

* refactor samples to use reflection

* Validate resource member signatures during discovery

Add discovery-time validation in AgentClassSkill.DiscoverResources() to
fail fast when [AgentSkillResource] is applied to members with incompatible
signatures:

- Reject indexer properties (getter has parameters)
- Reject methods with parameters other than IServiceProvider or
  CancellationToken

Throws InvalidOperationException with actionable error messages instead of
allowing silent runtime failures when ReadAsync invokes the AIFunction with
no named arguments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* prevent duplicates

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
e5f7b9c260 ยท 2026-04-10 11:56:28 +01:00
History
..

Getting started

The getting started samples demonstrate the fundamental concepts and functionality of the agent framework.

Samples

Sample Description
Agents Step-by-step instructions for getting started with agents
Agents with Foundry Foundry agent samples using FoundryAgent and AIProjectClient.AsAIAgent(...)
Agent Providers Getting started with creating agents using various providers
Agents With Retrieval Augmented Generation (RAG) Adding Retrieval Augmented Generation (RAG) capabilities to your agents
Agents With Memory Adding memory capabilities to your agents
Agent Open Telemetry Getting started with OpenTelemetry for agents
Agent With OpenAI exchange types Using OpenAI exchange types with agents
Agent With Anthropic Getting started with agents using Anthropic Claude
Model Context Protocol Getting started with Model Context Protocol
Agent Skills Getting started with Agent Skills
Declarative Agents Loading and executing AI agents from YAML configuration files
AG-UI Getting started with AG-UI (Agent UI Protocol) servers and clients
Dev UI Interactive web interface for testing and debugging AI agents during development