Search for a command to run...
Install Block's open-source Goose agent as a desktop app or CLI, connect it to Anthropic, OpenAI, Google or a local model, and extend it with 70+ MCP extensions.
Goose is a general-purpose AI agent that runs on your machine — not just for code, but for research, writing, automation and data analysis. It ships as a desktop app, a CLI and an API, and it is part of the Agentic AI Foundation at the Linux Foundation.
Goose is Apache 2.0, works with 15+ model providers, and connects to 70+ extensions through the Model Context Protocol. Nothing is locked to a single vendor.
git for the code-related workflowsDownload the app for macOS, Linux or Windows from goose-docs.ai and install it like any other desktop application.
# macOS, Linux and WSL
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
# Verify
goose --version# Build from source
git clone https://github.com/aaif-goose/goose.git
cd goose
make build
make installGoose needs a provider before it can do anything:
# Start the configuration flow
goose configure
# Or set the key directly
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
export GOOGLE_API_KEY=...| Provider | Environment variable |
|---|---|
| Anthropic | ANTHROPIC_API_KEY |
| OpenAI | OPENAI_API_KEY |
GOOGLE_API_KEY | |
| OpenRouter | OPENROUTER_API_KEY |
| Azure | AZURE_OPENAI_API_KEY |
| Amazon Bedrock | AWS_BEARER_TOKEN_BEDROCK |
| Ollama (local) | OLLAMA_HOST |
Goose can use your existing Claude, ChatGPT or Gemini subscription through ACP providers — no separate API key needed.
Extensions are the tools Goose can call. They are shared through MCP:
# List the available extensions
goose extension list
# Add one
goose extension add developer
# Remove one
goose extension remove developer# Configure a custom MCP server
goose mcp add filesystem -- /usr/bin/npx -y @modelcontextprotocol/server-filesystem .# Start an interactive session
goose session
# Run a single task non-interactively
goose run "summarise the changelog for the last release"
# List the available recipes
goose recipe list> use the developer extension
> add the "fix flaky test" recipeGOOSE_DEBUG=1 is detailed.Install Aider with the one-line installer, uv or pipx, connect it to a model provider and let it commit your changes to git as it works.
Install the open-source OpenCode terminal agent with the install script, npm or Homebrew, connect a model provider and bootstrap the project with an AGENTS.md file.