Skip to content

How to Use goose AI Agent (2026): Install, Local Models, Extensions and Recipes

6–9 minutes
Winking woman with a sleek ponytail in a copper satin shirt on a sunny park bench holding a card reading GOOSE, with the text Goose Free AI Agent

goose is a free, open source AI agent that can write code, run commands, research, automate tasks and work with your files.

It runs as a desktop app on Windows, macOS and Linux, or as a command-line tool, and it works with more than 85 model providers, including fully local models through Ollama or LM Studio.

Originally built by Block, goose now lives under the Agentic AI Foundation (AAIF) at the Linux Foundation, in the aaif-goose/goose repo. It uses MCP extensions for tools, so you can plug in browsers, databases, GitHub and much more.

This guide shows how to install goose, connect a cloud or local model, start your first session, add extensions, choose a safe permission mode and fix common issues. It follows the official goose README and docs as of November 2026.

TL;DR

  • What: an open source, general-purpose AI agent (Apache 2.0) with a desktop app and CLI.
  • Install CLI: curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
  • Set up a model: goose configure, then Configure Providers.
  • Start: goose session in your project folder.
  • Local models: Ollama, LM Studio, Docker Model Runner, Ramalama and more.
  • Safety: goose is fully autonomous by default; switch to Manual or Smart Approval with /mode.

What goose Can Do

  • Coding: build apps, fix bugs, refactor and run tests in your project folder.
  • Research and writing: gather information, summarize and draft documents.
  • Automation: run multi-step tasks, scrape pages and control the browser with extensions.
  • Data analysis: read files and make charts with the Auto Visualiser extension.
  • Build your own: run goose acp to use goose as the agent behind your own app, or build agents with the oi-kit Rust components.
Feature goose
License Apache 2.0, open source
Interfaces Desktop app (macOS, Linux, Windows) and CLI
Model providers 85+, including Anthropic, OpenAI, Gemini, OpenRouter, Bedrock
Local models Ollama, LM Studio, Docker Model Runner, Ramalama, Lemonade and more
Tools MCP extensions plus built-ins
Governance Agentic AI Foundation, Linux Foundation

Install goose (Desktop or CLI)

Desktop app

  1. Download the app for your system from the goose installation page.
  2. macOS: unzip the file and run the app.
  3. Linux (Debian/Ubuntu): install the DEB with sudo dpkg -i goose.deb (use the real file name) and launch it from the app menu.
  4. Windows: run the installer, or unzip the portable ZIP and run Goose.exe.

CLI

  1. Run the install script in a terminal (Git Bash, MSYS2 or PowerShell on Windows):
    curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
  2. Fix PATH if warned. Add the install folder to your PATH before running goose configure.
  3. Windows keyring: if asked during setup, choose not to store keys in the keyring to avoid errors.
  4. Check it: goose --version.

You can install both. The desktop app talks to the same goose agent backend over ACP.

Connect a Model Provider

In the desktop app

On first launch the welcome screen asks you to pick a provider. The official quickstart uses Agent Router by Tetrate, which signs you in through the browser and gives $10 in free credits the first time you authenticate through goose. You can choose any other provider instead.

In the CLI

  1. Run goose configure.
  2. Choose Configure Providers.
  3. Pick a provider, such as Anthropic, OpenAI, Gemini, OpenRouter, GitHub Copilot or Ollama.
  4. Enter your API key when asked. GitHub Copilot uses a sign-in code instead of a key.
  5. Select the model and wait for the configuration check.

goose turns on Anthropic prompt caching automatically for Claude models on supported providers, which lowers cost on long sessions.

Run goose With Local Models

Want zero API costs and full privacy? Use a local model server. The model must support tool calling.

  1. Install Ollama and pull a tool-calling model, for example ollama pull qwen3.
  2. Raise the context length. The docs warn that a small default context makes goose ignore extensions and hints. Start Ollama with OLLAMA_CONTEXT_LENGTH=32768 ollama serve.
  3. Run goose configure, choose Configure Providers, then Ollama.
  4. Accept the default host (localhost:11434) or enter your own.
  5. Pick your model. Installed Ollama models appear automatically in the list.
Local option How goose connects
Ollama Built-in Ollama provider
LM Studio LM Studio provider (OpenAI-compatible server)
Docker Model Runner OpenAI-compatible endpoint in Docker
Ramalama Ollama provider; serve with --runtime-args="--jinja"
vLLM or others Custom OpenAI-compatible provider, API key box unchecked

The README also says goose can load supported local models directly, without a separate server. Small local models struggle with long agent tasks, so a 14B+ coding model is a sensible minimum. See our best Ollama models and Docker Model Runner guide.

Start Your First Session

  1. Make a project folder and open a terminal in it, for example goose-demo.
  2. Start a session: goose session (or click Home in the desktop app).
  3. Describe the task like you’d brief a developer:
    create an interactive browser-based tic-tac-toe game in javascript where a player competes against a bot
  4. Watch it plan and build. goose writes the files in your folder.
  5. Resume later with goose session -r.

Add Extensions (MCP)

Built-in extensions you can toggle on:

Extension What it does
Developer Shell, file editing and dev tools (on by default)
Computer Controller Web scraping, file caching, browser automation
Memory Remembers your preferences
Auto Visualiser Makes charts in conversations
Skills, Summon, Analyze Skills loading, subagents and code analysis (on by default)
Todo, Chat Recall, Apps Task lists, history search and custom HTML apps
  1. Desktop: open the sidebar, click Extensions and toggle what you need.
  2. CLI: run goose configure, then Add Extension, then Built-in Extension or a command-line MCP server.
  3. One-off session with extensions:
    goose session --with-builtin "developer,computercontroller"
    goose session --with-extension "uvx mcp-server-fetch"
  4. Remote MCP servers over Streamable HTTP are supported too.

Permission Modes: Stay in Control

This matters: goose runs in Completely Autonomous mode by default, so with the Developer extension it can run commands and change or delete files without asking.

Mode Behavior Best for
Completely Autonomous No approvals needed Throwaway folders, trusted tasks
Manual Approval Asks before every tool use Important projects, learning
Smart Approval Auto-approves low-risk actions, flags the rest Daily use

Set the default for new sessions in Settings, or switch mid-session with /mode. Each session keeps its own mode, so changing the default doesn’t affect sessions you already have open.

Manual and Smart Approval also support per-tool permissions. You can mark safe tools such as file reading as always allowed, while keeping shell commands and file deletion behind an approval prompt. That balance keeps goose fast without letting it run anything risky on its own.

Tips for Better Results

  • Use a .goosehints file in your project to tell goose about your stack, style and rules.
  • Work in Git so you can review and undo every change.
  • Give clear goals: what to build, which files to touch and how to test it.
  • Turn on only the extensions you need, since each adds tools the model must reason about.
  • Pick a strong model for long tasks, and a cheaper one for quick questions.

Troubleshooting

Problem Likely cause Fix
goose: command not found Install folder not on PATH Add it to PATH and open a new terminal
Keyring errors on Windows Credential store issue Choose not to store keys in the keyring during setup
Ignores extensions or .goosehints Local model context too small Raise the context length (for example 32k in Ollama)
Local model never calls tools Model lacks tool calling Use a model tagged for tools
Can’t reach Ollama Wrong host or server not running Run ollama serve; check the host is localhost:11434
Ramalama errors with goose Missing Jinja flag Serve with --runtime-args="--jinja"
Files changed unexpectedly Autonomous mode Switch to Manual or Smart Approval with /mode
Rate limit or API errors Provider limits or bad key Re-run goose configure; try another provider

If Ollama isn’t using your GPU, our Ollama not using GPU fix walks through the checks.

FAQ

Is goose free?

Yes. goose is open source under Apache 2.0. You only pay for the model API you choose, or nothing with a local model.

Who makes goose?

It was started by Block and is now part of the Agentic AI Foundation at the Linux Foundation.

Can goose run fully offline?

Yes, with a local provider such as Ollama or LM Studio and a tool-calling model.

Is goose only for coding?

No. It’s a general-purpose agent for coding, research, writing, automation and data analysis.

Does goose work on Windows?

Yes. There’s a native desktop app and a CLI that installs from Git Bash, MSYS2 or PowerShell.

How do I stop goose from changing files without asking?

Switch to Manual Approval or Smart Approval in Settings or with /mode.

What is goose acp?

A command that runs goose as an agent subprocess speaking the Agent Client Protocol, so other apps can use it as their backend.

Sources

Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Winking woman with a sleek ponytail in a copper satin shirt on a sunny park bench holding a card reading GOOSE, with the text Goose Free AI Agent