Opening the Agent Panel
- Keyboard shortcut:
Cmd+Shift+A(macOS) orCtrl+Shift+A(Linux/Windows) - Menu: View → Toggle Agent Panel
- Command Palette: “assistant: toggle focus”
Panel Layout
The Agent Panel consists of:- Navigation bar - Access thread history and settings
- Thread view - Current conversation with the AI
- Message editor - Input area for your prompts
- Tool cards - Visual representation of AI actions (edits, terminal commands, file reads)
Starting a Conversation
New Thread
Create a new conversation thread:- Click the ”+” button in the navigation bar
- Or use
Cmd+N(macOS) /Ctrl+N(Linux/Windows) - Type your message in the editor
- Press
Enterto send (orCmd+Enterifuse_modifier_to_sendis enabled)
Text Thread
For lightweight conversations without tool access:- Use the dropdown next to ”+” and select “New Text Thread”
- Text threads are faster and don’t execute commands or edit files
- Great for brainstorming, explanations, and code reviews
Adding Context
Provide relevant context to improve AI responses:File Context
@ to see file suggestions.
Directory Context
Git Diff Context
Diagnostic Context
Terminal Context
Web Context
AI Actions
The agent can perform actions in your editor:Code Editing
When the AI suggests code changes, you’ll see an Edit Card with:- Diff preview - See what will change before accepting
- Accept button - Apply the changes
- Reject button - Discard the suggestion
- Open in editor - View changes in a full editor pane
Terminal Commands
AI can suggest and execute terminal commands:- The command to be executed
- Approve to run it
- Reject to cancel
- Real-time output once approved
File Operations
- Create new files
- Read file contents
- Edit existing files
- Move or rename files
Thread Management
Thread History
Access past conversations:- Click the menu icon (≡) in the navigation bar
- Select “View All” to see all threads
- Or view recent threads in the dropdown menu
Thread Search
Find specific conversations:- In the history view, use the search box
- Search by title, content, or date
Thread Export/Import
Export thread to clipboard:Agent Profiles
Customize agent behavior with profiles:Tool Permissions
Control what the AI can do:allow- Execute without confirmationconfirm- Always ask first (default)deny- Never allow
Model Selection
Change the AI model during a conversation:- Click the model name at the top of the panel
- Select from available models
- Your choice persists for the current thread
Advanced Features
Multi-file Editing
The agent can edit multiple files in a single response:Streaming Tools
Enable streaming tool execution for faster iterations:Extended Thinking
For complex tasks, enable thinking mode:Diff Review
When edits are suggested, open a dedicated diff pane:- Click “Open Diff” in the navigation bar
- Or use
Cmd+Shift+D(macOS) /Ctrl+Shift+D(Linux/Windows)
Settings
Panel Position
Panel Size
Message Editor
Notifications
Keyboard Shortcuts
| Action | macOS | Linux/Windows |
|---|---|---|
| Toggle panel | Cmd+Shift+A | Ctrl+Shift+A |
| New thread | Cmd+N | Ctrl+N |
| Send message | Enter | Enter |
| New line | Shift+Enter | Shift+Enter |
| Copy thread | Cmd+Shift+C | Ctrl+Shift+C |
| Load thread | Cmd+Shift+V | Ctrl+Shift+V |
| Open diff | Cmd+Shift+D | Ctrl+Shift+D |
| History | Cmd+Shift+H | Ctrl+Shift+H |
| Settings | Cmd+, | Ctrl+, |
Tips & Best Practices
- Be specific - Provide clear context about what you want to accomplish
- Use mentions - Reference specific files and code regions
- Review changes - Always check diffs before accepting edits
- Iterate - Have a conversation, don’t expect perfection on the first try
- Use profiles - Create profiles for different workflows (coding, reviewing, debugging)
- Check tool permissions - Configure safe defaults to avoid accidental destructive operations
Troubleshooting
Agent not responding
- Check your internet connection
- Verify API keys in Settings → Language Models
- Check the model selection (some models may be unavailable)
Context not being used
- Ensure files are open or properly mentioned with
@ - Check that mentioned files exist in your project
- Large files may be truncated (check model token limits)
Commands not executing
- Verify tool permissions settings
- Check that the terminal is accessible
- Ensure the workspace is trusted
