refact  by smallcloudai

Open-source AI agent for end-to-end software engineering tasks

created 2 years ago
3,120 stars

Top 15.8% on sourcepulse

GitHubView on GitHub
Project Summary

Refact Agent is an open-source AI-powered software development assistant designed to automate complex, multi-step engineering tasks end-to-end. It targets developers seeking to streamline their workflow by integrating deeply with existing tools, databases, and IDEs, offering features like code completion, debugging, refactoring, and documentation generation.

How It Works

Refact Agent leverages state-of-the-art LLMs, supporting models like Claude 3.7 Sonnet and GPT-4o, and offers context-aware auto-completion powered by Qwen2.5-Coder-1.5B with RAG. Its core advantage lies in its deep integration with developer tools, including GitHub, GitLab, PostgreSQL, MySQL, Pdb, Docker, and shell commands, enabling it to understand and interact with the user's entire development environment.

Quick Start & Requirements

  • Install via pip: pip install .
  • For GPU support with CUDA >= 8.0 and flash-attention v2: FLASH_ATTENTION_FORCE_BUILD=TRUE MAX_JOBS=4 INSTALL_OPTIONAL=TRUE pip install .
  • Alternatively, run via Docker.
  • Requires VS Code or JetBrains IDE plugins.
  • Supports Bring Your Own Key (BYOK) for external LLMs.
  • Documentation: https://github.com/smallcloudai/refact/blob/main/docs/README.md

Highlighted Details

  • On-premise deployment for 100% code control.
  • Integrated IDE chat for seamless interaction.
  • Supports 25+ programming languages.
  • Automates tasks like code generation, refactoring, debugging, and unit test creation.

Maintenance & Community

  • Active community with a Discord server for discussion and feedback.
  • Contribution guide available for community involvement.
  • Discord: https://discord.gg/z5p2p3f2

Licensing & Compatibility

  • The project appears to be open-sourced under a permissive license, but specific license details are not explicitly stated in the README. Further clarification on licensing is recommended for commercial use.

Limitations & Caveats

  • The README does not explicitly state the project's license, which could be a concern for commercial adoption. GPU installation requires specific CUDA and flash-attention versions.
Health Check
Last commit

3 days ago

Responsiveness

1 week

Pull Requests (30d)
21
Issues (30d)
30
Star History
1,249 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.