DEV Community

Refact AI for Refact AI

Posted on • Edited on • Originally published at refact.ai

Introducing Refact: Open-source alternative to Github Copilot

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 currently free for everyone while we're in the technical preview, we plan to introduce more pricing tiers soon.

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.

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 on JetBrains or VS Code for free. We're currently in a technical preview, but we're working hard to introduce different pricing tiers and would love to hear your feedback.

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

Top comments (0)