goose

goose is Block’s open-source terminal agent. It runs shell commands and edits files through its built-in developer extension.

Depaza API key
Model

Your key stays in this browser (local storage) and is sent only to depaza.eu. Every config block on this page fills in automatically. Don’t do this on a shared machine.

goose splits the endpoint into OPENAI_HOST (scheme and host) and OPENAI_BASE_PATH (the full path including /chat/completions). This is unlike every other client on these pages, which take one base URL.

Install

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

Configure

~/.config/goose/config.yaml
GOOSE_PROVIDER: openai
GOOSE_MODEL: {{MODEL}}
OPENAI_HOST: https://depaza.eu
OPENAI_BASE_PATH: v1/chat/completions
extensions:
  developer:
    enabled: true
    name: developer
    type: builtin
shell
export OPENAI_API_KEY={{KEY}}
goose session

One-shot:

shell
goose run --no-session -t "Add a docstring to every function in utils.py"