重構開源人工智慧軟體開發代理人

精選
建立者smallcloudaismallcloudai

AI代理,負責端到端的工程任務:與開發者工具整合,計劃、執行並不斷迭代,直到達成成功的結果。

概覽

什麼是 Refact?

Refact 是一個先進的 AI 代理,旨在從頭到尾處理工程任務。它與開發者的工具無縫整合,允許高效的規劃、執行和迭代,直到達成成功的結果。這一創新解決方案旨在提高生產力並簡化軟體開發中的工作流程。

Refact 的特點

  • 端到端任務管理:Refact 全面管理工程任務,確保從規劃到執行的每一步都得到覆蓋。
  • 與開發者工具的整合:它與開發者使用的各種工具連接,使其更容易融入現有的工作流程。
  • 迭代學習:該 AI 不斷從每個任務中學習,隨著時間的推移提高其性能和適應性。
  • 友好的用戶界面:Refact 設計時考慮了可用性,提供直觀的界面,簡化複雜的工程過程。
  • 公共庫:Refact 作為公共庫提供,允許開發者訪問、貢獻和共同增強該項目。

如何使用 Refact

  1. 訪問庫:訪問 Refact GitHub 庫 開始使用。
  2. 克隆庫:使用 Git 將庫克隆到本地機器。
    git clone https://github.com/smallcloudai/refact.git
    
  3. 安裝依賴:按照庫中提供的安裝說明設置您的環境。
  4. 與您的工具整合:配置 Refact 與您現有的開發者工具協同工作,以實現無縫整合。
  5. 開始管理任務:有效利用 Refact 規劃、執行和迭代您的工程任務。

常見問題

問:Refact 支持哪些程式語言?

答:Refact 設計為語言無關,意味著它可以與各種程式語言和框架整合。

問:Refact 適合小團隊嗎?

答:是的,Refact 非常適合各種規模的團隊,從小型初創公司到大型企業,旨在提升其工程流程。

問:我該如何為 Refact 做出貢獻?

答:歡迎貢獻!您可以分叉庫,進行更改,並提交拉取請求以供審核。

問:Refact 的許可證是什麼?

答:Refact 採用 BSD-3-Clause 許可證,允許靈活使用和分發。

問:我可以在哪裡找到更多信息?

答:有關更多詳細信息,請訪問官方網站 refact.ai 或查看 GitHub 庫中的文檔。

詳細

<a name="readme-top"></a>

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://docs.refact.ai/_astro/logo-dark.CCzD55EA.svg"> <source media="(prefers-color-scheme: light)" srcset="https://docs.refact.ai/_astro/logo-light.CblxRz3x.svg"> <!-- Fallback if neither preference is set --> <img alt="Refact.ai logo" src="https://docs.refact.ai/_astro/logo-dark.CCzD55EA.svg" width="200"> </picture> <h1 align="center">Refact - Open Sourced AI Software Development Agent</h1> </div> <div align="center"> <a href="https://github.com/smallcloudai/refact/stargazers"><img src="https://img.shields.io/github/stars/smallcloudai/refact?style=for-the-badge&color=blue" alt="Stargazers"></a> <a href="https://discord.gg/Kts7CYg99R"><img src="https://img.shields.io/badge/Discord-Join%20Us-purple?logo=discord&logoColor=white&style=for-the-badge" alt="Join our Discord community"></a> <a href="https://docs.refact.ai"><img src="https://img.shields.io/badge/documentation-blue?logo=googledocs&logoColor=FFE165&style=for-the-badge" alt="Check out the documentation"></a> </div>

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

2️. How AI-coded prototypes help UX teams deliver real value Read

3️. 80 hours of building from scratch — instead done in 30 minutes Read more

4️. 3 weeks of waiting for a functional GUI? Built in just 14 minutes Read more

  1. Built an automated SEO Content Generator in 60 minutes with Refact.ai Read more

📜 View Full List of Supported Models

📢 Using AI for work? Let’s bring it to your company!

Fill out this form — 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

Unlimited accurate auto-completion with context awareness – Powered by Qwen2.5-Coder-1.5B, utilizing Retrieval-Augmented Generation (RAG).

auto-completion

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

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

🤖 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:

pip install .

For GPU with CUDA capability >= 8.0 and flash-attention v2 support:

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.

🥇 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)

🎉 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 – 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.

伺服器配置


                

專案資訊

精選
作者
smallcloudai
建立於
Jul 1, 2025
星標
2283
語言
Rust

重構開源人工智慧軟體開發代理人 替代方案

若您需要重構開源人工智慧軟體開發代理人 的一些替代方案,我們依分類為您提供相關網站。

Dart AI 模型上下文协议 (MCP) 服务器

建立 MCP 伺服器 步驟 1: 下載 MCP 1. 前往 [MCP 官方網站](http://mcp.ocean-labs.de/)。 2. 下載最新版本的 MCP。 步驟 2: 安裝 Java 1. 確保你的電腦上已安裝 Java JDK。 2. 你可以從 [Oracle 官方網站](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) 下載並安裝最新版本的 JDK。 步驟 3: 解壓 MCP 1. 將下載的 MCP 壓縮檔解壓到你想要的資料夾中。 步驟 4: 配置 MCP 1. 打開解壓後的 MCP 資料夾。 2. 編輯 `mcp.cfg` 檔案,根據你的需求進行配置。 步驟 5: 啟動 MCP 1. 在 MCP 資料夾中,找到 `start.bat`(Windows)或 `start.sh`(Linux/Mac)。 2. 雙擊或在終端中運行該檔案以啟動 MCP 伺服器。 步驟 6: 測試伺服器 1. 打開 Minecraft 客戶端。 2. 在伺服器列表中添加你的 MCP 伺服器 IP 地址。 3. 連接並測試伺服器是否正常運行。 常見問題 - 如何更新 MCP? - 下載最新版本並重複上述步驟。 - 伺服器無法啟動? - 檢查 Java 是否正確安裝,並確保 MCP 配置正確。 - 如何添加插件? - 將插件檔案放入 `plugins` 資料夾中,然後重啟伺服器。

範例和教程,用於使用 watsonx.ai Flows 引擎構建 AI 應用程序

一個用於超瀏覽器的MCP伺服器實現

Heroku 平台 MCP 伺服器使用 Heroku CLI

Graphlit 平台的模型上下文协议 (MCP) 服务器

GitHub的官方MCP伺服器

查看更多 >>