Refact AI (refact.ai) is an open-source AI coding agent that handles engineering tasks end-to-end — from planning and code generation to testing and deployment — directly inside your IDE. Ranked #1 open-source AI Agent on SWE-bench Verified, Refact integrates with VS Code, JetBrains, Visual Studio, Neovim, and Sublime Text. It supports on-premises deployment for complete code privacy, fine-tuning on your own codebase, and BYOK (Bring Your Own Key) to connect your own OpenAI, Anthropic, or local model API keys.
How Refact AI Works
Refact AI operates as an autonomous agent inside your IDE. You describe a task in natural language — fix a bug, add a feature, refactor a module — and Refact plans the steps, searches your repository for context using RAG (Retrieval-Augmented Generation), executes the changes, runs tests, and iterates until the task is complete. It uses a coin-based system where $1 equals 1,000 coins, and simple tasks consume fewer coins than complex ones. BYOK users can connect their own API keys and use Refact at zero coin cost.
Key Features
- Autonomous AI Agent — plans, executes, tests, and deploys code end-to-end without constant developer input
- RAG-powered code completion — Qwen2.5-Coder model with full repository context for accurate inline suggestions
- On-premises deployment — self-host on your own servers or private cloud with zero telemetry
- BYOK support — connect OpenAI, Anthropic, OpenRouter, or local Ollama models at no coin cost
- Codebase fine-tuning — train AI on your own stack to match your team's coding standards and architecture
- Tool integrations — connects with GitHub, databases, CI/CD pipelines, and browsers
- 25+ language support — Python, JavaScript, Java, Rust, PHP, C++, C#, Go, and more
- Coin-based pricing — pay only for what the agent actually does; coins never expire
Refact AI Pricing

- Free — $0/month — 5,000 coins/month, unlimited code completions, core AI agent access, and BYOK support. No credit card required.
- Pro — $10/month — higher monthly coin allocation, advanced AI agent capabilities, priority access to Claude 3.7 Sonnet and GPT-4o, and all Free features.
- Enterprise — Custom pricing — on-premises deployment, LLM fine-tuning on your codebase, complete code privacy with zero telemetry, team management, and dedicated engineer support.
Additional coins can be purchased at $1 = 1,000 coins from $5 minimum. Coins never expire across plans.
Always check the latest rates on the official website. For more AI tool reviews, visit aitoolscoop.com.
Who Should Use Refact AI?
Refact AI is built for developers who want a truly autonomous coding agent that can handle entire engineering tasks without constant supervision. It is especially valuable for enterprise teams in regulated industries who need on-premises deployment and codebase fine-tuning. Developers who want to use their own AI model API keys will find BYOK particularly attractive, enabling full Refact agent capabilities at zero coin cost beyond their own provider charges.