> For the complete documentation index, see [llms.txt](https://docs.cortecs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cortecs.ai/integration-examples/agents-and-automations/goose.md).

# Goose

Use Cortecs models with Goose

[Goose](https://goose-docs.ai/) is an open-source AI agent for coding and automation. Connect it to Cortecs through an OpenAI-compatible custom provider.

{% hint style="info" %}
Before you begin, create a Cortecs API key by following the [Member quickstart](/member-quickstart.md) and choose a tool-calling model from the [model catalog](https://cortecs.ai/serverlessModels).
{% endhint %}

## 1. Install Goose

Download and install [Goose Desktop](https://goose-docs.ai/docs/getting-started/installation/).

## 2. Connect to Cortecs

1. Open Goose and go to **Settings → Models → Configure providers**.
2. Click **Add Custom Provider**, then **Configure manually** if prompted.
3. Enter the following values:

| Field                                 | Value                                                                            |
| ------------------------------------- | -------------------------------------------------------------------------------- |
| Provider Type                         | **OpenAI Compatible**                                                            |
| Display Name                          | `Cortecs`                                                                        |
| API URL                               | `https://api.cortecs.ai/v1/chat/completions`                                     |
| API Base Path (optional)              | Leave blank                                                                      |
| This provider requires an API key     | Enabled                                                                          |
| API Key                               | Your Cortecs API key                                                             |
| Available Models                      | The exact model ID from the [model catalog](https://cortecs.ai/serverlessModels) |
| Provider supports streaming responses | Enabled                                                                          |

Use the full Chat Completions URL shown above for this custom provider. To add multiple models, separate their IDs with commas.

Click **Create Provider** to save.

## 3. Start a chat

Go to **Settings → Models → Switch models**, choose **Cortecs** and your model, then click **Select model**. Start a new chat and send a prompt.

For more configuration options, see the [Goose custom provider documentation](https://goose-docs.ai/docs/getting-started/providers/#configure-custom-provider).
