The AI coding assistant that stays on your side.
Gencode NG is a free, open-source VS Code extension by AIdemic LLC. Bring your own model, run offline, and keep complete control over your data — with autocomplete, chat, inline edits and autonomous agents built in.

Built for how developers actually work
Switch between autocomplete, chat, inline edit and agent mode without ever leaving your editor.
Ghost-text suggestions inline as you type.
Ask engineering questions in a sidebar panel.
Refactor selected code with natural language.
Autonomous multi-step tasks across your repo.
Understands your codebase, not just your file

@-mention anything. Get answers with context.
Reference entire directories, individual files, or your docs with @ commands. Retrieval-augmented generation ensures the model understands your repository's unique architecture before it writes a line.
- • Codebase-aware RAG with local indexing
- • Inline diffs for every generated change
- • Slash commands like /edit, /comment, /fix
- • One-click troubleshooting from terminal errors
Your code. Your models. Your rules.
Vendor-agnostic by design
Plug in Anthropic Claude, OpenAI GPT, Google Gemini, xAI — or run DeepSeek-R1 and Qwen-2.5-Coder entirely offline via Ollama. Assign different models to different tasks and save tokens with our built-in TokenSaver.

Engineering notes from AIdemic
Guides, launches, and deep-dives on building AI tooling that respects your workflow.

Introducing Gencode NG: an AI coding assistant that stays on your side
Today we're launching Gencode NG, a free and open-source VS Code extension that puts you back in control of your AI coding workflow.
Read article →
Running Gencode NG completely offline with Ollama
Keep every keystroke local. A step-by-step look at pairing Gencode NG with Ollama, DeepSeek-R1, and Qwen-2.5-Coder for a fully offline AI setup.
Read article →
TokenSaver under the hood: how we cut prompt cost by 40%
A deep dive into the prompt optimization, context management, and output formatting techniques that make TokenSaver work.
Read article →Start coding with Gencode NG today.
Free forever. No account required. Install directly from the VS Code marketplace.