inference.eu

Agents · goose

Use goose with open-source models hosted in the EU

goose is an open-source AI agent for the desktop and the terminal that installs, runs, edits and tests on your behalf. It supports custom OpenAI-compatible providers through a small JSON file or its settings screen. Point it at inference.eu and every agent session runs on open-weight models processed in European data centres.

  1. 01API format: OpenAI
  2. 02EU data centres
  3. 03Covered by one DPA

Set it up in a few minutes

  1. 1

    Create an API key in your inference.eu account and export it as INFERENCE_EU_API_KEY.

  2. 2

    In goose Desktop, open Settings, Models, Configure providers and click Add Custom Provider; in the CLI, run goose configure and choose Custom Providers.

  3. 3

    Choose OpenAI Compatible, enter inference.eu as the name, the inference.eu base URL and your key, and list the models you want.

  4. 4

    Or save the JSON file shown here in ~/.config/goose/custom_providers/.

  5. 5

    Start a session with goose session --provider inference-eu and select a model.

~/.config/goose/custom_providers/inference-eu.json
{
  "name": "inference-eu",
  "engine": "openai",
  "display_name": "inference.eu",
  "description": "Open-weight models processed in EU data centres",
  "api_key_env": "INFERENCE_EU_API_KEY",
  "base_url": "https://api.inference.eu/v1/chat/completions",
  "models": [
    { "name": "qwen3-coder-480b-a35b-instruct", "context_limit": 262144 },
    { "name": "gpt-oss-120b", "context_limit": 131072 }
  ],
  "supports_streaming": true,
  "requires_auth": true
}

What goose is

goose is an open-source, extensible AI agent, created at Block and now developed in the open under the Agentic AI Foundation. It runs as a desktop app and a CLI, and goes beyond code suggestions: it can install packages, run commands, edit files and test results. Extensions based on the Model Context Protocol connect it to other tools and services.

goose works with many model providers. Custom providers let you add any service that uses the OpenAI, Anthropic or Ollama format, which is how you connect inference.eu with its own name, models and key.

How the configuration works

A custom provider is a JSON file in ~/.config/goose/custom_providers/, or %APPDATA%\Block\goose\config\custom_providers\ on Windows. engine selects the API format, base_url is the full chat completions URL, api_key_env names the environment variable that holds your key, and models lists the model ids with their context limits.

The desktop app and goose configure write the same file for you and store the key in your system keychain. You can also share the JSON file with your team or check it into a configuration repository, since it contains no secret. For a quick setup without a custom provider, the built-in OpenAI provider also accepts OPENAI_HOST for a custom endpoint.

Which models to choose

goose drives work through tool calls to its extensions, so tool-calling reliability matters more than raw size. kimi-k3 and glm-5.3 are strong general agent models that plan multi-step tasks and pick tools sensibly. For work that is mostly code, qwen3-coder-480b-a35b-instruct is a good choice.

gpt-oss-120b responds quickly and suits lighter automations and the lead and worker pattern, where a stronger model plans and a faster one carries out routine steps. Set context_limit for each model so goose can manage long sessions without hitting the limit.

Troubleshooting

If goose reports a missing key, INFERENCE_EU_API_KEY is not set in the environment of the goose process, and no key is in the keychain. A 401 means the key is wrong. A 404 usually means base_url is incomplete: in the custom provider file it must be the full URL ending in /chat/completions.

"Model not found" means a model name in the file differs from the inference.eu id. If goose answers in text instead of using extensions, switch to a model with reliable tool calling, such as Kimi K3, GLM-5.3 or Qwen3 Coder. goose configure cannot enter custom model names for built-in providers; use the custom provider or the desktop app instead.

Keeping code and data in the EU

goose runs on your machine and sends model requests to the provider you select. With inference.eu as the provider, prompts, files and tool output are processed in EU data centres and never used for training. We sign a data processing agreement under Article 28 GDPR, share our subprocessor list and bill in euros.

Extensions are separate services: an extension that calls a third-party API sends data there, independent of the model. Review which extensions are enabled, and set inference.eu as the default provider so new sessions do not start on another one.

goose: common questions

The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.

Ask a question

Move your AI workloads to EU infrastructure

Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.

  • Reply within one working day
  • Pricing for your volume
  • DPA ready to sign