Home

Awesome

<p align="center"> <a href="https://hexabot.ai" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/Ov50Pwe.png"> <img alt="Logo" src="https://i.imgur.com/gz1FnM7.png" width="280"/> </picture> </a> </p> <div align="center"> <strong> <h2>Build Smooth AI Chatbots / Agents</h2><br /> </strong> Hexabot provides everything you need to create and manage your own AI powered chatbot / agent,<br />Customizable, Multi-Channel, Multi-Lingual and Text-to-Action Capabilities. </div> <p align="center"> <br /> <a href="https://hexabot.ai/extensions" rel="dofollow"><strong>Extensions Library</strong></a> . <a href="https://docs.hexabot.ai" rel="dofollow"><strong>Documentation</strong></a> <br /> <br/> <a href="https://www.youtube.com/watch?v=-SBwHcFQESg">Video Tutorial</a> · <a href="https://discord.gg/rNb9t2MFkG">Join Our Discord</a> </p> <p align="center"> <video src="https://github.com/user-attachments/assets/623d94d1-12ae-4230-b6bb-fab64fc733c3" width="100%" /> </p>

Description

Hexabot is an open-source AI chatbot / agent solution. It allows you to create and manage multi-channel, and multilingual chatbots / agents with ease. Hexabot is designed for flexibility and customization, offering powerful text-to-action capabilities. Originally a closed-source project (version 1), we've now open-sourced version 2 to contribute to the community and enable developers to customize and extend the platform with extensions.

<a href="https://www.producthunt.com/posts/hexabot?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-hexabot" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=477532&theme=light" alt="Hexabot - Create&#0032;exceptional&#0032;chatbot&#0032;experiences&#0046;&#0032;100&#0037;&#0032;Open&#0032;Source&#0046; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

Features

Directory Structure

Getting Started

Prerequisites

Installation

Install Hexabot CLI globally to have easy access to its commands:

npm install -g hexabot-cli

Usage

  1. Create a new project:

    hexabot create my-chatbot
    

    This will create a new folder my-chatbot with all necessary files to get started.

  2. Navigate to your project folder:

    cd my-chatbot
    
  3. Install dependencies:

    npm install
    
  4. Initialize environment:

    hexabot init
    

    This command copies the .env.example file to .env, which you can edit to customize your configuration.

  5. Run in development mode:

    hexabot dev --services nlu,ollama
    

    This starts the required services in development mode.

UI Admin Panel is accessible via http://localhost:8080, the default credentials are :

Documentation

For detailed information on how to get started, as well as in-depth user and developer guides, please refer to our full documentation available in the docs folder or visit the Documentation.

You can also find specific documentation for different components of the project in the following locations:

Contributing

We welcome contributions from the community! Whether you want to report a bug, suggest new features, or submit a pull request, your input is valuable to us.

Please refer to our contribution policy first : How to contribute to Hexabot

Contributor Covenant

Feel free to join us on Discord

  1. Clone the Repository:
$ git clone https://github.com/hexastack/hexabot.git
  1. Installation: Install node dependencies:
$ npm install
  1. Environment Setup: To configure the environment variables, use the following command at the root folder for initialization:
$ hexabot init

This will copy the .env.example file to .env in the ./docker directory if the file does not already exist.

  1. Running the Application: Once your environment is set up, you can start the app. Use either of the following commands:

For development mode:

$ hexabot dev

Otherwise, you can choose to download docker images rather than building them:

$ hexabot start 

You can also enable services such as the NLU engine and Ollama (The services are declared under the ./docker folder) :

$ hexabot dev --services ollama,nlu

Note: The first time you run the app, Docker will take some time to download all the required images.

License

This software is licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms:

  1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission.
  2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).