Marketplace
Integrations
Eliza OS
Example Usage with Eliza

Example Usage

This example will show you how to use the Allora Network plugin for Eliza OS by interacting with .

Prerequisites

Download and Install Eliza OS

Download the Eliza OS (opens in a new tab) and cd into the directory.

git clone https://github.com/elizaOS/eliza.git
cd eliza

Copy the .env.example file

cp .env.example .env

Change Allora API Key and Chain ID

In your .env file, change the CHAIN_ID to your Chain ID (Chain ID is the Allora Network chain you want to interact with, e.g. testnet or mainnet).

# Chain ID
CHAIN_ID=

Run the Eliza OS

run scripts/start.sh

Converse with Eliza

User: "What is the predicted ETH price in 5 minutes?"
Agent: "I'll get the inference now..."
Agent: "Inference provided by Allora Network on topic ETH 5min Prediction (ID: 13): 3393.364326646801085508"