# GitHub Integration: Repository Access for the Code Agent

Canonical: https://tiptreesystems.com/blog/github-code-agent

2026-01-10 · Team Tiptree

The GitHub integration allows the [Code Agent](/blog/code-agent) to clone repositories, search codebases, and open Pull Requests. This guide covers setup and usage.

## Setup

Open settings by clicking your profile icon in the top right corner.

![Open settings](/blog-images/github-code-agent-03-open-settings.png)

Navigate to the GitHub integration under Integrations.

![GitHub settings](/blog-images/github-code-agent-01-settings.png)

Click "Create Token on GitHub" to open GitHub's token creation page with the required permissions pre-selected. Give the token a descriptive name, set an expiration, and generate it.

![Create GitHub token](/blog-images/github-code-agent-02-github-token.png)

Copy the token back into Althea and click Connect.

## Usage: Codebase Investigation

Once connected, you can ask Althea to investigate any repository. For example:

> "Find the official code base of the FSNet paper (NeurIPS 2025), clone the repo and figure out if they use dropout."

![Ask about code](/blog-images/github-code-agent-04-ask.png)

The Code Agent clones the repository and runs a search for "dropout" across the codebase.

![Code Assistant instructions](/blog-images/github-code-agent-07-code-assistant.png)

![Search results](/blog-images/github-code-agent-08-results.png)

Within seconds, you get a clear answer with the relevant files and line numbers.

![Final answer](/blog-images/github-code-agent-09-answer.png)
