feat: add @aicoach chat participant for AI Engineer Coach data access#16
Open
mc5eamus wants to merge 33 commits into
Open
feat: add @aicoach chat participant for AI Engineer Coach data access#16mc5eamus wants to merge 33 commits into
mc5eamus wants to merge 33 commits into
Conversation
- Implemented the @aicoach chat participant to provide conversational access to AI Engineer Coach data in VS Code chat. - Registered tools for summarizing usage, analyzing activity, and providing insights through the chat interface. - Created system prompts and follow-up suggestions to enhance user interaction. - Added documentation for the chat participant feature, including usage examples and available commands. - Developed formatters to transform raw Analyzer output into user-friendly JSON for chat responses.
Dependency ReviewThe following issues were found:
License Issues.github/workflows/dependency-review.yml
OpenSSF ScorecardScorecard details
Scanned Files
|
Fix install instructions repository directory
aymenfurter
requested changes
May 19, 2026
…g and remove gated feature
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new @aicoach VS Code chat participant that can call registered Language Model tools to query the extension’s Analyzer data and synthesize coaching responses, along with supporting tool wrappers/formatters and user-facing documentation.
Changes:
- Introduces
@aicoachchat participant with slash commands and an agentic tool-calling loop (src/chat/*). - Adds a suite of
vscode.lmtools that expose Analyzer metrics as JSON via formatter functions (src/mcp/*), and wires tool/participant registration into activation (src/extension.ts). - Updates extension contributions and docs to surface the chat feature (
package.json,docs/*,README.extension.md,cspell.json).
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/mcp/tools.ts | Registers LM tools and defines schemas/tool behaviors for Analyzer-backed queries. |
| src/mcp/formatters.ts | Converts Analyzer outputs into compact JSON payloads intended for LLM consumption. |
| src/extension.ts | Hooks tool registration and chat participant registration into extension activation. |
| src/chat/system-prompt.ts | Builds the coaching persona prompt and tool-selection heuristics. |
| src/chat/participant.ts | Implements @aicoach participant, slash commands, history handling, and tool-loop orchestration. |
| README.extension.md | Adds a “Chat” section and onboarding step for @aicoach. |
| package.json | Contributes the chat participant + languageModelTools definitions. |
| package-lock.json | Lockfile updates from dependency resolution. |
| docs/content/features/chat.md | Adds feature documentation for the chat participant and tool usage. |
| docs/content/features/_index.md | Adds Chat section entry linking to the new doc page. |
| cspell.json | Adds aicoach to the dictionary. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/AI-Engineering-Coach/sessions/10ed291e-f4e4-4728-b87a-cde9736881b7 Co-authored-by: mc5eamus <19579342+mc5eamus@users.noreply.github.com>
…g and remove gated feature
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/AI-Engineering-Coach/sessions/10ed291e-f4e4-4728-b87a-cde9736881b7 Co-authored-by: mc5eamus <19579342+mc5eamus@users.noreply.github.com>
…/AI-Engineering-Coach into feat/chat-with-my-data
Agent-Logs-Url: https://github.com/microsoft/AI-Engineering-Coach/sessions/f2e9f358-3c44-4f05-890b-61e6b9c08d56 Co-authored-by: mc5eamus <19579342+mc5eamus@users.noreply.github.com>
aymenfurter
approved these changes
May 21, 2026
aymenfurter
approved these changes
May 21, 2026
aymenfurter
approved these changes
May 22, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
src/mcp/tools.tsaiEngineerCoach_sessions