LogoLogo
Sign inVisit bito.aiVideo Library
  • 👋Welcome to Bito
  • 🆕Getting started
  • 🛡️Privacy and security
  • 🤖AI Code Review Agent
    • Overview
    • Key features
    • Supported programming languages and tools
    • Install/run using Bito Cloud
      • Guide for GitHub
      • Guide for GitHub (Self-Managed)
      • Guide for GitLab
      • Guide for GitLab (Self-Managed)
      • Guide for Bitbucket
      • Integrate the AI Code Review Agent into the CI/CD pipeline
      • Create or customize an Agent instance
      • Clone an Agent instance
      • Delete unused Agent instances
    • Install/run as a self-hosted service
      • Prerequisites
      • CLI vs webhooks service
      • Install/run via CLI
      • Install/run via webhooks service
      • Install/run via GitHub Actions
      • Agent Configuration: bito-cra.properties File
    • Available commands
    • Chat with AI Code Review Agent
    • Implementing custom code review rules
    • Excluding files, folders, or branches with filters
    • Code review analytics
    • FAQs
  • Other Bito AI tools
    • IDE extension
      • Quick Overview
      • Installation guide
        • Installing on Visual Studio Code
        • Installing on JetBrain IDEs
        • Vim/Neovim Plugin
      • Upgrading Bito plugin
      • AI Chat in Bito
        • Keyboard shortcuts
        • Chat session history
        • Share chat session
        • Appearance settings
        • Open Bito in a new tab or window
        • Use cases and examples
      • Templates
        • Standard templates
        • Custom prompt templates
        • Diff view
      • AI that Understands Your Code
        • Overview
        • How it Works?
        • Available Keywords
        • Example Questions
        • How does Bito Understand My Code?
        • Using in Visual Studio Code
        • Using in JetBrains IDEs
        • Managing Index Size
        • FAQs
      • AI Code Completions
        • Overview
        • How it works?
        • Enable/disable settings
        • Accept/reject suggestions
        • Keyboard shortcuts
        • Supported programming languages
        • Use cases and examples
      • Basic/Advanced AI models
      • Wingman Coding Agent
        • Key features
        • Supported tools
        • Getting started
    • Bito CLI
      • Overview
      • Install or uninstall
      • Configuration
      • How to use?
      • Available commands
      • FAQs
    • Google Chrome extension
  • Help
    • 🧠Bito's AI stack
      • Embeddings
      • Vector databases
      • Indexing
      • Generative AI
      • Large Language Models (LLM)
      • LLM tokens
      • LLM parameters
      • Retrieval Augmented Generation (RAG)
      • Prompts
      • Prompt engineering
    • 👥Account and settings
      • Creating a Bito account
      • Workspace
      • Managing workspace members
      • Setting AI output language
      • Managing user access levels
      • Access key
    • 💳Billing and plans
      • Overview
      • Payment methods
      • Managing workspace plan
      • Pay for additional workspace members
      • Advanced AI requests usage
      • Billing history
      • Billing details
      • Security
      • Refund policy
      • Discounts
    • ⚒️Support and questions
      • Getting support
      • Troubleshooting
      • Is it GPT-4?
  • 🆕Changelog
  • External Links
    • Git
    • Github Issues
    • Github Discussions
    • Bito.ai
    • VS Code Marketplace
    • JetBrain Marketplace
Powered by GitBook
LogoLogo

Bito Inc. (c) 2025

On this page

Was this helpful?

Export as PDF
  1. AI Code Review Agent
  2. Install/run as a self-hosted service

Agent Configuration: bito-cra.properties File

Setting up your agent: understanding the bito-cra.properties file

PreviousInstall/run via GitHub ActionsNextAvailable commands

Last updated 9 months ago

Was this helpful?

Note: This file is only available for people who are using the version of AI Code Review Agent.

The bito-cra.properties file offers a comprehensive range of options for configuring the , enhancing its flexibility and adaptability to various workflow requirements.

bito-cra.properties Available Options

Property Name
Supported Values
Is Mandatory?
Description

mode

  • cli

  • server

Yes

Whether to run the Docker container in CLI mode for a one-time code review or as a webhooks service to continuously monitor for code review requests.

pr_url

Pull request URL in GitLab, GitHub and Bitbucket

Yes, if the mode is CLI.

The pull request provides files with changes and the actual code modifications. When the mode is set to server, the pr_url is received either through a webhook call or via a REST API call.

This release only supports webhook calls; other REST API calls are not yet supported.

code_feedback

  • True

  • False

No

Setting it to True activates general code review comments to identify functional issues. If set to False, general code review will not be conducted.

bito_cli.bito.access_key

A valid Bito Access Key generated through Bito's web UI.

Yes

Bito Access Key is an alternative to standard email and OTP authentication.

git.provider

  • GITLAB

  • GITHUB

  • BITBUCKET

Yes, if the mode is CLI.

The name of git repository provider.

git.access_token

A valid Git access token provided by GITLAB or GITHUB or BITBUCKET

Yes

You can use a personal access token in place of a password when authenticating to GitHub/GitLab/BitBucket in the command line or with the API.

git.domain

A URL where Git is hosted.

No

It is used to enter the custom URL of self-hosted GitHub/GitLab Enterprise.

static_analysis

  • True

  • False

No

Enable or disable FBInfer based static code analysis, which is used to uncover functional issues in the code.

dependency_check

  • True

  • False

No

This feature is designed to identify security vulnerabilities in open-source dependency packages, specifically for JS/TS/Node.JS and GoLang. Without this input, reviews for security vulnerabilities will not be conducted.

dependency_check.snyk_auth_token

A valid authentication token for accessing Snyk's cloud-based security database.

No

If not provided, access to Snyk's cloud-based security database for checking security vulnerabilities in open-source dependency packages will not be available.

server_port

A valid and available TCP port number.

No

This is applicable when the mode is set to server. If not specified, the default value is 10051.

review_comments

  • 1

  • 2

No

Set the value to 1 to display the code review in a single post, or 2 to show code review as inline comments, placing suggestions directly beneath the corresponding lines in each file for clearer guidance on improvements.

The default value is 2.

review_scope

  • security

  • performance

  • scalability

  • codeorg

  • codeoptimize

No

exclude_branches

Glob/regex pattern.

No

This filter allows users to skip automated reviews for pull requests based on the source or target branch. This filter is useful in scenarios where automated reviews are unnecessary or could potentially disrupt the workflow.

You can specify additional branches using a comma-separated list or string patterns (glob/regex).

exclude_files

Glob/regex pattern.

No

A list of files/folders that the AI Code Review Agent will not review if they are present in the diff.

exclude_draft_pr

  • True

  • False

No

Specialized commands to perform detailed analyses on specific aspects of your code. You can provide comma-separated values to perform multiple types of code analysis simultaneously.

By default, master and main branches are excluded.

By default, these files are excluded: *.xml, *.json, *.properties, .gitignore, *.yml, *.md

A binary setting that enables/disables automated review of pull requests (PR) based on the draft status. The default value is True which skips automated review of draft PR.

🤖
self-hosted
AI Code Review Agent
Learn More
Learn more
Learn more
Learn more
Learn more