---
title: "Bitbucket integration for AI agents | Langdock"
description: "Connect Bitbucket to Langdock. Agents and workflows can use 11 actions, such as “Create branch” and “Create pull request”."
url: "https://langdock.com/integrations/bitbucket"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Bitbucket integration for AI agents

Manage your code, branches, commits, and pull requests.

Connect Bitbucket to Langdock and use it in chat, in agents and in workflows.

11 actions · 1 trigger

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Bitbucket actions

Each action is one step an agent or workflow can run in Bitbucket.

- Create branch · Creates a new branch in a repository from an existing branch or commit
- Create pull request · Creates a new pull request
- Get file content · Retrieves the content of a file from a repository
- Get pull request · Retrieves detailed information about a specific pull request
- Get pull request comments · Gets comments on a pull request
- Get pull request diff · Gets the diff/changes of a pull request
- Get repository content · Lists files and directories in a repository path
- List branches · Lists all branches in a repository
- List pull requests · Lists pull requests in a repository
- List repositories · Lists repositories accessible to the authenticated user in a workspace
- Search code · Searches for code across repositories in a workspace

## Bitbucket triggers

A trigger starts a workflow when something happens in Bitbucket.

- New pull request · Triggers when a new pull request is opened

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
