Free Copilot
Free Copilot is a VS Code extension that turns GitHub Copilot's own chat into a free AI-powered assistant. It drives your own browser session against DeepSeek and Gemini, so you can chat with a frontier model without a paid API key.
⚠️ Not affiliated with DeepSeek, Google, xAI, OpenAI or Anthropic. This extension automates third-party websites programmatically to give you a free coding assistant through your own logged-in browser session.
What's new in 0.4.11
- Readable model ids such as
free-copilot.deepseek.jiggly, so agents and the subagent tool can tell your logins apart.
- No more "background" in a new chat, and a model switch now carries the conversation over.
- Correction delay setting (
free-copilot.correctionDelaySeconds, default 2 s), and the response delay now applies to every message.
- The infinity logo on Free Copilot's tab in the model picker (VS Code 1.143+).
What's new in 0.4.9
Bug fix — realtime streaming is back.
Replies used to stall part-way and then resume only at the end of the turn. They now stream in real time again.
What's new in 0.4.8
Bug fix — a saved login no longer disappears when you switch projects.
Browser profiles used to be keyed by both the account and the workspace, so a
project opened for the first time got an empty profile and asked you to log in
again — even though the account was already signed in elsewhere. Profiles are
now keyed by the account alone and shared by every window and workspace:
sign in once, use it anywhere. The per-workspace split never isolated anything
anyway, because the default browser is your own Chrome and Chrome reconciles
separate profile directories onto the Chrome profile you signed in with.
- Two VS Code windows still cannot drive the same account at the same time;
the second gets an "already open in another window" message.
Old per-workspace profile folders are left on disk untouched — they hold real
logins, and copying a live browser profile corrupts it. You can delete
<global storage>/browsers/<folder-with-a-window-key> manually if you no
longer need it.
Free Copilot has no chat of its own
This is the whole point of 0.3.0. Free Copilot is not another chat panel competing for space next to GitHub Copilot — it is a model provider for GitHub Copilot itself. It registers a VS Code language-model provider, so its models appear in the same picker GitHub Copilot already uses. Pick one, and the editor's own chat — its agent loop, its tools, its approvals, its history — drives a real tab on the provider's site.
The Free Copilot panel you open from the Activity Bar is not a chat. It is only where you set the extension up: Accounts (your saved logins) and Settings (how the models behave). Once your accounts exist, you never need that panel open — everything else happens inside GitHub Copilot's chat, exactly as if Free Copilot were a first-party model.
What you get
- Free models, in the picker you already use — no separate chat window, no second agent loop, no copied conversation. The models appear under a Free Copilot group in GitHub Copilot's model picker.
- Your own browser, your own logins — uses a browser you already have installed (visible, not headless), so it reuses your existing cookies and passes the sites' anti-bot checks.
- One model entry per saved account — each account you create appears in the chat model picker as
account-platform (for example user1-DeepSeek).
- A tab per chat — every chat you start opens its own browser tab and keeps its own website conversation, so a chat you leave keeps answering while you work elsewhere.
- VS Code's own tools — whichever tools you leave enabled in the chat's tool picker are described to the site, and when the model asks for one, VS Code runs it: its file, search and terminal tools, with their usual approval prompts.
- Attachments — an image, PDF or document attached in the chat is handed to the site as a real file, the same way you would drag one onto the website.
- Thinking traces — the site's reasoning (DeepSeek's DeepThink panel) is shown as the collapsible Thinking block the editor's chat draws.
Requirements
- VS Code
1.125.0 or above.
- An installed browser: Chrome (default), Edge, or nothing at all — the bundled Chromium works too. Only Chromium-based browsers are supported (see Browsers).
- A free account on one or more of the supported sites.
Getting started
- Install the extension and reload the window.
- Open the Free Copilot icon in the Activity Bar. It has two tabs:
- Accounts — create a saved browser session.
- Settings — how the models behave once they exist.
- In Accounts, give the new account a name and click + Add, then tick the models it should offer. An account with nothing ticked is not shown in the model picker.
- Open VS Code's own chat, open the model picker, and choose your account under the Free Copilot group. Each entry is one of your accounts paired with one of the models you ticked for it, named
account-platform (e.g. user1-DeepSeek).
- A tab opens on the provider's site. Log in there, handle any CAPTCHA, then click Save Session on that account's row in the Accounts tab.
- Ask a question. The site's answer streams back into the editor's chat.
Repeat step 3 for as many logins as you want. Each chat you start gets its own tab.
Supported sites
Every site below is offered in VS Code's model picker, one entry per saved
account and ticked platform:
- DeepSeek (
chat.deepseek.com)
- Gemini (
gemini.google.com)
- ChatGPT (
chatgpt.com)
- Claude (
claude.ai)
- Grok (
grok.com)
- Google AI Mode (entered from
google.com by clicking AI Mode)
- Microsoft Copilot (
copilot.microsoft.com)
- Meta AI (
meta.ai)
- Mistral (
chat.mistral.ai)
- Perplexity (
perplexity.ai)
DeepSeek is the most thoroughly verified (it is the one with live captures
behind its reader). The others are implemented and offered, but their DOM
readers are less battle-tested — if a reply shows up on the site and not in
VS Code, that provider's reader needs re-capturing; the extension says so
explicitly rather than silently retrying.
Tick the platforms you want under an account in the Accounts tab; a tick
takes effect in the picker immediately, with no window reload.
Gemini brings its own built-in tools (Think, DeepSearch, web search, code execution, Artifacts, Canvas…), and a model will often reach for one of those instead of the tool-call format the extension teaches it. Each provider therefore declares the tools its site offers in its config, and the briefing names and forbids them, so tool use stays inside your VS Code workspace. Providers with no such tools (DeepSeek) get the unchanged briefing.
Settings
Everything here is in the Settings tab of the Free Copilot panel.
| Setting |
Description |
free-copilot.browser |
Which installed browser to drive: chrome (default), edge, or chromium (the bundled one). Needs a window reload. See Browsers. |
free-copilot.maxToolCallsPerTurn |
How many tool calls one turn may make before the model is stopped and asked to refine the request (default 25). Every round trip is a full website request, so this is also a cost ceiling. |
free-copilot.correctionAttempts |
How many times a reply that could not be used (an unparsable tool call, or an empty answer) may be corrected before the turn gives up (default 3, max 10). Each correction is a full website round trip; set 1 to disable the retry. |
free-copilot.correctionDelaySeconds |
Seconds to wait before each correction is sent for a refused (improper) tool call or an empty reply (default 2, range 0-60). Added on top of the response delay; 0 sends it at once. |
free-copilot.streamSettleSeconds |
The ceiling on one turn, in seconds (default 10, range 0.3-30). This is a fallback, not a per-turn delay: a reply that finishes earlier is shown immediately. Raise it on a slow connection so a long answer is not cut short; lower it so short answers settle sooner. |
free-copilot.responseDelayBaseSeconds |
Base pause (a, seconds) before each message is submitted, so responses are not instant. 0 disables. |
free-copilot.responseDelayJitterSeconds |
Random jitter (b, seconds) around the base. Clamped to a. 0/0 disables. |
free-copilot.experimentalNativeChat |
Whether Free Copilot's models appear in VS Code's own chat. On by default; turning it off keeps the editor's chat untouched. Needs a window reload. |
free-copilot.nativeChatAccount |
Fallback only: which saved account the profile-less picker entry uses. Leave empty to pick automatically. |
free-copilot.maxNativeChatConversations |
How many chats keep their own browser tab before the least recently used one is forgotten (default 8). Its tab is never closed for you. |
free-copilot.nativeChatThinking |
Show the site's reasoning trace in the editor's chat. Needs a VS Code that supports thinking parts (1.130+). |
free-copilot.nativeChatDebug |
Diagnostic: print every message the editor sent, and whether anything was forwarded to the website. Off by default. |
Files as context
A chat box cannot carry bytes, so the only honest way to "attach" a file is to hand it to the site the way you would drag one in.
| How it gets there |
What happens |
| You attach a file in VS Code's own chat |
An image, PDF or document is written to a temporary file, handed to the site's own upload, and the message asks the model to read it there. |
| You use the Free Copilot attach tool |
The freecopilot_attachFile tool takes a workspace path — useful when a file cannot travel as text, such as a PDF or a screenshot. |
| Something is too long to paste |
Text over the site's own limit is attached as a file with a one-line pointer in the chat, rather than being truncated away. |
Temporary files live in your OS temp folder (free-copilot-attachments/) and are cleared as new chats start.
Browsers
Free Copilot drives a browser you already have, so the logins in it are the ones
your saved sessions capture. Set free-copilot.browser to choose which:
| Value |
What it launches |
chrome |
Google Chrome (the default). |
edge |
Microsoft Edge. Same Chromium engine, launched by its own channel name. |
chromium |
A bundled/system Chromium — for machines with no branded browser. It starts logged out, so you log in once and save that session. |
If the browser you chose is not installed, Free Copilot warns you and falls back
to a bundled/system Chromium rather than failing every chat.
Why chromium does not pin a revision
Playwright normally looks for the exact browser revision pinned to its own
version — playwright-core@1.61.1 wants chromium-1228 and nothing else — and
errors with "Executable doesn't exist at …/chromium-1228/…" if the machine has
a different one (say chromium-1248 installed by another tool) or only a system
Chromium. This extension ships playwright-core only and never downloads
browsers, so that pin is the wrong thing to trust.
When you pick chromium, Free Copilot instead resolves an actual binary at
runtime, in this order:
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH, if you set it to a Chromium binary.
The newest chromium-<n> under Playwright's cache (ms-playwright /
~/.cache/ms-playwright / PLAYWRIGHT_BROWSERS_PATH) — the revision is read
from the folder name, never assumed.
A system Chromium/Chrome (/usr/bin/chromium, /usr/bin/google-chrome,
/Applications/Chromium.app, …\Google\Chrome\Application\chrome.exe, …).
If none is found, it falls back to Playwright's own resolution. To install a
Playwright-managed browser explicitly, run npx playwright install chromium
(playwright-core does not fetch browsers by itself).
Only Chromium-based browsers are supported. The extension relies on
Chromium-only anti-automation flags (dropping --enable-automation and
disabling the AutomationControlled blink feature) so the sites it drives do not
see navigator.webdriver and block sign-up / login. Firefox has no equivalent,
so it was removed rather than half-supported.
One browser window per account
Each saved account gets its own browser window, backed by its own on-disk
profile under the extension's global storage. Two accounts never share a window,
so the browser you leave open for one account stays signed in independently of
the others and the windows do not fight over each other's cookies.
The profile is keyed by the account only, and shared by every VS Code window
and every workspace. Sign in once and that login is available from every
project you open — a fresh project no longer asks you to log in again. Because
a profile can only be driven by one browser at a time, opening the same
account from two VS Code windows at once is refused with an "already open in
another window" message; use a second account for that.
Changing this setting needs a window reload.
Privacy
- This extension does not send your messages or credentials to any server of its own.
- All automation happens through a local browser on your machine. Your conversations go directly to the provider you choose.
- Sessions (cookies and localStorage) are stored locally as Playwright
storageState files.
Limitations & disclaimers
- Unofficial. This is not an official client. The sites it drives can change their DOM or terms of service at any time and may break the selectors.
- Site terms. Automating these sites may violate their terms of service. Use it responsibly and at your own risk — review the provider's terms and keep your account in good standing.
- Fragile. Because it relies on DOM selectors, an update to a provider's page can break extraction until the selectors are updated.
- Slow with tools. Each tool round trip is a full website request (roughly 7–9 seconds), so an agent task that uses several tools takes minutes. Ask mode is fine for plain questions.
- A damaged tool call is refused, not run. The site's model writes each call as text, and a chat website re-formats text that is not inside a code block. A payload that was not fenced, a call that spilled into the next one, or one carrying the chat site's own control token is never handed to a tool — a damaged write is worse than a missing one. Free Copilot then asks for a corrected call (up to
free-copilot.correctionAttempts times, default 3); if every attempt is refused too, the reply is shown as text so nothing is silently lost.
License
MIT