Goose in 5 minutes
Goose is an extensible open source AI agent that enhances your software development by automating coding tasks.
This quick tutorial will guide you through:
- ✅ Installing Goose
- ✅ Configuring your LLM
- ✅ Building a small app
- ✅ Adding an MCP server
Let's begin 🚀
Install Goose
- macOS
- Linux
- Windows
Choose to install the Desktop and/or CLI version of Goose:
- Goose Desktop
- Goose CLI
To download Goose Desktop for macOS, click one of the buttons below:
- Unzip the downloaded zip file.
- Run the executable file to launch the Goose Desktop application.
Run the following command to install Goose:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash
Choose to install the Desktop and/or CLI version of Goose:
- Goose Desktop
- Goose CLI
To download Goose Desktop for Linux, click one of the buttons below:
For Debian/Ubuntu-based distributions:
- Download the DEB file
- Navigate to the directory where it is saved in a terminal
- Run
sudo dpkg -i (filename).deb
- Launch Goose from the app menu
Run the following command to install the Goose CLI on Linux:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash
Choose to install the Desktop and/or CLI version of Goose:
- Goose Desktop
- Goose CLI
To download Goose Desktop for Windows, click the button below:
- Unzip the downloaded zip file.
- Run the executable file to launch the Goose Desktop application.
Run the following command in Git Bash, MSYS2, or PowerShell to install the Goose CLI natively on Windows:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash
Learn about prerequisites in the installation guide.
If you see a PATH warning after installation, you'll need to add Goose to your PATH before running goose configure
. See the Windows CLI installation instructions for detailed steps.
If prompted during configuration, choose to not store to keyring. If you encounter keyring errors, see the Windows setup instructions for more information.
Configure Provider
Goose works with supported LLM providers that give Goose the AI intelligence it needs to understand your requests. On first use, you'll be prompted to configure your preferred provider.
- Goose Desktop
- Goose CLI
On the welcome screen, choose Automatic setup with Tetrate Agent Router
.
Goose will open a browser for you to authenticate.
You'll receive $10 in free credits the first time you automatically authenticate with Tetrate through Goose. This offer is available to both new and existing Tetrate users and is valid through October 2, 2025.
Tetrate provides access to multiple AI models with built-in rate limiting and automatic failover. If you prefer a different provider, choose automatic setup with OpenRouter or manually configure a provider.
On the welcome screen, choose Tetrate Agent Router Service Login
. Use the up and down arrow keys to navigate the options, then press Enter
to select.
Goose will open a browser for you to authenticate.
You'll receive $10 in free credits the first time you automatically authenticate with Tetrate through Goose. This offer is available to both new and existing Tetrate users and is valid through October 2, 2025.
Tetrate provides access to multiple AI models with built-in rate limiting and automatic failover. If you prefer a different provider, choose automatic setup with OpenRouter or manually configure a provider.
Start Session
Sessions are single, continuous conversations between you and Goose. Let's start one.
- Goose Desktop
- Goose CLI
After choosing an LLM provider, click the Home
button in the sidebar.
Type your questions, tasks, or instructions directly into the input field, and Goose will immediately get to work.
- Make an empty directory (e.g.
goose-demo
) and navigate to that directory from the terminal. - To start a new session, run:
goose session
CLI users can also start a session in Goose Web, a web-based chat interface:
goose web --open
Write Prompt
From the prompt, you can interact with Goose by typing your instructions exactly as you would speak to a developer.
Let's ask Goose to make a tic-tac-toe game!
create an interactive browser-based tic-tac-toe game in javascript where a player competes against a bot
Goose will create a plan and then get right to work on implementing it. Once done, your directory should contain a JavaScript file as well as an HTML page for playing.
Enable an Extension
While you're able to manually navigate to your working directory and open the HTML file in a browser, wouldn't it be better if Goose did that for you? Let's give Goose the ability to open a web browser by enabling the Computer Controller
extension.
- Goose Desktop
- Goose CLI
- Click the button in the top-left to open the sidebar.
- Click
Extensions
in the sidebar menu. - Toggle the
Computer Controller
extension to enable it. This extension enables webscraping, file caching, and automations. - Return to your session to continue.
- Now that Goose has browser capabilities, let's ask it to launch your game in a browser:
- End the current session by entering
Ctrl+C
so that you can return to the terminal's command prompt. - Run the configuration command
goose configure
- Choose
Add Extension
>Built-in Extension
>Computer Controller
, and set the timeout to 300s. This extension enables webscraping, file caching, and automations.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Built-in Extension
│
◇ Which built-in extension would you like to enable?
│ Computer Controller
│
◇ Please set the timeout for this tool (in secs):
│ 300
│
└ Enabled computercontroller extension
- Now that Goose has browser capabilities, let's resume your last session:
goose session -r
- Ask Goose to launch your game in a browser:
open the tic-tac-toe game in a browser
Go ahead and play your game, I know you want to 😂 ... good luck!
Next Steps
Congrats, you've successfully used Goose to develop a web app! 🎉
Here are some ideas for next steps:
- Continue your session with Goose and it improve your game (styling, functionality, etc).
- Browse other available extensions and install more to enhance Goose's functionality even further.
- Provide Goose with a set of hints to use within your sessions.