Refact.ai
Open-source coding agent for VS Code and JetBrains with self-hosting and BYOK.
Overview
Refact.ai provides an agent, chat and code completion for VS Code and JetBrains IDEs. The self-hosted server and the plugins can use your own OpenAI, Anthropic or other keys, or run open models on your own GPU.
- Autonomous agent
- Code completion
- Self-hosted server
- Repo-level context
Our verdict
What we like
- Self-hostable end to end
- Open source
Watch out for
- Self-hosting needs a GPU for local models
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in Refact.ai
Grade A
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
8 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Refact.ai FAQ
- Does Refact.ai support bring your own key?
- Yes. Refact.ai accepts your own API key from OpenAI, Anthropic, Google Gemini, DeepSeek, Groq, OpenRouter, Ollama and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does Refact.ai store my API key?
- On your device. Requests go directly from Refact.ai to the provider. Its BYOK Tools Key Safety Score is 100/100.
- Is Refact.ai free?
- Freemium: Free self-hosted; paid cloud plans. API usage is billed separately by your model provider.
- Is Refact.ai open source?
- Yes. The source code is at https://github.com/smallcloudai/refact. It can also be self-hosted.
- Can Refact.ai run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does Refact.ai support?
- VS Code, JetBrains, Self-hosted.
Community reviews
No reviews yet.
Alternatives to Refact.ai
All coding agents & ides →Continue
Coding Agents & IDEs
Open-source AI coding assistant for VS Code and JetBrains.
Kilo Code
Coding Agents & IDEs
Open-source VS Code and JetBrains agent combining Cline and Roo ideas.
Cline
Coding Agents & IDEs
Autonomous coding agent in VS Code that uses your own API keys.
Roo Code
Coding Agents & IDEs
Customizable multi-mode AI coding agent for VS Code.
OpenHands
Coding Agents & IDEs
Open-source autonomous software engineering agent platform.
marimo
Coding Agents & IDEs
Reactive Python notebook with built-in AI code generation using your keys.