Refact.ai is an open-source AI coding assistant and agent developed by Smallcloud Inc., founded by a team with backgrounds at JetBrains, Cognigy, and other developer tooling companies. Positioned as a self-hostable alternative to closed AI coding tools, Refact.ai ships as a VS Code and JetBrains extension backed by a local Rust engine called refact-lsp, with the agent and orchestration logic available under open-source licenses on GitHub.
The product covers the full AI coding stack: chat with project context, code completion, codebase search and RAG, an autonomous agent for multi-step tasks, browser automation, and integrations with external tools. Refact.ai has ranked among the top open-source AI agents on the SWE-bench Verified leaderboard, and the company highlights that project state, indexes, trajectories, and task data stay on the user's machine when self-hosted, with the engine only reaching out to the model providers and integrations the user explicitly configures.
Refact.ai's commercial model centers on simple pricing layered on top of the open-source core. The Free plan includes the full autonomous AI Agent capabilities with around 2,000 coins per month for agent and chat usage, while the Pro plan at approximately $10 per month adds unlimited code completions powered by an in-house model based on Qwen2.5-Coder-1.5B plus RAG. Enterprise options include on-premise deployment, custom fine-tuning, and private model hosting; Refact's earlier hosted cloud offering has been retired in favor of this self-hosted and BYO-model model.
The tool is best suited to engineering teams in regulated industries, enterprises with strict data-egress requirements, and developers who want full control over which models touch their code. It is less of a fit for individual users who just want a polished, all-in-one cloud product or for teams that prefer not to manage any infrastructure themselves.