cmd-shift-a (macOS) or ctrl-shift-a (Linux/Windows).
Agent Types
The panel supports multiple agent implementations:- Native Agent
- Text Thread
- External Agents
Zed Agent (Native)
The built-in agent with full Glass integration:- Tool execution - Edit files, run commands, search code
- Context awareness - Accesses project rules and structure
- Streaming responses - Real-time output with tool use
- Multi-model support - Works with any configured provider
Panel Features
Thread Management
Message Composition
The message editor supports rich input:Context Menu
Right-click in the panel for quick actions:- Copy thread - Copy entire conversation
- Export as markdown - Save conversation to file
- Share thread - Generate shareable link
- Clear history - Remove old threads
Tool Execution
Native agents can execute tools with your approval:File Operations
- Read file contents
- Write new files
- Edit with unified diffs
- Delete files
Terminal
- Run shell commands
- Execute scripts
- Install dependencies
- Git operations
Code Search
- Project-wide search
- Semantic search
- Symbol search
- Regex patterns
LSP Actions
- Go to definition
- Find references
- Get diagnostics
- Symbol information
Tool Permission System
Configure how tools are authorized:Model Selection
Change models mid-conversation:Recommended Models
For different tasks:| Task | Recommended Model | Why |
|---|---|---|
| Code generation | Claude 4.6 Sonnet | Best code quality and tool use |
| Fast responses | GPT-4o Mini | Quick, cost-effective |
| Reasoning | Claude 4.6 Sonnet Thinking | Shows reasoning steps |
| Long context | Claude 4.6 Sonnet | 200k context window |
Context Management
Automatic Context
Native agents automatically include:- Active file - Current editor content
- Project structure - Directory layout
- Rules files -
.zed.md,.rules,.clinerules - Related files - Semantically relevant code
Manual Context
Add explicit context:Context Servers
Extend context via Model Context Protocol (MCP) servers:- External file systems
- Database access
- API documentation
- Custom knowledge sources
Agent Configuration
Customize agent behavior:Slash Commands
Context server prompts appear as slash commands:Agent Profiles
Create custom agent configurations:Keyboard Shortcuts
| Action | macOS | Linux/Windows |
|---|---|---|
| Toggle panel | cmd-shift-a | ctrl-shift-a |
| New thread | cmd-n | ctrl-n |
| Focus editor | escape | escape |
| Send message | enter | enter |
| New line | shift-enter | shift-enter |
| History | cmd-h | ctrl-h |
Troubleshooting
Agent not responding
Agent not responding
- Check API key is configured
- Verify provider authentication
- Check network connectivity
- View logs:
cmd-shift-p→ “Open Logs”
Tool execution fails
Tool execution fails
- Review tool permissions in settings
- Check file/directory permissions
- Verify terminal access
- Review hardcoded security rules
Context not loading
Context not loading
- Restart context servers
- Check context server logs
- Verify MCP server configuration
- Ensure files are indexed