Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Phantom AINew to Visual Studio Code? Get it now.
Phantom AI

Phantom AI

Sabin

|
6 installs
| (0) | Free
An AI-powered coding assistant — your own Cursor-like experience inside VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Phantom — AI Coding Assistant for VS Code

Your own Cursor-like experience inside VS Code. Chat with AI, get inline completions, and let an agent edit your code — powered by any LLM provider.

Features

  • 💬 Chat Sidebar — Ask questions, get explanations, generate code. Streamed responses with full markdown rendering.
  • 🤖 Agent Mode — Let Phantom read files, write code, run terminal commands, and execute multi-step tasks autonomously.
  • ⚡ Inline Completions — Tab-to-accept ghost text suggestions as you type.
  • ✏️ Cmd+K Code Editing — Select code, press Cmd+K, describe what to change, and Phantom rewrites it.
  • 📂 @ Mentions — Reference files with @filename in chat for targeted context.
  • 🔍 RAG Indexing — Rebuild a local embedding index of your workspace for smarter retrieval.
  • 🔌 MCP Support — Connect to external tools via Model Context Protocol servers.
  • ✨ Prompt Enhancer — One-click button to improve your prompt before sending.

Supported Providers

Provider Models
Groq Llama 3.3 70B, Llama 3.1 8B, Mixtral, Gemma 2
OpenAI GPT-4o, GPT-4o Mini, GPT-4 Turbo, GPT-3.5
Anthropic Claude Sonnet 4, Claude Haiku, Claude Opus
OpenRouter 200+ models — GPT-4o, Claude, Llama, Gemini, DeepSeek, etc.
Custom Any OpenAI-compatible endpoint (Ollama, LM Studio, Together, etc.)

Getting Started

  1. Install the extension from the VS Code Marketplace
  2. Open the command palette (Cmd+Shift+P) and run Phantom: Settings
  3. Select your provider, paste your API key, and choose a model
  4. Open the Phantom sidebar to start chatting

Commands

Command Shortcut Description
Phantom: Open Chat — Focus the chat sidebar
Phantom: Edit Code with AI Cmd+K Edit selected code with a natural language instruction
Phantom: Explain Selected Code — Send selected code to chat for explanation
Phantom: Settings — Open the settings panel
Phantom: Rebuild RAG Index — Re-index your workspace for retrieval

Configuration

All settings are available under phantom.* in VS Code settings or via the Phantom: Settings panel.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft