goose
goose is a local AI agent and CLI tool for automating engineering tasks. It's completely open-source with no vendor lock-in, supports local LLMs, has extensive MCP (Model Context Protocol) support, and offers powerful extensibility through recipes.
Prerequisites
Create a provider in the AI Gateway for the provider you want to use with goose, then get a gateway URL and key in one of two ways:
- Use your personal API key (recommended). goose runs on your own machine, so call the project's User App. Open the My Keys tab of your AI Gateway project, copy the Gateway URL, and create a key under My API keys. Your requests count against your own budget.
- Use an app. For a shared or automated setup, create a pool and an app for goose, then copy the app's API URL and API Key.
The rest of this guide calls these your gateway URL and gateway key.
Configure goose
Because goose can be run as a standalone desktop app and a CLI there are two configuration approaches depending on which version you choose.
CLI
-
Run
goose configure -
Choose OpenAI as the provider you want to add (this will work for any OpenAI compatible provider and model)
-
Set the
OPENAI_API_KEYto your gateway key -
Set the
OPENAI_HOSTto your gateway URL without the/v1suffix (for examplehttps://my-gateway-main-2e18f50.zuplo.app/u/741d375d631b429293481d6d0458bb64)—the base path in the next step supplies it -
The
OPENAI_BASE_PATHmay already be configured. If it's not, enterv1/chat/completionsas the value -
Enter the model you want to use with goose, as
providerName/model—for exampleopenai/gpt-6-luna.
The Model Filtering policy on the User App or the app controls which models you may use, so the model you enter here must be one that policy allows.
After completing the steps, goose will check the configuration. If all is well it will save the configuration and you are ready to start working with goose via the AI Gateway.
Desktop App
If you are using the goose desktop app you can add a Custom Provider for AI Gateway by following these steps:
-
Open the goose desktop app
-
Click on Settings
-
Click on Configure Providers to open the Provider settings
-
Click on Add Custom Provider
-
Choose a Provider Type (both OpenAI Compatible and Anthropic compatible will work)
-
Enter a Display Name (for example Zuplo AI Gateway)
-
Set the API URL to your gateway URL
-
Set the API Key to your gateway key
-
Set the list of Available Models to the models the Model Filtering policy allows, named as
providerName/model(for exampleopenai/gpt-6-lunaandopenai/gpt-6.1-sol) -
Click on Create Provider
The Zuplo AI Gateway and associated provider and models will now be available to use with the goose desktop app.