Skip to content

feat: enable a365 sample runnable in ATK agents playground#236

Open
HuihuiWu-Microsoft wants to merge 8 commits intomicrosoft:mainfrom
HuihuiWu-Microsoft:huihui/enable-playground-in-atk
Open

feat: enable a365 sample runnable in ATK agents playground#236
HuihuiWu-Microsoft wants to merge 8 commits intomicrosoft:mainfrom
HuihuiWu-Microsoft:huihui/enable-playground-in-atk

Conversation

@HuihuiWu-Microsoft
Copy link
Copy Markdown

No description provided.

@HuihuiWu-Microsoft HuihuiWu-Microsoft requested a review from a team as a code owner March 10, 2026 02:44
Copilot AI review requested due to automatic review settings March 10, 2026 02:44
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

Updates the Node.js LangChain sample agent to support debugging/running directly in Microsoft 365 Agents Playground via TeamsFx tooling, adding the required configuration, VS Code tasks, and environment templates.

Changes:

  • Add TeamsFx/M365 Agents Playground project YAMLs and VS Code debug/task wiring for one-key launch.
  • Introduce Playground-specific environment files and a PowerShell helper to refresh bearer tokens via the A365 CLI.
  • Update package.json scripts/dev workflow to support TeamsFx-based Playground launch.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
nodejs/langchain/sample-agent/README.md Updates prerequisites and adds step-by-step Playground debugging instructions.
nodejs/langchain/sample-agent/package.json Adjusts dev script for inspector + adds TeamsFx/Playground helper scripts and env-cmd.
nodejs/langchain/sample-agent/m365agents.yml Adds base TeamsFx/M365 Agents Toolkit YAML configuration.
nodejs/langchain/sample-agent/m365agents.playground.yml Adds Playground deployment steps and env file materialization.
nodejs/langchain/sample-agent/env/.env.playground.user Adds user-specific secret placeholders for Playground.
nodejs/langchain/sample-agent/env/.env.playground Adds committed Playground env settings (ports, app id, agentic auth settings).
nodejs/langchain/sample-agent/.vscode/tasks.json Adds TeamsFx deploy + local start + Playground start tasks and token refresh step.
nodejs/langchain/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 Adds script to acquire/update bearer token via a365 develop get-token.
nodejs/langchain/sample-agent/.vscode/launch.json Adds attach config + compound launch for Playground debugging.
nodejs/langchain/sample-agent/.vscode/extensions.json Recommends Teams Toolkit extension.
nodejs/langchain/sample-agent/.gitignore Adds ignore rules for TeamsFx local files/dev tools.

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.

5 participants