Agent settings
Learn how to customize the AI Code Review Agent.
Last updated
Was this helpful?
Learn how to customize the AI Code Review Agent.
Last updated
Was this helpful?
Bito's supports different configuration methods depending on the deployment environment:
Bito-hosted β The agent runs on Bito's infrastructure and is configured through the .
Self-hosted β The agent runs on user-managed infrastructure and is configured by editing the .
The sections below provide configuration guidance for each setup.
In Bito-hosted AI Code Review Agent, you can configure the agent through the .
To customize an existing agent, open the page and click the Settings button next to the Agent instance to be modified.
The agent settings page allows configuration of options such as:
Agent name and description β Define a unique name and description for easy identification.
Review options β Choose the review mode (Essential or Comprehensive), set feedback language, and enable features like auto-review, incremental review, summaries, and change walkthroughs.
Filters β Exclude specific files, folders, or branches from review to focus on relevant code.
Tools β Enable additional checks, such as secret scanning and static analysis.
These settings tailor the agentβs behavior to match team workflows and project needs. For detailed guidance, see .
Key configuration options include:
Mode
mode = cli
: Processes a single pull request using a manual URL input.
mode = server
: Runs as a webhook service and listens for incoming events from Git platforms.
Authentication
bito_cli.bito.access_key
: Required for authenticating the agent with the Bito platform.
git.provider
, git.access_token
, etc.: Required for connecting to the appropriate Git provider (e.g., GitHub, GitLab, Bitbucket).
General feedback settings
code_feedback
: Enables or disables general feedback comments in reviews.
Analysis tools
static_analysis
: Enables static code analysis.
dependency_check
: Enables open-source dependency scanning.
dependency_check.snyk_auth_token
: Required when using Snyk for vulnerability detection.
Review format and scope
review_comments
: Defines output style (e.g., single post or inline comments).
review_scope
: Limits the review focus to specific concerns such as security, performance, or style.
Filters
include_source_branches
and include_target_branches
: Restrict reviews to pull requests that match specified source and target branch patterns.
exclude_files
: Skips selected files based on glob patterns.
exclude_draft_pr
: Skips draft pull requests when enabled (default: True
).
In self-hosted deployments, configuration is managed by editing the . This file defines how the agent operates and connects to required services.
Each property is documented in detail on the page.
Learn more
Learn more