GENERAL PUB_DATE: 2026.W01

LOCAL CURSOR-STYLE AI INSIDE ZED: EARLY ARCHITECTURE AND REPO

An experimental Zed IDE fork is adding local AI features—semantic code search, cross-file reasoning, and web browsing—backed by vector DB indexing and local mod...

Local Cursor-style AI inside Zed: early architecture and repo

An experimental Zed IDE fork is adding local AI features—semantic code search, cross-file reasoning, and web browsing—backed by vector DB indexing and local models (Ollama/llama.cpp or OpenAI-compatible APIs). The author seeks concrete guidance on AST-aware chunking, incremental re-indexing for multi-language repos, streaming results to the editor, sandboxed browsing with prompt-injection defenses, and model orchestration. The repo already exposes settings for vector DB, embedder provider, model, API keys, and an index toggle.

[ WHY_IT_MATTERS ]
01.

Offers a path to code-aware AI assistants that run locally for privacy-conscious teams.

02.

Defines practical integration points (indexing, embeddings, orchestration) that mirror cloud copilots without vendor lock-in.

[ WHAT_TO_TEST ]
  • terminal

    Compare AST-aware vs text chunking and incremental re-indexing accuracy/latency on multi-language repositories.

  • terminal

    Evaluate local model performance and memory footprint on standard dev machines and test prompt-injection defenses for web+browse context.