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

# profclaw provider

> profclaw provider - add, remove, test, and configure AI provider connections. Set the default provider and list available models from any provider.

## Synopsis

```bash theme={null}
profclaw provider <subcommand> [flags]
```

## Description

Add, remove, and test AI provider configurations. Manage which providers are active and set the default provider for chat sessions.

## Subcommands

| Subcommand | Alias | Description |
| - | - | - |
| `list` | `ls` | List configured AI providers |
| `add <type>` | | Add and configure an AI provider |
| `remove <type>` | | Remove a provider configuration |
| `test [type]` | | Test provider health (all or specific) |
| `default [type]` | | Get or set the default provider |
| `models [type]` | | List available models |

## Flags

| Flag | Type | Description |
| - | - | - |
| `--yes` | boolean | Skip confirmation (remove) |
| `--json` | boolean | Output as JSON |

## Examples

```bash List providers theme={null}
profclaw provider list
```

```bash Add Ollama theme={null}
profclaw provider add ollama
```

```bash Test all providers theme={null}
profclaw provider test
```

```bash Set default theme={null}
profclaw provider default anthropic
```

```bash List models for a provider theme={null}
profclaw provider models openai
```

## Related

* [AI Providers Overview](https://docs.profclaw.ai/ai-providers/overview.md)
* [Configuration](https://docs.profclaw.ai/configuration/overview.md)
* [profclaw models](https://docs.profclaw.ai/cli/models.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.