A customized fork of Visual Studio Code featuring an integrated AI assistant and embedded web browser. The default editor area has been replaced by the AI Web Explorer app.
Embedded Browser: Load any website directly inside VSCode from an input box.
AI Chatbox: Ask questions about the website using Gemini LLM.
Two-Panel Layout:
Tested successfully with https://wikipedia.org (no proxy required).
src/vs/workbench/contrib/aiWebBrowser/
├── browser/
│ ├── aiWebBrowserEditor.ts # Main React-based view (browser + chatbox)
│ ├── aiWebBrowserInput.ts # Editor Input
│ ├── aiWebBrowser.contribution.ts # Entry point registration
In order to clone the repository and install dependencies via npm, you need network access.
⚠️ Important: Clone the repository into a path without spaces to avoid errors while compiling native modules.
Git
Node.js (x64 or ARM64) version ≥ 20.x (check .nvmrc for the recommended version)
If using nvm, set the default version using:
nvm alias default <VERSION>
Windows (ARM64): Add arm64 postfix, e.g. nvm install 22 arm64.
Python (for node-gyp)
Ensure Python runs correctly from the command prompt.
Install setuptools if missing:
pip install setuptools
C/C++ Build Tools
Install Visual Studio Build Tools or Visual Studio Community Edition.
Minimum workload: Desktop Development with C++.
Required components (for Spectre-mitigated builds):
MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)C++ ATL for latest build tools with Spectre MitigationsC++ MFC for latest build tools with Spectre MitigationsWindows on ARM only: install Windows 10 (Or 11) SDK (10.0.20348.0).
After installation, run:
npm config edit
and add:
msvs_version=2022
⚠️ Ensure your user profile path only contains ASCII characters (e.g.,
C:\Users\John). Non-ASCII paths can causenode-gypissues.
git clone https://github.com/phambaophuc/vscode.git
cd vscode
git checkout feat/ai-web-browser
npm install
For web build:
npm run watch
./scripts/code-web.sh
For desktop build:
npm run watch
./scripts/code.bat
You do not need a .env file.
The Gemini API key is entered directly via the input box in the chat UI.
Example usage:
https://wikipedia.org) and click Load.After starting VSCode from your build, open the Command Palette using:
Ctrl + Shift + P
Then search for and select:
AI Web Browser: Open
This will open the custom AI Web Browser view inside the main editor area.
| Command Palette Search | Result |
|---|---|
| Embedded Browser | AI Chatbox |
|---|---|
Full Interface:
Developed by Pham Bao Phuc