Quickstart
This is an example on how to run a basic agent that performs a task on Mode AI with GOAT
How to Run Mode AI Plugin from GOAT
Prerequisites
-
Node.js v20.12.2 or higher.
-
-
PNPM.
Steps
-
Clone the GOAT repository:
-
Open the repository in your preferred code editor (we'll use VSCode in this example).
-
Install dependencies and build the project:
-
Since we are going to test the Mode AI plugin, which is in the TypeScript folder, we first need to navigate to that directory:
-
Then, run the following commands:
-
Set up the Mode AI plugin:
-
Go to the plugin directory:
-
Copy the environment configuration file:
-
Fill in the .env file with the following values:
-
OPENAI_API_KEY: Obtained from OpenAI.
-
WALLET_PRIVATE_KEY: Your wallet's private key. It's important to ensure that the key starts with 0x to avoid execution errors.
-
-
Rebuild the project:
-
Navigate back to the goat/typescript directory and run:
-
Run the Mode AI plugin:
-
Navigate back to the plugin directory:
-
Run the following command to start the plugin:
-
You will see the message:
Ready! You can now interact with the Mode AI plugin in GOAT.
Last updated
Was this helpful?