概要
Refactとは?
Refactは、エンジニアリングタスクを最初から最後まで処理するために設計された高度なAIエージェントです。開発者のツールとシームレスに統合され、効率的な計画、実行、反復を可能にし、成功した結果が得られるまでサポートします。この革新的なソリューションは、生産性を向上させ、ソフトウェア開発のワークフローを合理化するように特別に設計されています。
Refactの特徴
- エンドツーエンドのタスク管理:Refactはエンジニアリングタスクを包括的に管理し、計画から実行までのすべてのステップをカバーします。
- 開発者ツールとの統合:開発者が使用するさまざまなツールと接続し、既存のワークフローに組み込みやすくします。
- 反復学習:AIは各タスクから継続的に学習し、時間とともにパフォーマンスと適応性を向上させます。
- ユーザーフレンドリーなインターフェース:使いやすさを考慮して設計されており、Refactは複雑なエンジニアリングプロセスを簡素化する直感的なインターフェースを提供します。
- 公開リポジトリ:Refactは公開リポジトリとして利用可能で、開発者が共同でプロジェクトにアクセスし、貢献し、強化することができます。
Refactの使い方
- リポジトリにアクセス: Refact GitHubリポジトリを訪れて始めましょう。
- リポジトリをクローン:Gitを使用してリポジトリをローカルマシンにクローンします。
git clone https://github.com/smallcloudai/refact.git
- 依存関係をインストール:リポジトリに提供されているインストール手順に従って環境を設定します。
- ツールとの統合:Refactを既存の開発者ツールと連携させるように設定します。
- タスク管理を開始:Refactを利用して、エンジニアリングタスクを効果的に計画、実行、反復します。
よくある質問
Q: Refactはどのプログラミング言語をサポートしていますか?
A: Refactは言語に依存しないように設計されており、さまざまなプログラミング言語やフレームワークと統合できます。
Q: Refactは小規模なチームに適していますか?
A: はい、Refactは小規模なスタートアップから大規模な企業まで、すべての規模のチームに最適です。
Q: Refactにどのように貢献できますか?
A: 貢献は歓迎です!リポジトリをフォークし、変更を加え、プルリクエストを提出してレビューを受けることができます。
Q: Refactのライセンスは何ですか?
A: RefactはBSD-3-Clauseライセンスの下でライセンスされており、柔軟な使用と配布を許可しています。
Q: さらに情報はどこで見つけられますか?
A: 詳細については、公式ウェブサイト 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
- 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
- 🤖 Which Tasks Can Refact Help You With?
- ⚙️ QuickStart
- 🐳 Running Refact Self-Hosted in a Docker Container
- 🔌 Getting Started with Plugins
- 📖 Documentation
- 🥇 Contribution
- 🎉 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).
✅ 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.
✅ 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.
🤖 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
- Download Refact for VS Code or JetBrains.
- Set up a custom inference URL:
http://127.0.0.1:8008
- 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
🎉 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.
サーバー設定