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

# Augment Code

Augment Code is an AI coding assistant built for large, complex codebases. Its context engine indexes your entire repository — architecture, dependencies, internal APIs, and naming conventions — to power chat, completions, and an agent that edits files, runs commands, and calls MCP tools. It works in the VS Code extension and the Auggie CLI.

## Prerequisites

Before setting up the integration, ensure you have:

* **Unbound CLI**: Installed and logged in — see the [CLI guide](/cli/overview)
* **Augment Code**: [VS Code extension](https://marketplace.visualstudio.com/items?itemName=augment.vscode-augment) or [Auggie CLI](https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli)

## Setup with Unbound CLI

```bash theme={null}
unbound setup augment
```

This installs the Unbound hooks for Augment Code. Both the VS Code extension and the Auggie CLI pick up the same hooks. Reload the VS Code window (and restart your terminal) after setup.

To remove the Unbound configuration:

```bash theme={null}
unbound setup augment --clear
```

## Usage

### Basic Usage

After configuration, every tool call Augment makes — shell commands, file reads, file writes, edits, and MCP actions — is intercepted by the Unbound hooks. Policies are checked before the tool runs, and matching actions (block, audit, Slack approval) are enforced inline.

## Security Benefits

Using Augment Code with Unbound Security AI Gateway provides:

* **Request Monitoring**: All Augment tool calls are logged and monitored
* **Analytics**: See which files and commands Augment touches across your org
* **Compliance**: Ensure AI interactions meet your organization's standards
* **Audit Trail**: Complete visibility into AI usage patterns

<CardGroup cols={2}>
  <Card title="Unbound CLI" icon="terminal" href="/cli/overview">
    Install the CLI to set up and manage tools
  </Card>

  <Card title="Tool Policies" icon="shield" href="/policies/tool-policies">
    Configure security guardrails for AI tools
  </Card>
</CardGroup>
