# Earn $100 for building an AI Agent with Livepeer!

By [Agent SPE | Livepeer](https://paragraph.com/@agent-spe) · 2025-02-02

---

TLDR: Create an Eliza Agent and change `“modelProvider”: “livepeer”` in character file, then fill in the form at the bottom to earn $100!

  
**Video Version Here**

[![]({{DOMAIN}}/editor/youtube/play.png)](https://www.youtube.com/watch?v=pR6uJMmaRfc)

**INTRODUCTION**

Do you want to learn how to build your own AI Agent with the leading AI framework?

Do you want to earn free crypto for following this tutorial?

In the next 10 minutes you are going to learn how to launch your own Eliza AI Agent from scratch with no programming skills that can post on X, Discord, Telegram, Farcaster and more.

Follow the steps in this tutorial and fill in the Tutorial Reward form at the end to get your FREE Livepeer tokens! (Ticker: LPT)

\*\*Step One — Set Up Virtual Machine (30s — 1 min)\*\*_SKIP TO STEP TWO if you already have a Linux or Mac machine_

1.  **Visit** [**DigitalOcean.com**](https://www.digitalocean.com/pricing/droplets#basic-droplets) **(Or your choose favorite hosting site)**
    
2.  **Purchase a “Basic Droplet” server — Configure with Ubuntu 24 and minimum 8GB RAM**
    

![Make sure to select a 8GB Ram server (minimum)](https://storage.googleapis.com/papyrus_images/6a71e293d0ea85a4fd9ee8140c54d712f8c04a89e9f40abadc538696c35886d9.png)

Make sure to select a 8GB Ram server (minimum)

![Use Ubuntu 24](https://storage.googleapis.com/papyrus_images/136080a50c41c1b170c692f6c1a848ad7aff8bab5f4c43827f110be8fe86fb8b.png)

Use Ubuntu 24

![Create a root password](https://storage.googleapis.com/papyrus_images/1fcd8817a93eb18483bf509443d58ae8861f99390e8c854d9b6e98b701163805.png)

Create a root password

**3\. Log into your virtual machine using your IP address, username (root) and password. We use MobaXterm for our terminal. Follow the rest in the as terminal commands.**

![Log into your virtural machine (SSH)](https://storage.googleapis.com/papyrus_images/cddae9a62d0c2ead0a835216a5ae546bd598b110af9d1c209656b04c9154d83a.png)

Log into your virtural machine (SSH)

**Step Two — Install Node.js (1–2 min)**

1.  \*\*Copy and paste the following commands into the terminal. Or visit the official [NVM github repo](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating) to install nvm.\*\*_Having issues? Try the_ [_common issues section in the Eliza Docs_](https://elizaos.github.io/eliza/docs/quickstart/#common-issues--solutions)
    

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash 
    

    export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
    

![Example output](https://storage.googleapis.com/papyrus_images/96838904e4b88854a1feade1dd310bf5ca24040ddabe197b57dc57a445cbaec0.png)

Example output

**2\. Install Node.js (Version 23.3.0)**

![Example output](https://storage.googleapis.com/papyrus_images/6888fd58b047ead6bd7372cd369ce6e1630ec6a8554d173b418e4ffc6ecd67e5.png)

Example output

**3\. Install Pnpm**

    npm install -g pnpm@latest-10
    

![Example output](https://storage.googleapis.com/papyrus_images/7a3f7e9075668cab827b94c9049a2a4a1296accddb58a4f5e52d6e8a0c466a92.png)

Example output

**Step Three — Set Up Agent (4–6 min)**

1.  **Clone the Eliza Github Repo**
    

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

![Example output](https://storage.googleapis.com/papyrus_images/f9e5e80178b8d28c67fa22b16df98fafd133eae23e07dbf25a6d6bbcb36e10aa.png)

Example output

**2\. Install and Build Eliza**

Change directory into the Eliza folder

    cd eliza
    

![Example output](https://storage.googleapis.com/papyrus_images/3caa83d5fe5afffc3efd76bfbb3dae33017ff2af216ab5c8a60872fc34ef1f96.png)

Example output

Checkout “main” branch

    git checkout main
    

![Example Output](https://storage.googleapis.com/papyrus_images/015ede930242500d2eda3550b4bd29dc703c8301119967275fc5af41cc1881e9.png)

Example Output

Build the software

    pnpm install --no-frozen-lockfile
    

![Example output](https://storage.googleapis.com/papyrus_images/d199e79cff42eca7f30faba2c23776b606bd3af116ec1a9e5871380cffac0ca9.png)

Example output

![Example output](https://storage.googleapis.com/papyrus_images/339afb0b6277e7f462489ef7325cdb0947e76c063de61000d837c3d31286e621.png)

Example output

**3\. Copy the .env file**

Let’s copy the .env file so our agent can read any configurations

    cp .env.example .env
    

![.env file location](https://storage.googleapis.com/papyrus_images/5c06007dfcca1458c710d3721d057c953cfe5ec4f2e26d26505b698e3fc2be33.png)

.env file location

For this tutorial we do not need to modify the .env file, but if you want to make changes, such as using a different Livepeer gateway or different inference models, change these settings:

    # Livepeer configuration
    LIVEPEER_GATEWAY_URL=https://dream-gateway.livepeer.cloud           # Free inference gateways and docs: https://livepeer-eliza.com/
    LIVEPEER_IMAGE_MODEL=           # Default: ByteDance/SDXL-Lightning
    SMALL_LIVEPEER_MODEL=           # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
    MEDIUM_LIVEPEER_MODEL=          # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
    LARGE_LIVEPEER_MODEL=           # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
    

**4\. Modify the Character File**

The default characters are located in eliza/characters/

![Character file location](https://storage.googleapis.com/papyrus_images/ba3e1cb5a48d1ff83e92f855949707ea4ec9cccad6c36b103a3a6e20abb1a19b.png)

Character file location

Pick a sample character such as c3po.character.json ([Or build your own](https://elizagen.howieduhzit.best/), [or follow this video guide](https://youtu.be/X1aFEOaGcYE?si=mbuyY0ErkZ9av3QN&t=5713)) and change the modelProvider value to “livepeer”

    "modelProvider": "livepeer",
    

![Example configuration](https://storage.googleapis.com/papyrus_images/1d7b189a183caf30fd9acd1b7c969f62f77af9408426cdca8faac41ac067a56f.png)

Example configuration

That’s it! Technically you now have a Eliza Agent that runs on Livepeer! But it doesn’t really interact with anyone yet. So let’s connect it to a X account to post for us.

We just need to update the file to include where to post (such as X… but we still call is Twitter in Eliza) and include our account details.

The final result should look like this:

      "clients": ["twitter"],
      "modelProvider": "livepeer",
      "settings": {
        "secrets": {
        "TWITTER_USERNAME": "user_name",
        "TWITTER_PASSWORD": "XXXXXXX",
        "TWITTER_EMAIL": "your@email.com",
        "TWITTER_TARGET_USERS": "Some_cool_handle,A_second_cool_handle"
        }
      },
    

![Example configuration ](https://storage.googleapis.com/papyrus_images/59ee7b5426bea856261e8fc64cf090e1d404d314d2c29d7db934aac94e416b25.png)

Example configuration

Then we run the agent.

    pnpm start --character="characters/c3po.character.json"
    

![Example Agent Running](https://storage.googleapis.com/papyrus_images/7af162b927be2c632326dfe2120c023c283a37021a9b6e89bd84fa379a50dd57.png)

Example Agent Running

The Agent will post to X every 2 hours, comment on target user posts and engage with people on it’s own posts!

You can also follow the tutorials for [Discord, Telegram integrations here](https://elizaos.github.io/eliza/docs/quickstart/#platform-integration).

**5\. Run 24/7 (optional)**

To leave the agent running we can use a tool like Tmux to keep the program running in the background after we exit the virtual machine. Here are the tmux commands:

    tmux                 # creates a new detached window
    ctl + b and then d   # detaches from current window (program still runs)
    tmux list-windows    # list all tmux windows
    tmux attach -t 0     # attaches to the first detached window
    

**Now for the REWARD!**
=======================

If you have successfully followed these steps, fill in this form!

Link: [https://forms.gle/spRXET9Y34ipnm5J7](https://forms.gle/spRXET9Y34ipnm5J7)

We will collect submissions over the next 2 months (until March 25, 2025) and hand out the rewards to anyone who participates in building on Livepeer.

If you have any questions, please refer to our [documentation site](https://livepeer-eliza.com/) for updates, links to new tutorials and contact info: [livepeer-eliza.com](https://livepeer-eliza.com/)

Thank you for participating!

Titan — Livepeer Agent SPE Team

---

*Originally published on [Agent SPE | Livepeer](https://paragraph.com/@agent-spe/earn-100-for-building-an-ai-agent-with-livepeer)*
