Getting Started

Prerequisites

Before diving in, ensure you have the following installed:

  • Bun: A fast JavaScript bundler.

  • Docker: For running Leia AI in isolated containers.

  1. Install dependencies:

bun install
  1. Set up environment variables:

cp .env.sample .env
  1. Launch Docker to prepare the development environment:

sh ./docker-launch.sh
  1. Start an advanced example that demonstrates a goal-oriented agent playing an on-chain strategy game:

bun start --goal-based-agent

This will kick off an agent that autonomously executes complex in-game strategies.

Last updated