# refact **Repository Path**: jxzx2/refact ## Basic Information - **Project Name**: refact - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-11 - **Last Updated**: 2025-09-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Refact.ai logo

Refact - Open Sourced AI Software Development Agent

Stargazers Join our Discord community Check out the documentation
Refact.ai is the #1 open-source AI Agent in SWE-bench verified that handles engineering tasks end-to-end. It deeply understands your codebases and integrates with your tools, databases, and browsers to automate complex, multi-step tasks. ## πŸš€ Seamless Integration with Your Workflow Refact Agent works effortlessly with the tools and databases you already use: - **πŸ“ Version Control:** GitHub, GitLab - **πŸ—„οΈ Databases:** PostgreSQL, MySQL - **πŸ› οΈ Debugging:** Pdb - **🐳 Containerization:** Docker ### ⚑ Why Choose Refact Agent? - βœ… **Deploy On-Premise:** For maximum security, choose our self-hosted AI Agent version and run it on your own infrastructure. - 🧠 **Access State-of-the-Art Models:** Use Claude 4, GPT-4o, or GPT-4o mini with AI Agent or for chat queries. - πŸ”‘ **Bring Your Own Key (BYOK):** Connect your API key and use any LLM: Gemini, Grok, OpenAI, Deepseek, and others. - πŸ’¬ **Integrated IDE Chat:** Integrate with GitHub, PostgreSQL, Docker, and more. Refact.ai Agent accesses your resources and handles related operations autonomously, mimicking your workflow. - ⚑ **Free, Unlimited, Context-Aware Auto-Completion:** Code faster with smart AI suggestions. - πŸ› οΈ **Supports 25+ Programming Languages:** Python, JavaScript, Java, Rust, TypeScript, PHP, C++, C#, Go, and many more! ### πŸŽ‰ Hear from our Community Our Ambassadors shared remarkable stories of how they transform weeks of coding into minutes with Refact.ai Agent! 1️. How Refact.ai built 99.9% of an IoT cloud app [Read](https://www.linkedin.com/posts/refactai_refactai-agent-activity-7308103386451578881-FO23/) 2️. How AI-coded prototypes help UX teams deliver real value [Read](https://medium.com/@siarheimardovich/how-ai-coded-prototypes-help-ux-teams-deliver-real-value-b51eb2ea5167) 3️. 80 hours of building from scratch β€” instead done in 30 minutes [Read more](https://www.linkedin.com/posts/refactai_refactai-users-stories-activity-7310996174864289793-692-/) 4️. 3 weeks of waiting for a functional GUI? Built in just 14 minutes [Read more](https://www.linkedin.com/posts/refactai_refactai-users-stories-activity-7310996174864289793-692-/) 5. Built an automated SEO Content Generator in 60 minutes with Refact.ai [Read more](https://refact.ai/blog/2025/automated-seo-content-generator-in-60-minutes/) πŸ“œ [View Full List of Supported Models](https://docs.refact.ai/supported-models/) > πŸ“’ **Using AI for work? Let’s bring it to your company!** > > [Fill out this form](https://refact.ai/contact/?utm_source=github&utm_medium=readme&utm_campaign=enterprise) β€” Our AI Agent will be tailored to your company’s data, learning from feedback, and helping organize knowledge for **better collaboration** with your team. ## πŸ“š Table of Contents - πŸš€ [Core Features and Functionality](#-core-features-and-functionality) - πŸ€– [Which Tasks Can Refact Help You With?](#-which-tasks-can-refact-help-you-with) - βš™οΈ [QuickStart](#%EF%B8%8F-quickstart) - 🐳 [Running Refact Self-Hosted in a Docker Container](#-running-refact-self-hosted-in-a-docker-container) - πŸ”Œ [Getting Started with Plugins](#-getting-started-with-plugins) - πŸ“– [Documentation](#-documentation) - πŸ₯‡ [Contribution](#-contribution) - πŸŽ‰ [Join the Community](#-join-the-community) ## πŸš€ Core Features and Functionality βœ… **Unlimited accurate auto-completion** with context awareness – Powered by Qwen2.5-Coder-1.5B, utilizing Retrieval-Augmented Generation (RAG). ![auto-completion](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfClhl11Ul0YQjDTZJvrfhsj3bqK_VIz6bFfbTRc62dsMOz4LK4u72i9-gLTQDIgm0yChmFe57hvUxSoI2fQ5DSntna7_Ch0qbGx5zcB-othfwKnoYkbt3M3YgGFlrqFszuDEBhUw?key=zllGjEBckkx13bRZ6JIqX6qr) βœ… **Integrated in-IDE Chat** – AI deeply understands your code and provides relevant, intelligent answers. βœ… **Integrated with Tools** – Works with GitHub, GitLab, PostgreSQL, MySQL, Pdb, Docker, and shell commands. ![integrations](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc4DWYXF73AgPWAaFFGLTqEprWwA0im8R_A1QMo4QW4pTnSi1MCoP9L8udMZb5FPyN-CdgefaxJFGpX2ndn5nkjGBF2b_hZBNHogM7IM6SPvUIvUd9iE1lYIq7q-TB2qKzSGLk00A?key=zllGjEBckkx13bRZ6JIqX6qr) βœ… **State-of-the-Art Models** – Use Claude 4, GPT-4o, or GPT-4o mini with AI Agent or for chat queries. βœ… **Bring Your Own Key (BYOK)** – Use your own API keys for external LLMs. ![BYOK](https://lh7-rt.googleusercontent.com/docsz/AD_4nXe1UDsuaER6WMxAnKEwz15T3OPslkpSo2vNGMGaNoEiZOJvAptY8yEvND_rI23q_5Sof1DceexyrW5x6oUwcpVr5KQvWUByrN_TnLGVY2HG_0sg8uWnRb14jKAes2MBDPM37EQO?key=zllGjEBckkx13bRZ6JIqX6qr) ## πŸ€– Which Tasks Can Refact Help You With? - πŸ— **Generate code** from natural language prompts (even with typos). - πŸ”„ **Refactor code** for better quality and readability. - πŸ“– **Explain code** to quickly understand unfamiliar code. - 🐞 **Debug code** to detect and fix errors faster. - πŸ§ͺ **Generate unit tests** for reliable code. - πŸ“Œ **Code Review** with AI-assisted suggestions. - πŸ“œ **Create Documentation** to keep knowledge up to date. - 🏷 **Generate Docstrings** for structured documentation. ## βš™οΈ QuickStart You can install the Refact repository without Docker: ```bash pip install . ``` For GPU with CUDA capability >= 8.0 and flash-attention v2 support: ```bash FLASH_ATTENTION_FORCE_BUILD=TRUE MAX_JOBS=4 INSTALL_OPTIONAL=TRUE pip install . ``` ## 🐳 Running Refact Self-Hosted in a Docker Container The easiest way to run the self-hosted server is using a pre-built Docker image. See `CONTRIBUTING.md` for installation without a Docker container. ### πŸ”Œ Getting Started with Plugins 1. **Download Refact** for VS Code or JetBrains. 2. **Set up a custom inference URL:** ``` http://127.0.0.1:8008 ``` 3. **Configure the plugin settings:** - **JetBrains:** Settings > Tools > Refact.ai > Advanced > Inference URL - **VSCode:** Extensions > Refact.ai Assistant > Settings > Address URL ## πŸ“– Documentation For detailed guidance and best practices, check out our [documentation.](https://docs.refact.ai/) ## πŸ₯‡ Contribution Want to contribute to our project? We're always open to new ideas and features! - **Check out GitHub Issues** – See what we're working on or suggest your own ideas. - **Read our Contributing Guide** – Check out `Contributing.md` to get started. Your contributions help shape the future of Refact Agent! πŸš€ ### ⭐ Star History ![image (4)](https://github.com/user-attachments/assets/48440c6e-b0cd-4421-880e-44924bd21693) ### πŸŽ‰ Join the Community We're all about open-source and empowering developers with AI tools. Our vision is to build the future of programming. Join us and be part of the journey! πŸ“’ **[Join our Discord server](https://refact.ai/community/)** – A community-run space for discussion, questions, and feedback. **Made with ❀️ by developers who automate the boring, so you can focus on building the future.**