Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
64fd7da
feat: add @aicoach chat participant for AI Engineer Coach data access
May 18, 2026
f276f18
fix: sync lockfile and cspell for CI verify job
Copilot May 18, 2026
383b028
style: use American spelling in chat prompts
Copilot May 18, 2026
76e5426
style: normalize analyze spelling in manifest metadata
Copilot May 18, 2026
eaa0f1e
feat: implement capped conversation history management in chat partic…
May 19, 2026
eb65e0f
feat: update chat participant tools and implement gated reporting for…
May 20, 2026
a0d205a
feat: update credit usage tool to conditionally handle token reportin…
May 20, 2026
d870e0c
Potential fix for pull request finding
mc5eamus May 20, 2026
af3e2dd
fix: use structural guards for chat history turns
Copilot May 20, 2026
6257f27
docs: correct chat tool count
Copilot May 20, 2026
ab42c17
fix: avoid mutating antipattern cache order
Copilot May 20, 2026
32062bc
feat: add @aicoach chat participant for AI Engineer Coach data access
May 18, 2026
d414d32
fix: sync lockfile and cspell for CI verify job
Copilot May 18, 2026
c39b3fb
style: use American spelling in chat prompts
Copilot May 18, 2026
4593be5
style: normalize analyze spelling in manifest metadata
Copilot May 18, 2026
b382b7d
feat: implement capped conversation history management in chat partic…
May 19, 2026
04c24f8
feat: update chat participant tools and implement gated reporting for…
May 20, 2026
050a4d3
feat: update credit usage tool to conditionally handle token reportin…
May 20, 2026
4e9cae9
Potential fix for pull request finding
mc5eamus May 20, 2026
942a2a0
fix: use structural guards for chat history turns
Copilot May 20, 2026
e6a5762
docs: correct chat tool count
Copilot May 20, 2026
739f985
fix: avoid mutating antipattern cache order
Copilot May 20, 2026
fee63cb
Merge branch 'feat/chat-with-my-data' of https://github.com/microsoft…
May 21, 2026
8669b3d
docs: note chat sidebar prerequisite
Copilot May 21, 2026
df7203c
Potential fix for pull request finding
mc5eamus May 22, 2026
c0b4bcd
Potential fix for pull request finding
mc5eamus May 22, 2026
6ae71de
Harden system prompt against tool-output prompt injection
Copilot May 22, 2026
3442dce
fix: validate sessions paging input for MCP tool
Copilot May 22, 2026
703ebb1
Merge origin/main into feat/chat-with-my-data
Copilot May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,17 @@ The extension is organized into three sections: **Observe**, **Measure**, and **
| **OpenCode** | macOS/Linux: `~/.local/share/opencode/`<br>Windows: `%USERPROFILE%\.local\share\opencode\` |
| **GitHub Copilot CLI** | `~/.copilot/session-state/` and `~/.copilot/history-session-state/` |

### Chat

Type `@aicoach` in any VS Code chat panel for conversational access to all coaching data. Slash commands `/summary`, `/improve`, `/compare`, and `/flow` give quick access to common analyses. The participant orchestrates multiple backend tools automatically to answer complex questions.

Comment thread
mc5eamus marked this conversation as resolved.
## Getting Started

1. Open the command palette (`Cmd+Shift+P` / `Ctrl+Shift+P`).
2. Run **AI Engineer Coach: Open Dashboard**.
3. Use the sidebar to navigate pages. Filter by workspace or harness at the bottom.
4. Run **AI Engineer Coach: Reload Data** to re-parse after new sessions.
5. Type `@aicoach` in VS Code chat for conversational coaching.



Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"language": "en",
"minWordLength": 5,
"words": [
"aicoach",
"affordances",
"allpending",
"antipatterns",
Expand Down
4 changes: 4 additions & 0 deletions docs/content/features/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ AI Engineer Coach organizes its capabilities into three areas that mirror a cont
- [Skill Finder](/improve/skill-finder/) -- Discover repeated prompts and matching community skills
- [Context Health](/improve/context-health/) -- Evaluate context quality and session management efficiency

## Chat

- [Chat Participant](/features/chat/) -- Conversational access to all coaching data via `@aicoach` in VS Code chat, with slash commands and agentic tool orchestration

## Level Up

- [Learning Center](/level-up/learning/) -- Personalized quizzes and challenges built from your actual usage
Expand Down
95 changes: 95 additions & 0 deletions docs/content/features/chat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: "Chat Participant"
weight: 30
description: "Conversational access to all coaching data via @aicoach in VS Code chat"
---

# Chat Participant

The `@aicoach` chat participant gives you conversational access to all AI Engineer Coach data directly in the VS Code chat panel. Ask questions in natural language and get data-driven coaching responses without leaving your editor.

## Getting Started

Before using `@aicoach`, open the AI Engineer Coach sidebar at least once to load your session data.

Comment thread
mc5eamus marked this conversation as resolved.
> **Note:** When you use `@aicoach`, your question and the results returned by AI Engineer Coach tools are sent to the selected VS Code chat model so it can synthesize a response. The underlying coaching data is gathered locally, but the final chat answer is not produced purely through local processing.

Type `@aicoach` in any VS Code chat panel followed by your question:

```
@aicoach how am I doing this week?
```

The participant is sticky — once invoked, follow-up messages in the same thread continue the conversation without needing to type `@aicoach` again.

Comment thread
mc5eamus marked this conversation as resolved.
## Slash Commands

| Command | Description | Default prompt |
|---|---|---|
| `/summary` | Quick usage overview | Highlights strengths and top areas to improve |
| `/improve` | Improvement recommendations | Top 3 things to improve with specific actions |
| `/compare` | Tool comparison | Compare AI coding tools and their effectiveness |
| `/flow` | Flow & focus analysis | Deep work patterns and best productivity hours |

Use a slash command with no additional text to get the default analysis, or add your own question:

```
@aicoach /flow Am I more productive in the morning or afternoon?
```

## Available Tools

The participant has access to 12 backend tools that it selects automatically based on your question:

| Tool | Domain | What it returns |
|---|---|---|
| `aiEngineerCoach_summary` | Observe | Session counts, recommendations, top anti-patterns |
| `aiEngineerCoach_activity` | Observe | Daily requests, LOC, sessions, and harness breakdown |
| `aiEngineerCoach_credits` | Measure | AI credit usage, per-model breakdown, daily trend, and costly requests |
| `aiEngineerCoach_codeProduction` | Measure | AI vs user LOC, language breakdown, workspace distribution |
| `aiEngineerCoach_flow` | Measure | Deep work scores, best hours, follow-up latency |
| `aiEngineerCoach_patterns` | Improve | Anti-patterns and practice recommendations with severity |
| `aiEngineerCoach_insights` | Improve | Learning velocity, intent classification, prompt maturity |
| `aiEngineerCoach_wellbeing` | Improve | Work-life balance score, time distribution, burnout risk |
| `aiEngineerCoach_workflows` | Improve | Repeated workflow clusters with automation suggestions |
| `aiEngineerCoach_harnessComparison` | Observe | Side-by-side tool comparison: sessions, LOC, cancel rates |
| `aiEngineerCoach_sessions` | Observe | Browse or search individual sessions by ID or keyword |
| `aiEngineerCoach_contextHealth` | Improve | Context utilization, compaction, config health, and instruction quality |

Comment thread
mc5eamus marked this conversation as resolved.
All tools accept optional `fromDate`, `toDate`, `workspaceId`, and `harness` filters. The participant resolves relative time references ("last week", "past month") automatically.

## How It Works

The participant runs an **agentic loop** that:

1. Sends your question along with a coaching persona and tool-selection heuristics to the language model
2. The model decides which tools to call based on your intent
3. Tool results are fed back into the conversation for the model to synthesize
4. The model may call additional tools if needed (up to 8 rounds)
5. A final, synthesized coaching response is streamed back to you
Comment thread
mc5eamus marked this conversation as resolved.

This means a single question like "compare my productivity this week vs last week" can trigger multiple tool calls (activity, flow, code production) and produce a unified answer.

## Example Conversations

**Broad check-in:**
```
@aicoach Give me a quick health check
```
→ Calls `summary`, returns practice scores, session count, top anti-pattern, and a suggested next step.

**Specific investigation:**
```
@aicoach Why is my prompt quality score dropping?
```
→ Calls `patterns` with recent date range, surfaces the specific anti-patterns driving the score down with example prompts from your sessions.

## Follow-ups

After each response, the participant suggests follow-up prompts to guide deeper analysis:

- **Improve** — "What should I improve next?"
- **Compare tools** — "Compare my AI tools"
- **Flow state** — "How is my focus & flow?"

Click any follow-up to continue the conversation without typing.
33 changes: 29 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading