---
title: "Configure an agent"
description: "Connect a supported coding agent to AIF and validate that the local protection service is reachable."
---

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

# Configure an agent

For a detected agent, run the default configuration command:

```sh title="Terminal"
aif configure
```

To choose and validate a specific integration, use the agent selector below.

## Claude Code

```sh title="Terminal"
aif configure --agent claude --validate
```

## Claude Cowork

Use the latest Claude Desktop app, run the default `aif configure` auto-detection, then confirm the connection with `aif status`.

## Codex

```sh title="Terminal"
aif configure --agent codex --validate
```

## Cursor

```sh title="Terminal"
aif configure --agent cursor --validate
```

## Antigravity CLI

```sh title="Terminal"
aif configure --agent antigravity --validate
```

## Kiro

```sh title="Terminal"
aif configure --agent kiro --validate
```

## OpenClaw

```sh title="Terminal"
aif configure --agent openclaw --validate
```

## Hermes

```sh title="Terminal"
aif configure --agent hermes --validate
```

After configuration, run `aif status`. If a validation does not pass, see [troubleshooting](/operations/troubleshooting).

Source: https://docs.harden.run/integrations/configure/index.mdx
