Echo Local AI Code Assistant
Private, lightning-fast, 100% local AI coding assistant for Visual Studio Code.
Powered by local Ollama models, embedded LanceDB vector search, autonomous workspace tools, and hardware-aware model selection. Zero cloud data leaks, zero telemetry on your code.
Overview
Echo Local AI turns your local machine into an AI coding powerhouse. Unlike cloud-based assistants, Echo runs entirely on your hardware:
- 100% Privacy & Security: Your proprietary code never leaves your workstation.
- Local Vector RAG: Instant semantic codebase indexing and search using LanceDB.
- Autonomous Agentic Coding: Multi-turn agent that can read, create, edit, rename, move, delete, and refactor files across your entire project hierarchy.
- Hardware-Aware Model Recommendation: Automatically detects system RAM to recommend the ideal model size for your system.
- Interactive Model Selector: Live dropdown in the chat sidebar to switch local models on the fly with persistent preference saving.
- Inline Ghost-Text Completions: Fast Fill-In-the-Middle (FIM) code suggestions as you type.
- 7-Day Free Trial & Pro Licensing: Managed via Whop with a dynamic VS Code status bar indicator.
Key Features
1. 100% Local RAG (Codebase Semantic Search)
- Automatic Workspace Indexing: Scans files, chunks them using LangChain splitters, and creates local vector embeddings stored in
.lancedb/.
- Live File Watcher: Automatically re-indexes files as you edit, create, or delete them in real time.
- Context-Aware Answers: Pulls accurate semantic snippets directly into the LLM context to answer architecture and implementation questions.
Echo doesn't just chat—it modifies your workspace autonomously:
- Smart Path Resolution: Finds files anywhere in your workspace without requiring full paths (e.g.
chunker.py automatically resolves to rag/chunker.py).
- Safe Code Modification (
editFile): 5-tier fuzzy matching algorithm that safely edits functions without breaking formatting.
- Smart Imports (
mergeCodeWithImports): Automatically detects and hoists new imports (import ..., from ... import ..., require(...)) to the top of the file.
- Function Code Injection (
insertAfterFunction): Safely appends methods or endpoints immediately after target function/class definitions.
- Full Module Scaffolding (
scaffoldModule & batchCreateFiles): Generates multi-file modules, folders, and templates in a single autonomous turn.
- Workspace Navigation: Lists directories, generates ASCII project trees (
getWorkspaceStructure), and finds files by glob pattern.
3. Hardware-Aware Model Recommendation
Echo analyzes your system RAM (os.totalmem()) and calculates optimal parameter targets:
| Hardware Tier | Memory Headroom | Recommended Parameter Target | Max Safe Size | Example Models |
|---|---|---|---|---|
| Light | < 8GB RAM | ~1.5B parameters | 4B | qwen2.5-coder:1.5b, llama3.2:1b |
| Standard | 8 – 16GB RAM | ~3.0B parameters | 9B | qwen2.5-coder:3b, llama3.2:3b |
| High-Performance | 16 – 32GB RAM | ~7.0B parameters | 18B | qwen2.5-coder:7b, codellama:7b, deepseek-coder:6.7b |
| Top-Tier | > 32GB RAM | ~32.0B parameters | 72B | qwen2.5-coder:32b, codellama:34b |
- Model-Agnostic Fairness: No vendor lock-in. Models like
codellama, starcoder, deepseek, and llama are evaluated equally based on parameter size proximity and RAM safety.
- Smart Fallback: If the exact target is missing, Echo selects the closest safe model installed locally without throwing errors.
- Missing-Model Assistant: If Ollama has no models installed, Echo offers a 1-click automatic pull with a VS Code progress notification or copies
ollama pull <tag> to your clipboard.
- Live Dropdown: Rendered in the sidebar header with all detected local Ollama models.
(Recommended) Tag: Places the optimal hardware-selected model at the top.
- Instant Switching: Updates inference immediately for both chat and inline ghost text.
- Persistent Storage: Remembers your manual override across VS Code restarts.
5. Inline Code Completions
- Provides low-latency inline code suggestions (ghost text) using Fill-in-the-Middle (FIM) formatting.
- Press
Tab to accept suggestions, Esc to dismiss.
- Shows active trial status (e.g.,
$(clock) Echo AI: 5 Days Left in Trial) or Pro status ($(sparkle) Echo AI: Pro Active).
- Warning color alert when $\le 2$ days remain in the trial.
- 1-click modal to enter your Whop license key or upgrade to Pro ($4.99/mo).
Prerequisites
- Visual Studio Code version
1.90.0 or higher.
- Ollama installed and running locally:
- Download from ollama.com
- Ensure Ollama is running (
http://127.0.0.1:11434)
- At least one coding model pulled, for example:
ollama pull qwen2.5-coder:3b
# or
ollama pull codellama:7b
# or
ollama pull deepseek-coder:6.7b
Usage & Commands
Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
| Command |
Title |
Description |
echo.openChat |
Open Echo Chat |
Opens the Echo AI chat sidebar panel. |
echo.enterLicenseKey |
Echo: Enter License Key |
Prompts for your Whop license key to unlock Echo AI Pro. |
echo.checkLicenseStatus |
Echo: Check License Status & Trial |
Displays current trial days remaining or active Pro subscription info. |
Using the Chat Interface
- Type your prompt in the auto-expanding textarea at the bottom of the sidebar.
Enter: Submit prompt.
Shift + Enter: Add a newline.
- Stop Button: Cancel an ongoing generation stream anytime.
- Model Selector: Use the top-right dropdown to switch active local LLM models instantly.
License
Echo Local AI is distributed under a commercial freemium license with a 7-day free trial. Unlimited lifetime and monthly access is available via Echo AI Pro on Whop.
| |