Open the chat panel
Click the CodePilot icon in the activity bar.
Choose a mode
From the dropdown to the left of the input box, choose the mode that fits your goal.
| Mode | File changes | Purpose |
|---|---|---|
| CODE | O | Create, edit, and delete files; run commands |
| AGENT | O | Break down complex tasks and handle them on its own |
| ASK | X | Questions and analysis |
| PLAN | X | Draft an implementation plan first |
Try your first request
Understanding code (ASK)
Building a feature (CODE)
Planning first (PLAN)
Attaching context
Type@ in the input box to pick the context you want to hand to the AI.

/ to use shortcut commands such as commit, review, and session management.

Approving / undoing changes
When the AI modifies a file, the changes are shown in the editor as an inline diff.
- Keep — Apply the change.
- Undo — Revert the change.
| Shortcut | Action |
|---|---|
Ctrl+Enter (macOS: Cmd+Enter) | Apply all changes |
Ctrl+Backspace (macOS: Cmd+Backspace) | Undo all changes |
Running multiple tasks at once
Large requests are automatically split into several subtasks and processed in parallel. You can track progress in real time in the task list in the chat panel.
Reviewing the results
When the AI finishes, it shows a summary of what it did and a list of the files that changed.

Next steps
Chat modes
How to use CODE / AGENT / ASK / PLAN
Key features
Automatic error fixing, security guardrails, RAG
Settings
AI models, build verification, security settings

