
Getting Started Guide
How to Use Goose
A practical guide to get you up and running with Goose. Written by Delv Editorial, Delv Team.
Getting started with Goose
In this guide, you will learn how to set up Goose, an open-source AI agent framework for autonomous coding tasks. By the end, you'll be able to execute coding tasks efficiently using Goose.Step 1: Sign up and set up
- Visit Goose's website.
- Click on the "Get Started" button on the homepage.
- Follow the instructions to clone the Goose repository from GitHub. You can do this by running the command:
git clone https://github.com/block/goose.git
- Navigate to the cloned directory:
cd goose
- Install the necessary dependencies by running:
npm install
Step 2: Your first task
- Open your terminal and start Goose by running:
npm start
- In the console, you will see a prompt. Type your first command, for example, to create a new file:
create_file("example.txt", "Hello, Goose!")
- Hit Enter. Goose will autonomously create the file with the specified content in your current directory.
Step 3: Get better results
- To read a file, use:
read_file("example.txt")
- For running tests, you can input:
run_tests()
- Ensure you provide clear commands and specify the parameters correctly. This helps Goose to understand your needs better and execute tasks more accurately.