-
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Documentation for the local-first Refact coding assistant.
Refact is a local-first coding assistant for VS Code and JetBrains IDEs. The IDE extension starts the local refact-lsp engine, connects it to the model providers or local runtimes you configure, and gives you chat, agent workflows, code completion, project context, and integrations from inside your editor.
Refact does not require a hosted Refact account or bundled model service. You bring your own provider keys, OAuth-capable provider account, or local model runtime.
- Install Refact for VS Code or JetBrains IDEs.
- Open the Refact sidebar or tool window in your IDE.
- Add at least one provider or local runtime.
- Choose default chat, reasoning, and completion models.
- Start a chat, ask the agent to work on a task, or use inline code completion.
For a guided first-run path, follow the Quickstart.
The Refact engine runs on your machine and communicates with the IDE over localhost. It manages chat sessions, tools, code completion, local indexes, trajectories, tasks, and knowledge.
Use Refact chat to ask questions about your codebase, attach context, and switch into autonomous agent modes for multi-step edits, searches, tests, and integration-backed workflows.
Configure a completion-capable provider or local runtime to get fill-in-the-middle suggestions directly in your editor.
Refact supports BYOK providers such as Anthropic, OpenAI, OpenRouter, Groq, DeepSeek, Gemini, xAI, Qwen, Kimi, Zhipu, MiniMax, GitHub Copilot, Claude Code, and custom OpenAI-compatible endpoints. It also supports local runtimes such as Ollama, LM Studio, and vLLM.
Enable the tools you need: shell commands, long-running command services, Chrome, GitHub, GitLab, Docker, PostgreSQL, MySQL, PDB, MCP, and other configured integrations.
Refact stores project trajectories, knowledge, task boards, and usage summaries locally. Requests leave your machine only for providers and integrations you configure.
- AI chat and autonomous agent workflows.
- Code completion.
- Local project trajectories, tasks, knowledge, and worktree isolation.
- BYOK and local provider setup.
- Local token/provider-cost usage summaries.
Refact does not require a hosted account or managed Refact inference service.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice