Getting Started
Quickstart: first successful run in 10 minutes
Use this guided flow to install the CLI, authenticate through ReactorAI, and complete your first successful run without self-hosted setup.
Step 1: Install the CLI
Install the public CLI first. External developers should use the hosted platform and do not need to run self-hosted services.
Install Refactor CLI
python -m pip install --upgrade refactor
refactor --helpStep 2: Register on ReactorAI and authenticate
Create your account at reactorai.codes, generate a developer key in the dashboard, then authenticate your CLI session.
Hosted auth with developer key
# Sign up and create a key at https://reactorai.codes
export REFACTOR_PLATFORM_URL=https://reactorai.codes
refactor login --key <your_developer_key>
refactor whoamiStep 3: Run your first review in a repository
Initialize Refactor in your repository and execute review/refactor commands. This creates your first run and associated artifacts.
Create first run via CLI
git clone https://github.com/<your-org>/<your-repo>.git
cd <your-repo>
refactor init
refactor review .
refactor code .
refactor diff
refactor statusStep 4: Review results in ReactorAI
- Open https://reactorai.codes and sign in.
- Open your project and inspect findings, patch groups, and gate status.
- Approve/reject based on your team policy and release criteria.
Dashboard review flow
# In https://reactorai.codes dashboard:
# 1) Open your project
# 2) Inspect findings, patches, and gate status
# 3) Approve or reject based on your team policyNext, continue with Install & Setup to standardize onboarding for every external developer.