Getting started

Version: ≥5.0.x

Welcome to EDDI!

This article will help you to get started with EDDI.

What You're Installing

EDDI is a middleware orchestration service for conversational AI. When you run EDDI, you're starting:

  1. The EDDI Service: A Java/Quarkus application that exposes REST APIs for bot management and conversations

  2. MongoDB: A database that stores bot configurations, packages, and conversation history

  3. Optional UI: A web-based dashboard for managing bots (accessible at http://localhost:7070)

Once running, you can:

  • Create and configure bots through the API or dashboard

  • Integrate bots into your applications via REST API

  • Connect to LLM services (OpenAI, Claude, Gemini, etc.)

  • Build complex conversation flows with behavior rules

  • Call external APIs from your bot logic

Installation Options

You have two options to run EDDI: The most convenient way is to run EDDI with Docker. Alternatively, you can run EDDI from source by checking out the git repository and building the project with Maven.

Option 1 - EDDI with Docker

There are two ways to use Docker with EDDI, either with docker-compose or launch the container manually.

Prerequisite: You need an up and running Docker environment. (For references, see: https://docs.docker.com/learn/arrow-up-right)

  1. Run Docker Command:

Use launch docker containers manually

  1. Create a shared network

  2. Start a MongoDB instance using the MongoDB Docker image:

  3. Start EDDI :

Option 2 - Run from Source

Prerequisites:

  • Java 21

  • Maven 3.8.4

  • MongoDB > 4.0

How to run the project

Setup a local mongodb (> v4.0)

circle-info

If no mongodb instance is available on the give host, quarkus will try to run a mongodb container on startup, given the host has a docker running server

On a terminal, under project root folder, run the following command:

Note: If running locally inside an IDE you need lombok to be enabled (otherwise you will get compile errors complaining about missing constructors). Either download as plugin (e.g. inside IntelliJ) or follow instructions here https://projectlombok.org/arrow-up-right

Build App & Docker image

Download from Docker hub registry

https://hub.docker.com/r/labsai/eddiarrow-up-right

Run Docker image

For production, launch standalone mongodb and then start an eddi instance as defined in the docker-compose file

For development, use

For integration testing run

or

Important for eclipse users: If you are planning to browse and build EDDI's code from eclipse, you must take in consideration that EDDI uses project Lombok, so you must add it to eclipse classpath, this can be done easily by executing this jar:.m2\repository\org\projectlombok\lombok\1.16.26\lombok-1.16.26.jar

Last updated

Was this helpful?