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

# GitHub Overview

> Learn how the AurInfer GitHub Integration works, its autonomous coding lifecycle, and how it turns your AI character into a software engineer.

# AurInfer for GitHub

The **AurInfer GitHub Integration** gives your AI character full autonomous programming capabilities across any GitHub repository.

Unlike basic chat windows that only output copy-paste code snippets, AurInfer works as a **true autonomous software engineer**: it explores your repository files, searches for relevant code, drafts plans, writes clean code, executes tests in sandboxes, and commits the changes directly to your GitHub repository or opens a ready-to-review Pull Request.

<CardGroup cols={2}>
  <Card title="Quick Setup" icon="bolt" href="/Integrations/GitHub/setup">
    Link your GitHub account and repositories in under 2 minutes.
  </Card>

  <Card title="Coding Studio Guide" icon="laptop-code" href="/Integrations/GitHub/coding-studio">
    Learn how to start and manage sessions, use voice dictation, and choose execution modes.
  </Card>

  <Card title="Interactive Workspace" icon="code-compare" href="/Integrations/GitHub/workspace-session">
    Review code diffs, preview markdown documents, approve plans, and manage pull requests.
  </Card>

  <Card title="Coding Engines" icon="microchip" href="/Integrations/GitHub/coding-engines">
    Explore high-performance AI models optimized for agentic coding and real-time model switching.
  </Card>
</CardGroup>

***

## How It Works: The 4-Phase Lifecycle

When you submit a prompt in the Coding Studio, your AI character executes a structured, safe workflow:

```mermaid theme={null}
flowchart LR
    A["Context Discovery"] --> B["Planning & Approval"]
    B --> C["Sandboxed Coding"]
    C --> D["Git Commit & PR"]
```

### 1. Context Discovery & Codebase Search

Your character searches your linked repository using semantic search and repository file trees. It understands imports, function definitions, database schemas, and existing styling patterns before writing a single line of code.

### 2. Planning & Interactive Review

Depending on your selected mode, the character generates a clear step-by-step implementation plan:

* **Interactive Plan Mode**: You can chat back-and-forth with the character to refine ideas, answer clarifying questions, and perfect the approach.
* **Review Mode**: The character presents a comprehensive plan and waits for your one-click approval (**Approve Plan** or **Request Changes**).
* **Direct Mode**: Directly starts implementing code for fast, routine fixes.

### 3. Sandboxed Coding & Verification

The AI writes the required file modifications using precise character-level diffs. When needed, it runs unit tests or code validation inside an isolated **sandbox container** (supporting Node.js, Python, TypeScript, Go, Rust, C++, PHP, and more) to ensure code compiles and passes tests without errors.

### 4. Git Commits, Branching, & Pull Requests

Once the code changes are finalized and inspected in the **Visual File Diff Inspector**, the character:

* Creates a dedicated feature branch or pushes to your chosen branch.
* Commits with a clean, standard git commit message summarizing the changes.
* Optionally creates a ready-to-merge **GitHub Pull Request** with a detailed summary.

***

## Why AurInfer GitHub Coder is Different

| Feature                | Standard AI Chatbots                    | AurInfer GitHub Coder                                  |
| ---------------------- | --------------------------------------- | ------------------------------------------------------ |
| **Codebase Awareness** | Limited to what you paste in chat       | Full semantic repository indexer                       |
| **File Editing**       | You have to copy & paste files manually | Directly edits repository files with visual diffs      |
| **Document Preview**   | Plain raw text                          | Live rendered Markdown with tables, code, and diagrams |
| **Plan Approval**      | None                                    | Dedicated approval gates & interactive chat            |
| **Code Execution**     | Cannot run code                         | Built-in multi-language execution sandbox              |
| **Git Integration**    | None                                    | Commits, branches, and PR creation built-in            |
| **Undo Safety**        | Manual git revert                       | One-click commit undo from the UI                      |
| **Voice Interaction**  | Text only                               | Real-time voice dictation & speech playback            |
| **AI Models**          | Single model lock-in                    | Multiple top-tier models with live engine switcher     |

***

## User Safety & Access Control

Your repository safety is top priority:

* **Scoped Permissions**: You choose which specific repositories your character can access.
* **Protected Branch Strategy**: By default, sessions operate on feature branches, ensuring your primary branch remains safe until you review and merge.
* **One-Click Reverts**: Any commit made during a session can be safely undone with a single click.
