Introducing Refact.ai

March 31, 2023
by Oleg Klimov

We’ve just launched Refact.ai, the AI coding assistant that combines code autocompletion, refactoring, and chat inside your favorite IDE.

You can download our plugin for JetBrains or VS Code. It’s free for personal usage, and now you can also get a 2-week free trial of Refact.ai Enterprise.

Why Refact?

We believe next-gen developer assistant tool can benefit greatly from the use of different AI models working in harmony, that’s why we decided to power Refact with a combination of models.

Our proprietary fast and smart AI completion model is state-of-the-art in size and latency. For each language group, we have fine-tuned a specific model to provide speed and accuracy. They are hosted in our data center, ensuring performance and precision for quick boilerplate and basic code refactoring. Plus, by hosting them ourselves, we can ensure the highest level of security and reliability for our users.

On top of that, we use the powerful GPT-3.5-Turbo and GPT-4 models which make it possible to chat with it using natural language and apply code improvement and explaining functions like “Find/Fix Bugs”, and “Explain Complex Code”.

Refact.ai scheme

Refact allows you to restrict access to particular files or projects, ensuring that your private code or confidential files are protected. And we don’t collect datasets on the server side. If you have NVIDIA GPU you can self-host our model using our Docker or contact us for an on-prem enterprise version.

Refact offers a wholesome developer experience by making multiple functions available inside one IDE.

Autocomplete

At the core of Refact is our autocomplete feature that works with 20+ programming languages, including Python, Javascript, Java, Go, Rust, C++, Ruby, and more. When you type some code, the model automatically generates the suggestion by looking for context up and down.

AI Toolbox

To improve your existing code quickly and easily, Refact AI Toolbox allows you to simply highlight the area you want to improve and use one of the functions to find and fix bugs, make code more readable, add console logs, or explain complex code. How to use: Press F1 after selecting the code to improve and type / for the commands.

Integrated AI Chat

Finally, you can use natural language prompts in the AI Chat to refine, explain, and generate new code, as well as provide hints on API usage and documentation links. Your code is part of the context of the conversation automatically and it also gets pasted back directly into the IDE.

Get Started

To get started, simply download Refact.ai for your favourite code editor: VS Code, JetBrains, Visual Studio, Sublime Text or make your own integration using our LSP Server.

Join our Discord community to help shape the future of independent AI coding assistants.