
Refact.ai
Open-source, self-hostable AI coding assistant for privacy-first teams.
About
Refact.ai by SmallCloud is an open-source (BSD-3-Clause) AI coding assistant designed for complete data sovereignty. It combines fine-tuned open-weights code models with VS Code and JetBrains plugins, offering code completion, in-editor chat, and an autonomous agent mode that plans and executes multi-file engineering tasks. The headline feature is the self-hosted Enterprise Server deployable via Docker or Kubernetes, so not a single line of proprietary code leaves your infrastructure. It ranked #1 among open-source agents on SWE-bench Lite at 60%.
The honest caveat: self-hosting requires GPU infrastructure and operational effort that small teams may not want. The hosted free tier exists but the product's center of gravity is enterprise on-premise, and community resources are smaller than Copilot or Cursor ecosystems.
What it can do
- Code completion powered by fine-tuned open-weights models
- Autonomous agent mode for multi-file engineering tasks
- Self-hosted deployment with zero code leaving your network
- Custom model fine-tuning on your team's codebase
- RAG over the full workspace for context-aware suggestions
Setup
Install the VS Code or JetBrains extension from the marketplace, or deploy the self-hosted server via Docker. Free tier available on the hosted cloud; Pro from $10/month; bring-your-own-key supported.
Prerequisites
VS Code or JetBrains IDE. For self-hosting: Docker/Kubernetes plus GPU infrastructure.
Use cases
Works with
Trust score — 7/10
Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 44 (tools-a); Trending score 71/100 from researcher assessment.
★ 3,500 GitHub stars
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.