LLM Orchestrator automation open-source platform
Find a file
Rodrigo Rodriguez (Pragmatismo) 9d95e4f8c1
Some checks failed
GBCI / build (push) Has been cancelled
fix(WhatsappDirectLine): update sendFileToDevice to default isViewOnce to true and clean up header example
2025-06-15 19:23:39 -03:00
.forgejo/workflows fix(KBService): update Puppeteer configuration for headless mode and executable path 2025-06-09 19:51:05 -03:00
.vscode
docs
packages fix(WhatsappDirectLine): update sendFileToDevice to default isViewOnce to true and clean up header example 2025-06-15 19:23:39 -03:00
src feat(KeywordsExpressions, DialogKeywords, AdminDialog, GBDeployer, KBService): enhance functionality and improve file handling 2025-05-11 10:09:32 -03:00
templates fix(KBService): standardize formatting and improve code readability 2025-05-22 20:32:30 -03:00
.gitattributes
.gitignore fix(KBService): update Puppeteer configuration for headless mode and executable path 2025-06-09 19:48:24 -03:00
.hintrc
.npmignore
.prettierrc
.test-init.ts
api-template.json
blank.docx
blank.xlsx
boot.mjs
CHANGELOG.md
CODE_OF_CONDUCT-pt-br.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
DATABASE-CHANGES.md
deploy.cmd
deploy.sh
directline-v2.json
extensions.json
gbot.cmd
gbot.sh
LICENSE
logo.png
package-lock.json
package.json fix(KBService): update Puppeteer configuration for headless mode and executable path 2025-06-09 19:48:24 -03:00
README.md
SECURITY.md
suppress-node-warnings.cjs
swagger.yaml
teams-color.png
teams-manifest.json
teams-outline.png
tsconfig.api.json
tsconfig.json
tslint.json
typedoc.json
vm-inject.js
WARNINGS.md

Key Facts

  • LLM Orchestrator AGPL licensed (to use as custom-label SaaS, contributing back)
  • True community governance
  • No single corporate control
  • 5+ years of stability
  • Never changed license
  • Enterprise-grad
  • Hosted locally or Multicloud

Contributors

Overview

Area Status
Releases General Bots .gbapp lib semantic-release
Community StackExchange Open-source PRs Welcome License
Management Maintenance
Security Known Vulnerabilities
Building & Quality Coverage Status code style: prettier
Packaging forthebadge Commitizen friendly
Samples BASIC or TypeScript
Docker Image Docker Pulls
Provided by @lpicanco

General Bots

General Bot Logo)

General Bot is a strongly typed LLM conversational platform package based chat bot server focused in convention over configuration and code-less approaches, which brings software packages and application server concepts to help parallel bot development.

What is a Bot Server?

Bot Server accelerates the process of developing a bot. It provisions all code base, resources and deployment to the cloud, and gives you templates you can choose from whenever you need a new bot. The server has a database and service backend allowing you to further modify your bot package directly by downloading a zip file, editing and uploading it back to the server (deploying process) with no code. The Bot Server also provides a framework to develop bot packages in a more advanced fashion writing custom code in editors like Visual Studio Code, Atom or Brackets.

Everyone can create bots by just copying and pasting some files and using their favorite tools from Office (or any text editor) or Photoshop (or any image editor). LLM and BASIC can be mixed used to build custom dialogs so Bot can be extended just like VBA for Excel.

Getting Started

Prerequisites

Before you embark on your General Bots journey, ensure you have the following tools installed:

  • Node.js (version 20 or later): General Bots leverages the latest features of Node.js to provide a robust and efficient runtime environment. Download it from nodejs.org.
  • Git (latest stable version): Essential for version control and collaborating on bot projects. Get it from git-scm.com.

Quick Start Guide

Follow these steps to get your General Bots server up and running:

  1. Clone the repository:

    git clone https://github.com/GeneralBots/BotServer
    

    This command creates a local copy of the General Bots server repository on your machine.

  2. Navigate to the project directory:

    cd BotServer
    

    This changes your current directory to the newly cloned BotServer folder.

  3. Install dependencies and start the server:

    npm install
    npm run start
    

    The npm install command installs all necessary dependencies for the project. npm run start builds your bot server locally and serves it through a development server.

Accessing Your Bot

Once the server is running, you can access your bot at http://localhost:4242/. This local server allows you to interact with your bot and test its functionality in real-time. If you want to publish without password, define ADMIN_OPEN_PUBLISH as true in BotServer .env file.

To publish bot packages and initiate a conversation with the bot, use the command:

/publish

This command prepares your bot packages for use and allows you to start interacting with your bot immediately.

Development Workflow

1. Project Structure

The General Bots server follows a modular architecture designed for flexibility and scalability. Here's an overview of the main directories:

BotServer/
├── packages/
│   ├── core.gbapp/         # Core bot functionality
│   ├── kb.gbapp/           # Knowledge base packages
├── src /             # Main entry point
└── package.json      # Project configuration

This structure allows for easy navigation and management of different aspects of your bot project.

2. Creating Custom Packages

One of the strengths of General Bots is its extensibility. You can create custom packages to enhance your bot's capabilities:

  • .gbkb (Knowledge Base packages): Store and manage your bot's knowledge and responses.
  • .gbtheme (Theme packages): Customize the visual appearance of your bot interface.
  • .gbapp (Application packages): Add new features and functionalities to your bot.

Each package type has its own structure and purpose, which we'll explore in depth in their respective chapters.

Samples

Several samples, including a Bot for AD Password Reset, are avaiable on the repository list.

Using complete General Bots Conversational Data Analytics

TALK  "General Bots Labs presents FISCAL DATA SHOW BY BASIC" 

TALK "Gift Contributions to Reduce the Public Debt API (https://fiscaldata.treasury.gov/datasets/gift-contributions-reduce-debt-held-by-public/gift-contributions-to-reduce-the-public-debt)" 
 
result = GET "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/gift_contributions?page[size]=500" 
data = result.data 
data = SELECT YEAR(record_date) as Yr, SUM(CAST(contribution_amt AS NUMBER)) AS Amount FROM data GROUP BY YEAR(record_date) 

TALK "Demonstration of Gift Contributions with AS IMAGE keyword" 
SET THEME dark 
png = data as IMAGE  
SEND FILE png 

DELAY 5 
TALK " Demonstration of Gift Contributions CHART keyword" 
 img = CHART "bar", data  
SEND FILE img 

Guide

Read the General Bots BotBook Guide

Videos

7 AI General Bots LLM Templates for Goodness https://www.youtube.com/watch?v=KJgvUPXi3Fw

Contributing

This project welcomes contributions and suggestions. See our Contribution Guidelines for more details.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the pragmatismo.com.br Security team at security@pragmatismo.com.br. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message.

License & Warranty

General Bot Copyright (c) pragmatismo.com.br. All rights reserved. Licensed under the AGPL-3.0.

According to our dual licensing model, this program can be used either under the terms of the GNU Affero General Public License, version 3, or under a proprietary license.

The texts of the GNU Affero General Public License with an additional permission and of our proprietary license can be found at and in the LICENSE file you have received along with this program.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

"General Bot" is a registered trademark of pragmatismo.com.br. The licensing of the program under the AGPLv3 does not imply a trademark license. Therefore any rights, title and interest in our trademarks remain entirely with us.

💬 Ask a question          📖 Read the Docs Team pictures made with contrib.rocks. General Bots Code Name is Guaribas, the name of a city in Brazil, state of Piaui. Roberto Mangabeira Unger: "No one should have to do work that can be done by a machine".