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.

3 minDevelopers, team leads, and platform admins

Jump in

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 whoami

Bring 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.

Browse all docs