aid: refact-ai name: Refact.ai description: >- Refact.ai is an open-source, local-first AI coding assistant and autonomous software-engineering agent built by Small Magellanic Cloud Ai Ltd. ("SmallCloud"). The product combines an IDE-integrated chat experience (Ask / Explore / Debug / Review / Plan modes), accurate code completion powered by Qwen2.5-Coder with RAG over the workspace, and the Refact Agent — an autonomous mode that plans, executes, and iterates on engineering tasks end-to-end, integrating with Git hosts, databases, shells, browsers, and MCP servers. The full agent stack — a Rust HTTP/LSP engine (`refact-lsp`), a React/Vite chat GUI, and VS Code + JetBrains plugins — is open source under BSD-3-Clause at github.com/smallcloudai/refact and ranked #1 open-source agent on SWE-bench Lite (60.0%) and 93.3% on Aider's Polyglot benchmark with thinking mode. Refact supports a cloud SaaS tier (Free / Pro / Enterprise) — though Refact Cloud is being wound down in favor of BYOK + self-hosting — plus enterprise on-premise deployment with LLM fine-tuning, AWS Marketplace listings, and bring-your-own-key access to Anthropic, OpenAI, Google, xAI, DeepSeek, Groq, Ollama, LM Studio, vLLM, GitHub Copilot, and any OpenAI-compatible endpoint. Refact is positioned as a privacy-preserving, self-hostable alternative to closed cloud coding agents — workspace context, checkpoints, knowledge graphs, and trajectories are stored locally; no code is sent to the vendor's servers in self-hosted mode. type: Index position: Provider access: 3rd-Party kind: contract image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg tags: - AI - Artificial Intelligence - Coding Assistant - AI Agent - Autonomous Agents - Code Completion - Code Generation - Developer Tools - IDE - VS Code - JetBrains - Self-Hosting - On-Premise - Open Source - LSP - MCP - Model Context Protocol - Fine-Tuning - SWE-Bench - RAG url: https://raw.githubusercontent.com/api-evangelist/refact-ai/refs/heads/main/apis.yml created: '2026-05-25' modified: '2026-05-25' specificationVersion: '0.20' apis: - aid: refact-ai:refact-engine-api name: Refact Agent Engine API description: >- Local HTTP/LSP API exposed by the Rust `refact-lsp` engine that runs inside the user's IDE or as a standalone server. Implements the agent runtime: provider/model capabilities, chat command queueing, SSE event streams, code completion, tool registry and confirmation rules, AST indexing, RAG/vector search over the workspace, integrations configuration, knowledge graph operations, task board management, and workspace checkpoint/rollback. This is the contract the VS Code and JetBrains plugins and the GUI call over `http://127.0.0.1:/v1`. humanURL: https://docs.refact.ai tags: - AI - Agent - LSP - HTTP - Local properties: - url: https://docs.refact.ai type: Documentation - url: https://github.com/smallcloudai/refact/tree/main/refact-agent/engine type: SourceCode - url: https://github.com/smallcloudai/refact type: GitHubRepository - aid: refact-ai:refact-mcp-integration name: Refact MCP Integration description: >- Refact Agent acts as an MCP (Model Context Protocol) client, attaching local or remote MCP servers (`npx`, Python `-m`, `docker run`, or remote SSE) into the agent's tool surface with per-tool confirmation rules. This makes any MCP server an extension of the Refact Agent's capability set inside the IDE. humanURL: https://docs.refact.ai/features/autonomous-agent/integrations/mcp/ tags: - MCP - Model Context Protocol - Agent - Integrations properties: - url: https://docs.refact.ai/features/autonomous-agent/integrations/mcp/ type: Documentation - url: https://github.com/modelcontextprotocol type: Standard common: - type: Website url: https://refact.ai - type: Portal url: https://refact.ai - type: Documentation url: https://docs.refact.ai - type: GettingStarted url: https://docs.refact.ai/introduction/quickstart/ - type: Enterprise url: https://refact.ai/enterprise/ - type: Pricing url: https://refact.ai/pricing - type: Plans url: https://refact.ai/pricing - type: Blog url: https://refact.ai/blog/ - type: SignUp url: https://refact.smallcloud.ai/ - type: SignIn url: https://refact.smallcloud.ai/ - type: Contact url: https://refact.ai/contact/ - type: GitHubOrganization url: https://github.com/smallcloudai - type: SourceCode name: Refact (monorepo — engine, GUI, plugins, docs) url: https://github.com/smallcloudai/refact - type: SourceCode name: refact-vscode (archived — now in monorepo) url: https://github.com/smallcloudai/refact-vscode - type: SourceCode name: refact-intellij (archived — now in monorepo) url: https://github.com/smallcloudai/refact-intellij - type: SourceCode name: refact-bench (SWE-Bench benchmarking harness) url: https://github.com/smallcloudai/refact-bench - type: SourceCode name: rust-sdk (MCP Rust SDK fork) url: https://github.com/smallcloudai/rust-sdk - type: SourceCode name: litellm (proxy fork) url: https://github.com/smallcloudai/litellm - type: License name: BSD-3-Clause (Refact open-source components) url: https://github.com/smallcloudai/refact/blob/main/LICENSE - type: IDEExtension name: Refact for VS Code url: https://marketplace.visualstudio.com/items?itemName=smallcloud.codify - type: IDEExtension name: Refact for JetBrains url: https://plugins.jetbrains.com/plugin/20647-refact-ai - type: AWSMarketplace url: https://aws.amazon.com/marketplace/seller-profile?id=seller-zb3svnusgaibm - type: Discord url: https://www.smallcloud.ai/discord - type: Twitter url: https://twitter.com/refact_ai - type: LinkedIn url: https://www.linkedin.com/company/smallcloud - type: YouTube url: https://www.youtube.com/@refactai - type: Features data: - Refact Agent — autonomous IDE agent that plans, executes, and iterates - Agent modes — Ask, Explore, Debug, Review, Plan, Agent - In-IDE chat with context-aware code understanding - Real-time code completion powered by Qwen2.5-Coder + RAG over the workspace - 25+ programming languages including Python, JavaScript/TypeScript, Java, Go, Rust, PHP, C#, Ruby, Kotlin, Swift - Local-first execution — workspace context, checkpoints, knowledge, and trajectories stored locally - Open-source agent stack under BSD-3-Clause (Rust engine + React GUI + IDE plugins) - VS Code, JetBrains (IntelliJ, PyCharm, WebStorm, GoLand, CLion), Visual Studio, Neovim, Sublime Text plugins - MCP (Model Context Protocol) client — attach any local or remote MCP server as agent tools - Built-in tool integrations — GitHub, GitLab, Bitbucket, Docker, Chrome, Shell, PostgreSQL, MySQL, PDB - Workspace checkpoints and one-click rollback for agent operations - Knowledge graph and long-term memory across agent sessions - Bring-Your-Own-Key for Anthropic, OpenAI, Google Gemini, xAI Grok, DeepSeek, Groq, OpenRouter, GitHub Copilot - Local model providers — Ollama, LM Studio, vLLM, custom OpenAI-compatible endpoints - LLM fine-tuning on company codebase (Refact, StarCoder, DeepSeek-Coder, CodeLlama variants) - Enterprise on-premise deployment with full code privacy - AWS Marketplace listing — EC2 deployment and usage-based pricing - Runpod and reverse-proxy deployment recipes - Image-to-code, code review, and AI Toolbox features - Confirmation rules to block or prompt before sensitive tool/MCP calls - #1 open-source agent on SWE-bench Lite (60.0%) - 93.3% on Aider Polyglot benchmark with thinking mode - Coin-based usage metering on the cloud tier (replacing per-request limits) sources: - https://refact.ai - https://refact.ai/enterprise/ - https://refact.ai/pricing - https://docs.refact.ai - https://docs.refact.ai/supported-models/ - https://docs.refact.ai/features/autonomous-agent/integrations/mcp/ - https://github.com/smallcloudai/refact - https://refact.ai/blog/ updated: '2026-05-25' maintainers: - FN: Kin Lane email: kin@apievangelist.com X: apievangelist url: https://apievangelist.com