Skip to content

Comments

Improve microsoft-foundry skill's create/debug part#1016

Merged
JasonYeMSFT merged 1 commit intomicrosoft:mainfrom
swatDong:qidon/agentframework-local
Feb 24, 2026
Merged

Improve microsoft-foundry skill's create/debug part#1016
JasonYeMSFT merged 1 commit intomicrosoft:mainfrom
swatDong:qidon/agentframework-local

Conversation

@swatDong
Copy link
Contributor

  • Apply agent-framework best practice for both greenfield and brownfield
  • Optimize debugging part and correct template link

(Tested scenarios like "/azure:microsoft-foundry Create a Python agent-framework based hosted agent... with local debug support", "/azure:microsoft-foundry Convert to host agent and add local debug support")

Copilot AI review requested due to automatic review settings February 24, 2026 05:53
Copy link
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

This PR improves the microsoft-foundry skill's agent creation and debugging documentation by reorganizing best practices guidance and updating debugging instructions for Agent Framework-based hosted agents.

Changes:

  • Updated debugging section in agentframework.md with clearer component descriptions and corrected documentation links
  • Reorganized Agent Framework best practices reference to apply to both greenfield and brownfield scenarios

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
plugin/skills/microsoft-foundry/foundry-agent/create/references/agentframework.md Added hyperlink to AI Toolkit, rewrote debug task descriptions, and updated reference link to AI Toolkit documentation
plugin/skills/microsoft-foundry/foundry-agent/create/create.md Moved Agent Framework best practices guidance from Step 2 to Common Guidelines section to apply to both greenfield and brownfield projects
Comments suppressed due to low confidence (1)

plugin/skills/microsoft-foundry/foundry-agent/create/references/agentframework.md:81

  • The debug instruction debugpy --listen 127.0.0.1:5679 is incomplete and won't work as a standalone command. It should be invoked as part of a Python command (e.g., python -m debugpy --listen 127.0.0.1:5679 -m agentdev run <entrypoint>.py --port 8087). The current description separates these tasks but doesn't clarify how to actually run debugpy with agentdev, which could confuse users trying to set up debugging.
3. Key debug tasks: `agentdev run <entrypoint>.py --port 8087` starts the agent HTTP server, `debugpy --listen 127.0.0.1:5679` attaches the debugger, and the `ai-mlstudio.openTestTool` VS Code command opens the Agent Inspector UI

@JasonYeMSFT JasonYeMSFT merged commit 2ad5875 into microsoft:main Feb 24, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants