LLM Orchestrator automation open-source platform
Find a file
Rodrigo Rodriguez (Pragmatismo) 50eae38d36 Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:

1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
   `SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
   space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
   etc.)

Refactor BASIC keywords to use spaces instead of underscores

Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.

Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
  core_functions, qrcode, sms, procedures, import_export, llm_macros,
  on_form_submit
2025-11-30 10:53:59 -03:00
.forgejo/workflows Migration to Rust removal of Azure. 2025-10-06 10:29:14 -03:00
.vscode Migrate HTTP API from Actix to Axum 2025-11-20 13:28:35 -03:00
.zed Add indicatif for progress bars and enhance bootstrap 2025-10-19 19:28:08 -03:00
docs Looking at this diff, I can see it's a comprehensive documentation 2025-11-30 10:53:59 -03:00
gen/schemas feat: add HTTP server and refactor initialization 2025-11-15 09:48:46 -03:00
migrations Fix typos in bot file extensions and keyword names 2025-11-26 22:54:22 -03:00
prompts Remove unused sqlx dependency and related code 2025-11-28 09:27:29 -03:00
scripts - Executive summary. 2025-11-29 17:46:05 -03:00
src Looking at this diff, I can see it's a comprehensive documentation 2025-11-30 10:53:59 -03:00
templates Looking at this diff, I can see it's a comprehensive documentation 2025-11-30 10:53:59 -03:00
ui Add tar/flate2 deps and document new BASIC keywords 2025-11-30 07:53:58 -03:00
.gitignore olithic route configuration 2025-11-27 13:53:00 -03:00
add-req.sh Migrate HTTP API from Actix to Axum 2025-11-20 13:28:35 -03:00
build.rs - New templates. 2025-11-22 01:27:29 -03:00
Cargo.lock Add tar/flate2 deps and document new BASIC keywords 2025-11-30 07:53:58 -03:00
Cargo.toml Add tar/flate2 deps and document new BASIC keywords 2025-11-30 07:53:58 -03:00
CHANGELOG.md Fix typos in bot file extensions and keyword names 2025-11-26 22:54:22 -03:00
diesel.toml - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
fix-errors.sh refactor: simplify UI panels, use pooled DB, add --noui flag 2025-11-11 09:42:52 -03:00
LICENSE fix: update URLs and email addresses to reflect new domain 2025-04-15 12:49:05 -03:00
logo.png Add files via upload 2024-12-22 14:32:30 -03:00
README.md Add tar/flate2 deps and document new BASIC keywords 2025-11-30 07:53:58 -03:00
ROADMAP.md Looking at this diff, I can see it's a comprehensive documentation 2025-11-30 10:53:59 -03:00
tauri.conf.json run 2025-11-28 15:06:30 -03:00

General Bots - Enterprise-Grade LLM Orchestrator

General Bot Logo

A strongly-typed LLM conversational platform focused on convention over configuration and code-less approaches.

Documentation Structure

All documentation has been organized into the docs/ directory:

Core Documentation

Technical References

What is General Bots?

General Bots is a self-hosted AI automation platform that provides:

  • Multi-Vendor LLM API - Unified interface for OpenAI, Groq, Claude, Anthropic
  • MCP + LLM Tools Generation - Instant tool creation from code/functions
  • Semantic Caching - Intelligent response caching (70% cost reduction)
  • Web Automation Engine - Browser automation + AI intelligence
  • External Data APIs - Integrated services via connectors
  • Enterprise Data Connectors - CRM, ERP, database native integrations
  • Git-like Version Control - Full history with rollback capabilities
  • Contract Analysis - Legal document review and summary

Command-Line Options

# Run with default settings (console UI enabled)
cargo run

# Run without console UI
cargo run -- --noconsole

# Run in desktop mode (Tauri)
cargo run -- --desktop

# Run without any UI
cargo run -- --noui

# Specify tenant
cargo run -- --tenant <tenant_name>

# LXC container mode
cargo run -- --container

Default Behavior

  • Console UI is enabled by default - Shows real-time system status, logs, and file browser
  • Minimal UI is served by default at http://localhost:8080 - Lightweight, fast-loading interface
  • Full suite UI available at http://localhost:8080/suite - Complete multi-application interface
  • Use --noconsole to disable the terminal UI and run as a background service
  • The HTTP server always runs on port 8080 unless in desktop mode

Key Features

4 Essential Keywords

General Bots provides a minimal, focused system for managing Knowledge Bases and Tools:

USE KB "kb-name"        ' Load knowledge base into vector database
CLEAR KB "kb-name"      ' Remove KB from session
USE TOOL "tool-name"    ' Make tool available to LLM
CLEAR TOOLS             ' Remove all tools from session

Strategic Advantages

  • vs ChatGPT/Claude: Automates entire business processes, not just chat
  • vs n8n/Make: Simpler approach with little programming needed
  • vs Microsoft 365: User control, not locked systems
  • vs Salesforce: Open-source AI orchestration connecting all systems

Quick Start

Prerequisites

Installation

# Clone the repository
git clone https://github.com/GeneralBots/BotServer
cd BotServer

# Run the server (auto-installs dependencies)
cargo run

On first run, BotServer automatically:

  • Installs required components (PostgreSQL, S3-compatible storage, Cache, LLM)
  • Sets up database with migrations
  • Downloads AI models
  • Uploads template bots
  • Starts HTTP server at http://127.0.0.1:8080

Management Commands

botserver start              # Start all components
botserver stop               # Stop all components
botserver restart            # Restart all components
botserver list               # List available components
botserver status <component> # Check component status

Current Status

Version: 6.0.8
Build Status: SUCCESS
Production Ready: YES
Compilation: 0 errors

Deployment

General Bots supports deployment via LXC containers for isolated, lightweight virtualization:

# Deploy with LXC container isolation
cargo run -- --container

See Container Deployment for detailed LXC setup instructions.

Environment Variables

General Bots uses minimal environment configuration. Only Directory service variables are required:

Variable Purpose
DIRECTORY_URL Zitadel instance URL
DIRECTORY_CLIENT_ID OAuth client ID
DIRECTORY_CLIENT_SECRET OAuth client secret

All service credentials (database, storage, cache) are managed automatically by the Directory service. Application configuration is done through config.csv files in each bot's .gbot folder.

See Environment Variables for details.

Contributing

We welcome contributions! Please read:

Security

Security issues should be reported to: security@pragmatismo.com.br

See Security Policy for our security guidelines.

License

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.

See LICENSE for details.

Key Facts

  • LLM Orchestrator AGPL licensed (contribute back for custom-label SaaS)
  • True community governance
  • No single corporate control
  • 5+ years of stability
  • Never changed license
  • Enterprise-grade
  • Hosted locally or multicloud

Support & Resources

Demo

See conversational data analytics in action:

TALK "General Bots Labs presents FISCAL DATA SHOW BY BASIC"
result = GET "https://api.fiscaldata.treasury.gov/services/api/..."
data = SELECT YEAR(record_date) as Yr, SUM(...) AS Amount FROM data
img = CHART "bar", data
SEND FILE img

Contributors


General Bots Code Name: Guaribas (a city in Brazil, state of Piauí)

"No one should have to do work that can be done by a machine." - Roberto Mangabeira Unger

Ask a question | Read the Docs