AI Code Review Bot

AI Providers

The tool supports multiple AI providers behind a unified interface. You can switch providers via configuration without changing your workflow.

Supported providers

See src/Providers/* for exact options exposed by each provider implementation.

Selecting a provider

providers:
  default: openai   # or gemini | anthropic | ollama | mock
  # Additional provider-specific keys may be needed (see source code)

Token budgeting

Advanced Token Optimization

The system includes sophisticated token cost optimization capabilities that can reduce token usage by 30-50% for input and 40-60% for output:

Coding guidelines embedding

If guidelines_file is set in config, its contents are base64-embedded into the prompts for all providers. The system instructions direct the model to decode and apply them strictly during review.