Zed AI: Built-In Assistance
Harry
· 13 Sep 2026
· 2 views
Inline AI
Select code and press the AI shortcut to get an inline edit: explain, refactor or rewrite the selection without leaving your cursor position.
The Agent Panel
Open the AI panel to hold a real conversation with the agent. Share project context, ask questions and apply suggested edits directly to the files.
Model Options
Zed supports Claude and GPT models. It comes with a free usage allowance, and you can add your own API keys to use your own accounts and providers.
Edit Predictions
Zed predicts your next edit as you type and applies it with one keypress, so repetitive changes feel near-instant.
Key Points
- Inline AI edits the current selection quickly.
- The agent panel handles larger assisted tasks.
- Use built-in credits or your own API keys.
- Edit predictions speed up repetitive typing.