> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentwork.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Install the Agentwork GitHub App so Agentwork learns from docs, pull requests and issues in the repositories you pick, and connect your own account so it can work in GitHub as you.

Agentwork learns from your GitHub repositories and can work in GitHub for each member who connects their own account.

## Install

### Install the GitHub App for your organization

**Before you start:** installing the Agentwork GitHub App may need approval from an owner of your GitHub organization.

1. Go to **Connections**, select **GitHub**, and choose **Workspace**.
2. Sign in to GitHub and choose where to install the app: your **Organization** or a **Personal account**.
3. Install the app, or select an existing installation, and choose the repositories Agentwork can read.

To change repositories later, open the connection and select **Manage repositories on GitHub**.

### Connect your own GitHub account

Each member connects their own account under **Connections** → **GitHub** → **Your account**. Without the GitHub App installed, only public repositories are available.

## How it works in Agentwork

### What Agentwork learns from it

From the repositories the app is installed on, Agentwork imports documentation and plain-text files (such as Markdown and READMEs), pull requests and issues. Source code isn't imported. Turn off **Build memory from GitHub** to stop importing. What was imported is removed.

### What Agentwork can do in it

With the GitHub App installed, Agentwork can read issues, pull requests, code and CI status in installed repositories you can access, without a GitHub account connection. To comment, or create issues, pull requests and branches, connect your own account. Those changes are recorded as you and always ask for your approval first.

### Who sees what

Access follows GitHub. A public repository is visible to everyone in your organization, and a private one only to members matched to its collaborators. See [Match people across tools](https://docs.agentwork.com/connections.md#match-people-across-tools).

## Disconnect or reconnect

Open **Connections** → **GitHub** to reconnect or disconnect. Disconnecting the app removes what Agentwork imported.

## Related

* [GitLab](https://docs.agentwork.com/connectors/gitlab.md)
* [Linear](https://docs.agentwork.com/connectors/linear.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.