---
title: "Overview"
description: "Go from connected GitHub repositories to verified, reviewed pull requests using cloud environments, secrets, and automated code review."
url: "https://www.thecompany.company/docs/code/overview"
---

# Overview

> Go from connected GitHub repositories to verified, reviewed pull requests using cloud environments, secrets, and automated code review.

Coding sessions run on isolated Linux cloud [computers](/docs/agent/computer) with your repositories, dependencies, and tests. Give an agent a repository, an outcome, and a check that proves the change works, and it edits code, verifies behavior, previews local apps, and opens reviewable pull requests without keeping your laptop awake.

## How it works [#how-it-works]

- **Repositories:** Your organization's GitHub App installation controls which repositories agents can clone. Your personal GitHub connection handles `@co` mentions and pull request attribution.
- **Environments:** An [environment](/docs/code/environments) groups one or more repositories with setup scripts, environment variables, and warm snapshots so agents start with dependencies and services ready.
- **Isolation:** When multiple sessions share a [computer](/docs/agent/computer#parallel-branches-with-worktrees), each branch runs in its own Git worktree. Heavy builds can run on a dedicated computer.
- **Review and CI:** Agents run tests before opening a [pull request](/docs/code/pull-requests), follow CI failures, and work alongside automated [Guardian reviews](/docs/code/code-review).

## Setup [#setup]

1. ### Connect GitHub repositories [#connect-github-repositories]

   Install the GitHub App, sync the [repositories](/docs/code/repositories) your team works in, and choose how commits and pull requests are attributed.
2. ### Configure an environment [#configure-an-environment]

   Group related repositories in an [environment](/docs/code/environments), add `.company/environment.json` setup scripts so dependencies and services are cached in warm snapshots, and store credentials in [Secrets](/docs/code/secrets).
3. ### Start a coding session [#start-a-coding-session]

   Open a [session](/docs/agent/sessions) with your environment selected. Isolate parallel branches in separate Git worktrees on a shared [computer](/docs/agent/computer#parallel-branches-with-worktrees), or assign a dedicated computer for resource-heavy builds.
4. ### Open a pull request and follow CI [#open-a-pull-request-and-follow-ci]

   Ask the agent to run your test suite and open a [pull request](/docs/code/pull-requests). Tell it to watch CI checks and fix failures caused by the branch if you want it to stay on the PR until checks pass.
5. ### Enable automated code review [#enable-automated-code-review]

   Turn on [code review](/docs/code/code-review) per repository and configure built-in or custom Guardians—including security checks—to inspect diffs before merge.

> In the storefront repository, fix the empty-cart message in a separate worktree and run the checkout tests. Open a draft pull request, watch CI, and fix any failure caused by this change. Don't merge.

## Next steps [#next-steps]

- [Repositories](https://www.thecompany.company/docs/code/repositories.md): Sync GitHub repositories and configure Git attribution.
- [Environments](https://www.thecompany.company/docs/code/environments.md): Set up dependencies, startup commands, and warm snapshots.
- [Pull requests](https://www.thecompany.company/docs/code/pull-requests.md): Open draft PRs, fix failing CI checks, and manage stacked branches.
- [Code review](https://www.thecompany.company/docs/code/code-review.md): Configure automated GitHub PR reviews and Guardian charters.
