页面简介
Choose the right Zed AI setup path for agents, models, subscriptions, local models, edit prediction, and privacy.
正文摘录
AI Quick Start Use this page to choose the right AI setup path in Zed. If you already know the company, subscription, model provider, agent, or CLI you want to use, start with AI by Company. Use the Zed Agent Use Zed Agent when you want Zed’s native agent to read, edit, search, and run code in your project. Zed Agent uses Zed-configured models from LLM Providers. It also uses Zed’s built-in tools, Agent Profiles, Skills, Instructions, and MCP servers. Start in the Agent Panel to prompt the agent, add context, review changes, and manage threads. Configure the Zed Agent If you want to…Use Control tools and permissionsAgent Profiles Approve or deny individual toolsTool Permissions Add reusable task instructionsSkills Add always-on personal or project contextInstructions Connect external tools and contextModel Context Protocol Use Another Coding Agent in Zed Use this path for Claude, Codex, OpenCode, Copilot, Cursor, Pi Coding Agent, Gemini CLI, or another coding agent. If the agent…Use Integrates with Zed through ACPExternal Agents Runs as a CLI or TUITerminal Threads External Agents and Terminal Threads usually own their own auth, model configuration, subscriptions, tools, instructions, and MCP configuration. Choose Which Models the Zed Agent Uses The Zed Agent and other model-backed Zed AI features use models configured through LLM Providers. If you want to…Use Use models billed through ZedZed-Hosted Models Bring your own provider API key, credits, top-ups, or usage billingUse API Access Use a subscription you already pay forUse an Existing Subscription Use OpenRouter, Vercel AI Gateway, Amazon Bedrock, or another gatewayUse a Gateway Use Ollama, LM Studio, local OpenAI-compatible servers, or self-hosted modelsUse a Local Model Provider keys saved through Zed are stored in the system keychain, not in settings.json. Change AI Settings If you want to…Go to Configure LLM providers, External Agents, or MCP serversAgent Settings with agent: open settings Disable AI, configure tool permissions, or set up edit prediction providersSettings Editor with zed: open settings Edit advanced JSON-only settingsSettings file with zed: open settings file For general settings mechanics, see Configuring Zed. Use a Specific AI Feature If you want to…Use Prompt agents, add context, and review changesAgent Panel Accept AI completions while typingEdit Prediction Rewrite selected code or terminal textInline Assistant Run multiple AI tasks at onceParallel Agents Generate commit messagesGit commit generation Learn More If you want to…Use Understand privacy and data controlsAI Privacy and Feedback and Training Data Understand plans, usage, and billingPlans & Pricing, Zed-Hosted Models, and Billing Turn AI Off Open the Settings Editor with zed: open settings, search for Disable AI, and enable it. You can also add this to your settings file: { "disable_ai": true } When AI is turned off, all AI features are disabled. This includes the Threads Sidebar, Agent Panel, Edit Prediction, and Inline Assistant. Overview AI by Company