Skip to main content

🆉 Zed Agent

Zed is a high-performance, multiplayer code editor. Zed Agent brings Zed-hosted models to the editor.

We suggest adding Lens to your global Zed configuration to make it available in all of your projects, but you can also enable it in individual projects. See the Zed AI's Agent Settings documentation and the Reference's All Settings page for details.

Prerequisites​

Adding the MCP server​

Use the zed: open settings file or zed: open project settings file command in the command palette to open the appropriate settings.json. Amend it as follows, substituting the path to the lens binary from the installation step:

{
// snip
"context_servers": {
// snip
"lens": {
"enabled": true,
"remote": false,
"command": "/path/to/agentkit-lens",
"args": ["--brave-search-api-key", "YOUR_KEY", "stdio"],
"env": {}
}
// snip
}
// snip
}

Testing​

You're now ready to make your first search or fetch.