# Goose

> An open-source, general-purpose agent for coding, research and automation, founded by Block and now at the Linux Foundation, that works with many model providers and adds tools through MCP extensions. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.

_Updated November 23, 2026 · Checked against Goose 1.52.0 in EnvHaven v1.9.0_

| At a glance |  |
| --- | --- |
| Made by | Agentic AI Foundation |
| Command | `goose` |
| Version checked | 1.52.0, in EnvHaven v1.9.0 |
| License | Apache-2.0, [source](https://github.com/aaif-goose/goose) |
| Documentation | [goose-docs.ai](https://goose-docs.ai) |

## Use Goose in EnvHaven

1. Open your workspace in any browser, on a laptop, a tablet or a phone.
2. Tap **Launch**, choose Goose and tap **Sign in**: it runs `goose configure` for you in the terminal. For an API key, choose **Set key** instead and paste `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Goose gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (1.52.0), so there is nothing to install or update.
4. Give it a task. Nothing to set: Goose already defaults to autonomous mode.
5. Close the tab whenever you like. The workspace is an always-on Linux machine, so Goose keeps working, and every device you open it from shows the same session.

Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.

## Install Goose on another machine

macOS, Linux:

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

Homebrew:

```bash
brew install block-goose-cli
```

## Sign in from the terminal

In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:

- Run `goose configure` to pick a provider and model and store the key.
- Or set keys such as `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`, choosing the provider with `GOOSE_PROVIDER` and `GOOSE_MODEL`.
- ChatGPT Plus or Pro through its ChatGPT Codex provider, GitHub Copilot, and a Claude Code subscription through the claude-acp provider.

## Run Goose without permission prompts

For every session, as an environment variable:

```bash
export GOOSE_MODE=auto
```

Inside a session:

```bash
/mode auto
```

Goose starts in autonomous mode (`auto`) out of the box: it edits, deletes and runs commands without asking. On a machine without a keyring it stores keys in plain text in `~/.config/goose/secrets.yaml`.

**In EnvHaven:** Nothing to set: Goose already defaults to autonomous mode. The details, and when full access is safe, are on the [Goose full-access page](https://envhaven.com/yolo/goose).

## Instructions file

Goose reads `AGENTS.md`, `.goosehints`, `~/.config/goose/.goosehints`. Other names, such as CLAUDE.md, can be added with `CONTEXT_FILE_NAMES`.

## Add MCP servers

MCP servers are extensions, in ~/.config/goose/config.yaml:

```yaml
extensions:
  filesystem:
    type: stdio
    name: filesystem
    enabled: true
    cmd: npx
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/config/workspace"]
    timeout: 300
```

`goose configure` adds them interactively.

The [MCP config converter](https://envhaven.com/mcp-config) writes the same server for every agent at once.

## Run it from scripts

```bash
goose run -t "<prompt>"
```

Headless runs cannot stop to ask, so they need the full-access setting above.

## Goose away from your desk

Goose keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.

- [Goose in the browser](https://envhaven.com/agents/goose/browser)
- [Goose on iPhone](https://envhaven.com/agents/goose/iphone)
- [Goose on iPad](https://envhaven.com/agents/goose/ipad)
- [Goose on Android](https://envhaven.com/agents/goose/android)
- [Goose on a Chromebook](https://envhaven.com/agents/goose/chromebook)
- [Goose on Windows](https://envhaven.com/agents/goose/windows)
- [Goose on a VPS](https://envhaven.com/agents/goose/vps)
- [Goose in Docker](https://envhaven.com/agents/goose/docker)
- [Goose on a Raspberry Pi](https://envhaven.com/agents/goose/raspberry-pi)
- [Goose 24/7](https://envhaven.com/agents/goose/24-7)

## Compare Goose

- [Goose vs OpenCode](https://envhaven.com/compare/goose-vs-opencode)

## When Goose misbehaves

- [Goose: No provider configured. Run 'goose configure' first](https://envhaven.com/errors/goose/no-provider-configured)
- [Is Goose down?](https://envhaven.com/status/goose) Live status of the providers it depends on.

## Keep reading

- [Goose full-access mode](https://envhaven.com/yolo/goose)
- [Goose in the browser](https://envhaven.com/agents/goose/browser)
- [Goose on iPhone](https://envhaven.com/agents/goose/iphone)
- [Goose on iPad](https://envhaven.com/agents/goose/ipad)
- [Goose vs OpenCode](https://envhaven.com/compare/goose-vs-opencode)

Source: https://envhaven.com/agents/goose
