Code Web Chat is an open-source and privacy-first AI coding toolkit for VS Code. It helps construct prompts for chatbot smart workspaces (called projects, gems, or spaces) and APIs. It's free!
Select context, type a prompt...

Wait a few seconds...

Apply response from clipboard...

Don't want to make edits in chatbots? CWC supports remote and local (e.g. Ollama) model providers.
🌱 Sustainable AI coding
Code Web Chat is designed from the ground-up for prompt caching across tasks via smart context files ordering. Make the most of your usage limits. Reduce latency by up to 80% and input token costs by up to 90%.
Enabling autofill
Got tired with copy and paste? Enable prompt autofill with a browser extension (source code).
List of supported chatbots:
- AI Studio
- ChatGPT
- Claude
- Copilot
- DeepSeek
- Doubao
- Gemini
- GitHub Copilot
- Grok
- HuggingChat
- Kimi
- LMArena
- Mistral
- Open WebUI
- OpenRouter
- Qwen
- Together
- Yuanbao
- Z AI
The Apply response button placed under responses is not a means of automatic output extraction, it's an alias for the original copy to clipboard button. Review the content script to learn about implementation details.
Use forwarding of port 55155 when using remote machine via SSH.
Bring your own key (BYOK) for a model provider of choice to use many of the built-in API tools.
🛠️ Edit Context
Pair-programming using natural language instructions.
🛠️ Intelligent Update
Integrate changes from malformed markdown code blocks.
🛠️ Prune Context
Make the context task-focused.
🛠️ Code at Cursor
Accurate inline code from reasoning models.
🛠️ Voice Input
Transcribe speech to text in the prompt field.
🛠️ Commit Messages
Meaningful summaries of changes in your style.
🏢 Enterprise security
Code Web Chat operates exclusively on your machine. When using the browser extension for prompt autofill, data is moved via editor-browser communication channel run on local Websockets. For API tools, model providers are called directly. The tool does not collect telemetry.
Privacy Policy
Commands
Code at Cursor
Code Web Chat: Code at Cursor - Get an inline snippet while using the current context.
Code Web Chat: Code at Cursor using... - Inline snippet with configuration selection.
Code Web Chat: Code at Cursor with Instructions - Inline snippet with instructions.
Code Web Chat: Code at Cursor with Instructions using... - Inline snippet with instructions and configuration selection.
Checkpoints
Code Web Chat: Checkpoints - Restore the overall workspace state to the saved checkpoint.
Code Web Chat: Create New Checkpoint - Save the current state of the workspace.
Context
Code Web Chat: Apply Context - Apply a saved context or save the current file selection.
Code Web Chat: Add File to Context - Search and add file (or parent folder via file action) to the context.
Code Web Chat: Remove File from Context - Search and remove file (or parent folder via file action) from the context.
Code Web Chat: Search Files for Context - Search and add files containing specific keywords to the context.
Code Web Chat: Copy Context - Copy XML-formatted checked files from the Workspace view to the clipboard.
Code Web Chat: Copy Context of Open Editors - Copy XML-formatted checked files from the Open Editors view to the clipboard.
Commit messages
Code Web Chat: Commit Changes - Generate commit message and commit.
Contributing
All contributions are welcome. Feel free to submit pull requests, feature requests and bug reports.
Copyright © 2025 Robert Piosik
E-mail: robertpiosik@gmail.com
Telegram: robertpiosik