I just found out that if you connect VS Code to Replit through SSH, you can use Github Copilot Agent and “Assistant” inside your replit source code.
I know Codex and ClaudeCode works in replit shell but this way you can have even more options and a better UI, plus you get 50 free premium requests per month for selected models.
Do the heavy lifting and refactoring with Replit’s Agent 3 and put gpt-5-mini agent to work on smaller tasks. You can also bring you own api keys and use whatever model you have access to. So you can balance your development costs better.
Here’s how to do it:
- Create SSH keys for your computer and add the public key to Replit account and connect to your Replit, follow the docs:
You can see the Replit’s source in VS Code:
- After connecting VS Code, open the chat and work with Agent or Assistant (Ask/Edit) on your codebase.
If you haven’t set up Copilot in VS Code, then check this guide:
- Then choose your model/tools, customize agent etc. and start vibing.


