Install grad-agent in Goose
What you need first
- Goose, installed.
- uv, which
gives the
uvxcommand the server starts with. - Your own values for
YOUR_ANTHROPIC_API_KEY,YOUR_SMTP_SERVER,YOUR_SMTP_PORT,YOUR_SMTP_USERNAME,YOUR_SMTP_PASSWORD,YOUR_SMTP_FROM.
Steps
- Open
~/.config/goose/config.yaml. On Windows it is%APPDATA%\Block\goose\config\config.yaml. - Add this entry. If the file already has
extensions, add only the entry inside it.
extensions:
"grad-agent":
type: stdio
name: "grad-agent"
enabled: true
cmd: "uvx"
args: ["grad-agent==0.2.9"]
env_keys: []
envs: { "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY", "SMTP_SERVER": "YOUR_SMTP_SERVER", "SMTP_PORT": "YOUR_SMTP_PORT", "SMTP_USERNAME": "YOUR_SMTP_USERNAME", "SMTP_PASSWORD": "YOUR_SMTP_PASSWORD", "SMTP_FROM": "YOUR_SMTP_FROM" }
timeout: 300 - Replace
YOUR_ANTHROPIC_API_KEY,YOUR_SMTP_SERVER,YOUR_SMTP_PORT,YOUR_SMTP_USERNAME,YOUR_SMTP_PASSWORD,YOUR_SMTP_FROMwith your own values. - Save the file and start a new Goose session.
Check it worked
Ask Goose: List the tools of grad-agent.
If it does not start
- spawn uvx ENOENT
- uv is not on the PATH that Goose sees. Install it, or write the
full path of
uvxin the config. - The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid YAML any more. Check that the entry is indented like the lines around it.