Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pages/marketplace/integrations/eliza-os/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"eliza-os": "Eliza OS",
"example-usage": "Example Usage"
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ console.log(prediction)
// { topic: 'ETH 5min Prediction', id: 13, value: 3393.364326646801085508 }
```

---

## Example Agent Interaction

```plaintext
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"
```

---

## Testing the Plugin

### Prerequisites
Expand Down
55 changes: 55 additions & 0 deletions pages/marketplace/integrations/eliza-os/example-usage.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Example Usage

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

## Prerequisites

- Node 23.3
- [Python 2.7+](https://www.python.org/downloads/)
- [`pnpm`](https://pnpm.io/installation)
- [Allora API Key](https://developer.upshot.xyz)

## Download and Install Eliza OS

Download the [Eliza OS](https://github.com/elizaOS) and cd into the directory.

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

### Copy the `.env.example` file

```bash
cp .env.example .env
```

### Change Allora API Key and Chain ID

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

<Callout type="info">
You can get your Allora API Key from the [Allora Developer Dashboard](https://developer.upshot.xyz).
</Callout>

```bash
# Allora API Key
ALLORA_API_KEY=

# Chain ID
CHAIN_ID=
```

### Run the Eliza OS

```bash
run scripts/start.sh
```

### Converse with Eliza

```plaintext
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"
```
Loading