goose: An Open Source AI Agent with Desktop, CLI, and API

A practical overview of goose: an open source AI agent under AAIF/Linux Foundation with desktop, CLI, API, multiple model providers, ACP subscription access, and MCP extensions.

goose is an open source AI agent that runs on your own machine. It is not limited to code completion; it aims to cover code, research, writing, automation, data analysis, and other tasks. The README positions it as a desktop app, CLI, and API that can serve both normal users and custom workflows.

The project has moved from block/goose to the Agentic AI Foundation (AAIF) at the Linux Foundation. The current repository is:

1
https://github.com/aaif-goose/goose

goose is mainly written in Rust and TypeScript and uses the Apache-2.0 license. Its GitHub description says it is an open source, extensible AI agent that goes beyond code suggestions and can install, execute, edit, and test with any LLM.

What Problem It Solves

Many AI coding tools focus on suggestions or local code edits. goose takes a broader view: let an AI agent complete tasks directly on your machine.

It can be used for:

  • Code changes and tests.
  • Local automation.
  • Research and writing.
  • Data analysis.
  • Multi-step workflows.
  • Embedding through an API.
  • Tool extension through MCP.

If you only need IDE completion, a Copilot-style tool may be enough. goose is more useful when you want AI inside the local task execution chain.

Desktop, CLI, and API

goose has three entry points.

The desktop app supports macOS, Linux, and Windows. It is good for users who prefer a visual interface.

The CLI fits terminal workflows and local development automation.

The API lets other systems or internal tools embed goose as an agent runtime.

Personal users can start with the desktop app or CLI. Teams and workflow builders should also look at the API and custom distribution support.

Installation

The README recommends downloading the desktop app:

1
https://goose-docs.ai/docs/getting-started/installation

CLI install:

1
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash

GitHub Releases provide builds for multiple platforms. The latest release checked here was v1.33.1, published on 2026-04-29, with macOS, Linux, Windows, deb, rpm, and Flatpak assets.

After installation, configure a provider from the official quickstart and test in a low-risk directory first. goose can execute local tasks, so avoid giving it broad permissions in a production repository from the start.

Providers

goose supports 15+ providers, including:

  • Anthropic
  • OpenAI
  • Google
  • Ollama
  • OpenRouter
  • Azure
  • Bedrock
  • other cloud or OpenAI-compatible providers

It can use API keys, and it can also use existing Claude, ChatGPT, or Gemini subscriptions through ACP.

ACP is important because many users already pay for subscriptions, but different tools cannot easily reuse them. goose uses ACP providers to bring those subscriptions into an agent workflow.

Provider policies change quickly. Check whether the access method is allowed, whether there are quotas, and whether it is suitable for company code or sensitive data.

MCP Extensions

goose supports Model Context Protocol extensions. The README mentions 70+ extensions.

MCP matters because an agent should not only chat and edit files. Through standard protocol servers, it can connect to documentation, databases, browsers, internal systems, search services, design tools, or project management tools.

For teams, MCP can become a safer integration layer: expose internal capabilities through explicit interfaces instead of letting the model touch every system directly.

Difference from a Coding Assistant

goose is not just a code completion tool. It is closer to a local agent runtime.

Common coding assistants focus on:

  • Code completion.
  • Code explanation.
  • Function generation.
  • Local editor edits.

goose emphasizes:

  • Local task execution.
  • Multi-step workflows.
  • Switchable providers.
  • Extensions.
  • Desktop and CLI.
  • Embeddable API.
  • Non-code tasks too.

This also means more complexity. You must think about model configuration, permissions, extensions, workspace scope, logs, and credentials.

Custom Distributions

The repository includes CUSTOM_DISTROS.md, which explains how to build a custom goose distribution with preconfigured providers, extensions, and branding.

This is useful for teams:

  • Preconfigure allowed model providers.
  • Connect internal MCP servers.
  • Set safety policies and logging.
  • Block disallowed external services.
  • Apply company branding and onboarding.

Members do not need to configure everything from scratch, and the risk of wrong provider or key setup is reduced.

Suggested Use

Start gradually:

  1. Install the desktop app or CLI.
  2. Configure one known-good provider.
  3. Run simple tasks in a test directory.
  4. Observe what it reads and executes.
  5. Add MCP extensions.
  6. Try larger repositories later.

Keep a few habits:

  • Commit important changes before agent work.
  • Do not store API keys in project files.
  • Use high-permission modes only in trusted workspaces.
  • Review company data and provider policy first.
  • Keep human review for automation results.

Who Should Use It

goose is a good fit if you want a desktop and CLI AI agent, multiple model providers, MCP integration, API embedding, or custom team distributions. It may be heavy if all you need is IDE code completion.

Summary

goose is an open source AI agent under AAIF/Linux Foundation. It provides desktop, CLI, and API entry points, supports 15+ providers, ACP subscription access, and 70+ MCP extensions.

Its value is not only writing code, but placing models, tools, extensions, and local execution into one agent framework. Start small, define permission and data boundaries, then expand usage.

References

记录并分享
Built with Hugo
Theme Stack designed by Jimmy