Zed
A desktop AI code editor for macOS, Linux and Windows that connects to Ollama, llama.cpp and LM Studio for coding assistance with local models.
Alternative to:

Zed is a desktop code editor for developers who want coding assistance from models running on their own machine or infrastructure they control. Its Agent and Inline Assistant can use Ollama, llama.cpp, LM Studio or a local OpenAI-compatible server. The editor connects to these model servers, which perform inference.
Agents can work in parallel, edit files, explore a codebase and run tools. Local model connections support Zed's model-backed AI features, while external agents and terminal coding tools have their own model setup. Edit prediction also has a separate setup, with local and self-hosted options.
Model location matters. A connection to a server on your machine keeps model requests there; a remote endpoint sends requests to that server. Zed also supports remote Ollama services; the endpoint’s location determines where inference happens.
For team work, the editor supports shared editing, project sharing, chat and screen sharing.
Zed runs on macOS, Linux and Windows. Its Rust implementation uses multiple CPU cores and the GPU for editor performance. The source code is open source, primarily under GPL-3.0-or-later, with Apache-2.0 components where marked.