Developer Documentation
Build, review, and ship with confidence
Learn how to run RefactorAI's local commit-triggered review loop from any Git workflow — terminal, editor, IDE, or Git GUI — then resolve issues before you push.
Jump in
QuickstartGo from install to your first commit-triggered review.Install & SetupInstall the CLI, authenticate, and enable the git hooks.Developer WorkflowThe editor-neutral commit → watch → resolve → push loop, day to day.Policy & GovernanceConfigure the pre-push gate, approvals, and protections.Security & PrivacyKeys, secrets, and auditability for secure teams.FAQAnswers to common adoption and governance questions.
Start here
If this is your first time, follow Get Started, Quickstart, then Create Your First Project. Developers onboard through refactorai.codes and use platform-issued keys. The CLI uses the hosted API by default, so most developers don't need to set a platform URL.
Platform onboarding
# Create your account at https://refactorai.codes
# In Dashboard -> Developer Keys, create a key
refactor login --key <your_developer_key>
refactor whoamiBring your own model
RefactorAI is model-agnostic. Use your OpenAI, Anthropic, or Gemini key, or run a license-clean local model — the review loop works the same either way.
Works with the Git client developers already use
RefactorAI watches local Git hooks. Developers can commit from VS Code, Cursor, JetBrains, GitHub Desktop, Fork, Tower, GitKraken, Sourcetree, or the terminal; the same Refactor Terminal shows review status for all of them.