Overview of Refact Core Pillars
mainRefact is a local-first coding assistant designed to run on your machine. Its architecture is built on several key pillars:
- Local Engine: The
refact-lspengine runs locally and communicates with your IDE vialocalhost. It manages chat sessions, tools, code completion, local indexes, trajectories, tasks, and knowledge. - IDE Chat & Agent Workflows: Provides chat for codebase questions and autonomous agent modes for multi-step edits, searches, and tests.
- Code Completion: Supports fill-in-the-middle suggestions via completion-capable providers or local runtimes.
- Providers & Local Runtimes: Supports Bring Your Own Key (BYOK) providers and local model runtimes.
- Integrations: Extensible via tools like shell commands, Chrome, GitHub, GitLab, Docker, PostgreSQL, MySQL, PDB, and MCP.
- Local Context & Knowledge: Project trajectories, knowledge, task boards, and usage summaries are stored locally. Data only leaves your machine to reach the providers or integrations you explicitly configure.