Integration · Developer tools
Bitbucket AI agents for pull requests and Pipelines
Brainwrite connects Bitbucket to your AI agents so they can read pull request diffs, comment, approve or request changes, and check Pipelines results. A bot can do a first-pass review on every new pull request or search code across your workspace to answer a question. Merging a pull request waits for an approval card unless you've allowed it.
Brainwrite · BitbucketList open pull requests in the acme/api repository on Bitbucket. For each, summarise the diff in two sentences and tell me whether its latest pipeline passed.
You connect Bitbucket once. Your Chief of Staff puts a bot on it.
List pull requests and read their diff, diffstat, and commits
Comment on a pull request and resolve comments
Approve a pull request or request changesWaits for you
Merge a pull request (waits for an approval card unless you've allowed it)Waits for you
List pipelines and read pipeline steps
In Bitbucket
What your bots can do in Bitbucket.
- List pull requests and read their diff, diffstat, and commits
- Comment on a pull request and resolve comments
- Approve a pull request or request changes
- Merge a pull request (waits for an approval card unless you've allowed it)
- List pipelines and read pipeline steps
- Search code in a workspace and read files from a repository
- Create and update issues and branches
Chief of Staff
- First-pass review
- Pipelines report
- Code questions
Changes in Bitbucket wait for your approval in Ask mode
Jobs
Jobs your team does with Bitbucket.
First-pass review
A bot reads each new pull request's diff and comments on missing tests, risky changes, and unclear names.
Pipelines report
A routine lists failed pipelines on main, reads the failing step, and posts a short summary to the team thread.
Code questions
Ask where a config value is used. A bot searches the workspace, reads the files, and answers with paths.
Set up
How to connect Bitbucket.
- 01
Open Connected apps
In Brainwrite, choose Connected apps in the sidebar. The official app sets up the connection service for you; there's no key to paste.
- 02
Search for Bitbucket
Find Bitbucket and choose Connect. You can add more than one account later and label each, such as work or a client.
- 03
Sign in in your browser
Finish Bitbucket's own sign-in in your normal browser. The access token stays with the connection service and never enters a bot's prompt.
- 04
Choose which bots get it
In each bot's settings, give it all tools, an exact list, or none. Imported bots start with none, so nothing reaches your account by surprise.

FAQ
Brainwrite and Bitbucket: questions
How do I connect Bitbucket to Brainwrite?
Open Connected apps, search for Bitbucket, and choose Connect. Atlassian's Bitbucket authorization opens in your browser; approve access and return to the app. Ask a bot with Bitbucket tools to list your workspaces to confirm. The token stays with Composio, never in a prompt.
Can a bot comment on Bitbucket pull requests without approving them?
Yes. In the bot's settings under Connected apps, set Bitbucket to an exact list with pull request read and comment tools. Leave out approve, request changes, and merge. Ungranted tools are never offered to the bot, and every allow or deny is recorded in the decision log.
Can a bot change Bitbucket Pipelines variables?
The toolkit includes tools to create and update pipeline variables for users and teams. Those values often hold credentials, so keep these tools out of most bots' grants. If a bot needs a token for its own work, save it as a Brainwrite secret instead of pasting it into chat.
Developer tools
More developer tools.

GitHub
Triage GitHub issues, review pull requests, read failing workflow logs, and draft release notes. Merges wait for you.

GitLab
Review GitLab merge requests, triage issues, read failing pipeline jobs, and keep merges behind your approval.

Sentry
Triage new Sentry errors, read events and tags, check release health, and resolve or assign issues.

Vercel
Check Vercel deployments, read build and runtime logs, verify domains, and keep production promotions behind approval.
Give your AI team Bitbucket.
Download the app, connect the AI you already pay for, and tell your Chief of Staff what needs doing.
macOS today. Windows and Linux are coming soon.




