[azure-ai-projects] Add basic Agent Insights sample - #48889
Open
seangayler-msft wants to merge 1 commit into
Open
[azure-ai-projects] Add basic Agent Insights sample#48889seangayler-msft wants to merge 1 commit into
seangayler-msft wants to merge 1 commit into
Conversation
|
Azure Pipelines: 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 965d2b3b-7439-4050-b224-cd487bcbb2bc
seangayler-msft
force-pushed
the
sean/agent-insights-samples
branch
from
September 3, 2026 20:02
a6a5773 to
2c62b9c
Compare
seangayler-msft
marked this pull request as draft
September 3, 2026 20:03
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed changes have no unresolved issues blocking approval.
Pull request overview
Adds a synchronous Agent Insights sample demonstrating a safe monitor lifecycle.
Changes:
- Demonstrates monitor creation, retrieval, listing, and cleanup.
- Registers sample testing and LLM validation.
- Documents the sample in the changelog.
File summaries
| File | Description |
|---|---|
sdk/ai/azure-ai-projects/tests/samples/test_samples.py |
Registers the sample, pending an HTTP recording. |
sdk/ai/azure-ai-projects/tests/samples/llm_instructions.py |
Adds Agent Insights output validation mapping. |
sdk/ai/azure-ai-projects/samples/agent_insights/sample_agent_insights_basic.py |
Implements the monitor lifecycle sample. |
sdk/ai/azure-ai-projects/CHANGELOG.md |
Announces the new sample. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
seangayler-msft
marked this pull request as ready for review
September 3, 2026 20:44
|
Azure Pipelines: Successfully started running 1 pipeline(s). 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds one basic synchronous Agent Insights sample for the
azure-ai-projects2.6.0 preview API.The required Agent Insights SDK changes are available on
mainthrough #48870.Sample behavior
finallyblock.No additional SDK patch is needed. The existing beta operation patch adds the Agent Insights preview feature header.
Validation
Test note
The sample folder is registered with the sample test framework and its LLM validation mapping. Recorded execution is explicitly skipped until an HTTP recording is available.