# smallcloudai/refact

AI Agent that handles engineering tasks end-to-end: integrates with developers’ tools, plans, executes, and iterates until it achieves a successful result.

Repository: https://github.com/smallcloudai/refact
Canonical: https://ross.abutalabs.com/products/refact
Homepage: https://refact.ai
Language: Rust
License: BSD-3-Clause
License Family: permissive
Topics: fine-tuning, self-hosted, developer-tools, open-source, rag, vscode, ai-agent, enterprise, on-prem, swe-bench
Archived: true
Last push: 2026-05-30T09:42:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 85, release rhythm 72, longevity 88
- inputs: {"age_days": 1232, "days_push": 95, "days_rel": 111, "gap_med": 39, "n_releases_24m": 10}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3540, forks 318 (observed 2026-08-28T04:08:09.176292+00:00)

## What it is
Refact is an open-source, self-hosted AI coding agent written in Rust that plans and executes engineering tasks end-to-end from your IDE, with chat, code completion, RAG over your codebase, and tool integrations like GitHub and CI/CD. This original repository is now a legacy archive: active development has moved to a fork (JegernOUTT/refact) and Refact Cloud has been shut down.

## Use cases
- autonomous ai coding agent that fixes issues end-to-end
- self-hosted ai coding assistant for my codebase
- ai code completion in vscode and jetbrains
- chat with my repository using rag
- on-premise ai agent for enterprise development
- fine-tune a coding model on my own code
- open-source alternative to github copilot

## When to choose
- you want an open-source, self-hosted or on-prem AI coding agent with full data control
- you need IDE chat, completion, and autonomous agent workflows in one tool
- you want BYOK model choice, fine-tuning, and MCP/tool integrations

## When to avoid
- you expect the managed Refact Cloud service - it has been retired
- you want the actively developed version - use the JegernOUTT/refact fork instead
- you need a zero-setup hosted assistant without running your own engine

## Facets
- artifact type: application
- maturity: maintenance
- function: agent-framework, rag, llm-inference, developer-tools, chat-interface, mcp, cli, code-review
- domain: developer-tools, large-language-models, self-hosted, version-control
- platform: self-hosted, cross-platform, cli, editor-plugin, rust
- tags: ai-coding-agent, ide-plugin, vscode, jetbrains, code-completion, fine-tuning, on-prem, byok, swe-bench, legacy-archive, ai-agents, retrieval-augmented-generation, docker

## Member repositories
- smallcloudai/refact (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.176292+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:34:36.175438+00:00, confidence not recorded.
  - readme: https://github.com/smallcloudai/refact (fetched 2026-08-28T04:08:09.176292+00:00, sha 9a024c50253b)
  - homepage: https://refact.ai (fetched 2026-08-29T09:28:53.407387+00:00, sha 797006fb3dee)
  - site_page: https://docs.refact.ai (fetched 2026-08-29T09:28:53.410136+00:00, sha 0d0afda7a176)
  - site_page: https://docs.refact.ai/faq (fetched 2026-08-29T09:28:53.413859+00:00, sha 0d0afda7a176)
- Data as of 2026-08-30T08:39:29.467469+00:00.
