Skip to content

Add ADR-0020: Foundry Evals integration#4731

Merged
alliscode merged 2 commits intomicrosoft:mainfrom
alliscode:af-foundry-evals-adr
Mar 20, 2026
Merged

Add ADR-0020: Foundry Evals integration#4731
alliscode merged 2 commits intomicrosoft:mainfrom
alliscode:af-foundry-evals-adr

Conversation

@alliscode
Copy link
Copy Markdown
Member

Captures the design for integrating Azure AI Foundry Evaluations with agent-framework. Key decisions:

  • EvalItem with conversation (list[Message]) as single source of truth
  • query/response derived from configurable conversation split strategies
  • Tools as list[FunctionTool] (including auto-extracted MCP tools)
  • FoundryEvals provider with auto-detection of evaluator capabilities
  • LocalEvaluator with @function_evaluator decorator for local checks
  • Consistent Python/C# APIs: evaluate_agent, evaluate_workflow

Motivation and Context

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings March 16, 2026 18:47
@markwallace-microsoft markwallace-microsoft added the documentation Improvements or additions to documentation label Mar 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Architectural Decision Record (ADR) documenting the proposed architecture for integrating Azure AI Foundry Evaluations with the agent-framework, including shared concepts and intended Python/.NET API shapes.

Changes:

  • Introduces ADR text describing evaluator protocol + orchestration approach, including EvalItem/split strategies and Foundry/local evaluators.
  • Documents intended cross-language (Python/.NET) API parity and .NET MEAI (Microsoft.Extensions.AI.Evaluation) alignment.
  • Adds usage examples for agent/workflow evaluation and mixed evaluator providers.

You can also share your feedback on Copilot code review. Take the survey.

@alliscode alliscode force-pushed the af-foundry-evals-adr branch from 1cd0d6b to 2fecc22 Compare March 16, 2026 21:17
@alliscode alliscode force-pushed the af-foundry-evals-adr branch 2 times, most recently from 39201a4 to deed5e4 Compare March 17, 2026 18:10
@alliscode alliscode force-pushed the af-foundry-evals-adr branch 4 times, most recently from 2d1b3f1 to 93ef327 Compare March 17, 2026 20:03
@alliscode alliscode changed the title Add ADR-0018: Foundry Evals integration design Add ADR-0020: Foundry Evals integration design Mar 18, 2026
@alliscode alliscode force-pushed the af-foundry-evals-adr branch 2 times, most recently from 7e6c4f6 to 2e6fa21 Compare March 18, 2026 23:03
@alliscode alliscode force-pushed the af-foundry-evals-adr branch from 2e6fa21 to 1502d83 Compare March 18, 2026 23:30
@alliscode alliscode force-pushed the af-foundry-evals-adr branch 3 times, most recently from aeae780 to a33aad4 Compare March 19, 2026 15:14
Captures the design for integrating Azure AI Foundry Evaluations with
agent-framework. Key decisions:

- EvalItem with conversation (list[Message]) as single source of truth
- query/response derived from configurable conversation split strategies
- Tools as list[FunctionTool] (including auto-extracted MCP tools)
- FoundryEvals provider with auto-detection of evaluator capabilities
- LocalEvaluator with @function_evaluator decorator for local checks
- Consistent Python/C# APIs: evaluate_agent, evaluate_workflow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alliscode alliscode force-pushed the af-foundry-evals-adr branch from a33aad4 to f986539 Compare March 19, 2026 15:41
@alliscode alliscode changed the title Add ADR-0020: Foundry Evals integration design Add ADR-0020: Foundry Evals integration Mar 20, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alliscode alliscode added this pull request to the merge queue Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants