A Bitrise CLI plugin for agentic workflows
This plugin helps to automate code reviews by using AI to analyze pull requests and provide feedback, suggestions, and potential issue detection. It uses the OpenAI and Anthropic API to generate insights about your code changes, with structured responses focusing on code quality, potential bugs, and performance issues.
- PR Review: Analyze GitHub and Bitbucket pull requests, writing summarries and flagging issues
- CI Error Summarizer: Summarizes errors in the CI Build and potential fixes
- Coming soon
- Coming soon
bitrise plugin install --source https://github.com/bitrise-io/bitrise-plugins-agent.git
The agent can summarize failed builds and surface errors and suggestions to fix the error. The agent will post the findings as an annotation to the build.
🤖 Example Workflow
workflows:
primary:
envs:
- GITHUB_TOKEN: "$AI_PR_REVIEWER_GITHUB_TOKEN"
- LLM_API_KEY: "$AI_PR_REVIEWER_OPENAI_API_KEY"
steps:
- activate-ssh-key@4:
- (...)
- [email protected]:
title: Review Build Error
is_always_run: true
run_if: enveq "BITRISE_BUILD_STATUS" "1"
inputs:
- content: |-
#!/bin/bash
set -e
# 5. Install AI Agent Plugin
bitrise plugin install --source https://github.com/bitrise-io/bitrise-plugins-agent.git
# 6. Run your AI reviewer (customize flags as needed)
bitrise :agent build-summary \
-m=gpt-4.1 \
--log-level=debug
echo "Done! PR reviewed."