Skip to main content

Goose

Install, authenticate, and resume Block's Goose inside Daintree, including the session subcommand, provider env vars, and the macOS config path.

Reviewed

Goose

Goose is an open-source, provider-agnostic coding agent, created at Block and now developed under the Agentic AI Foundation. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.

Commandgoose session
ShortcutNone by default; assign one in Keyboard Shortcuts
RenderingGoose's own; Daintree passes no screen-mode flag
Resumegoose session --resume --session-id <id>
Quit command/exit
Permission bypassNone declared
PlatformsmacOS, Windows, Linux

Install & Authenticate

See Goose's current setup instructions for installation and sign-in.

curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
# or
brew install block-goose-cli
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/aaif-goose/goose/main/download_cli.ps1" -OutFile "download_cli.ps1";
.\download_cli.ps1

Goose's docs also cover running the curl script from Git Bash or MSYS2, and WSL. The installer puts goose.exe in %USERPROFILE%\.local\bin.

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

Daintree's in-app install prompt shows the same scripts under their earlier block/goose URLs, which still redirect to the new repository. Update later with goose update.

Once it's installed, run goose configure and choose Configure Providers to pick a provider and supply credentials. Daintree launches Goose with the session subcommand, so the effective command is goose session. GOOSE_PROVIDER and GOOSE_MODEL in the environment override the config file, and provider keys such as OPENAI_API_KEY can come from the environment too. Daintree shows Goose as ready when it finds the config file or one of GOOSE_PROVIDER, ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_API_KEY.

Note
Goose keeps its config at ~/.config/goose/config.yaml on macOS and Linux, and at %APPDATA%\Block\goose\config\config.yaml on Windows. Older Goose releases used ~/Library/Application Support/Block/goose/config.yaml on macOS, and that older location is the one Daintree's macOS probe still checks, so a current macOS install configured only through the file can show No credentials detected while Goose works. Setting GOOSE_PROVIDER in your environment satisfies the probe.

How Daintree Launches It

Daintree passes no screen-mode flag and declares no permission-bypass flag for Goose, and it doesn't hand Goose its MCP servers at launch. Goose marks its working lines with (Ctrl+C to interrupt), which is what Daintree's working-state detection keys on.

That footer is also the key to stopping a turn: Goose cancels with Ctrl+C, not Escape. Fleet's interrupt sends a double Escape to every armed agent, so it doesn't stop a Goose turn, and an MCP client's terminal.interrupt refuses a Goose pane by name rather than send keys Goose never bound.

Resuming Sessions

Goose prints session closed · <id> when it exits cleanly, and Daintree reads the ID off that line. Resuming relaunches goose session --resume --session-id <id>. Quit with /exit so the line is emitted: a killed process leaves no ID to capture, Goose declares no resume-latest fallback, and the next launch starts fresh. See Session Management for how resumable sessions are stored and pruned.

Launch flags, custom presets and display titles are covered in Agent Presets. What the working, waiting and exited badges on a running agent mean is covered in Agent States.

Tip
If goose isn't detected after install, confirm it's on your PATH (command -v goose on macOS/Linux, where.exe goose on Windows), then restart Daintree. The installers land the binary in ~/.local/bin (%USERPROFILE%\.local\bin on Windows), which isn't always on PATH for a GUI-launched process; Daintree probes both paths directly for exactly that reason.

Integration reference

This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, and resume support. Authentication badges report local evidence; the CLI still owns sign-in and provider access. After changing an installation, use Re-check in Settings > CLI agents; restart Daintree if its inherited PATH has changed.