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

# Introduction

> Welcome to Trag

## Concept

Trag is a platform that reviews your code using AI.
Also accepts patterns written in natural language and matches them with the code.

This approach makes it easier for engineers to write lint rules with higher level of abstraction, not just syntax or styling.

### How it operates

* Install the Trag bot (GitHub App: in  github terms) on your version control

<Info>
  <Icon icon="arrow-right" iconType="solid" /> supported version controls: [here](https://docs.usetrag.com/bots)
</Info>

* Trag will listen to webhook events triggered by pull requests: opened, reopened, or updated

* Will retrieve code change patches and enrich them with additional context (like commit messages, pr title, etc.)

* After reviewing patches will write comments on PR (pull request) using the version control's rest api

## Products

* Trag provides SaaS platform at

  [https://usetrag.com](https://usetrag.com)

  where you can

  * create your natural language rules which will be applied during code reviews.

  * view the analytics

  * share  and collaborate with your teammates

* Trag uses github bot for review

  [https://github.com/apps/trag-bot](https://github.com/apps/trag-bot)

  which you need to install on you repo (other version controls are also supported)

* Trag also includes a CLI for running code reviews locally on your PC or laptop.
