No description
Find a file
2025-12-12 16:26:52 -03:00
src Add hardware ↔ keyword compatibility table to GPIO documentation 2025-12-12 14:29:45 -03:00
.gitignore - Split from botserver. 2025-12-03 19:56:35 -03:00
book.toml - Split from botserver. 2025-12-03 19:56:35 -03:00
LICENSE Initial commit 2019-02-19 15:16:05 -03:00
PROMPT.md docs: Update user docs - Tasks, Apps index, API Possibilities 2025-12-12 12:34:56 -03:00
README.md fix: Restore README.md content that was accidentally deleted 2025-12-12 16:26:52 -03:00

General Bots

General Bots Logo

Enterprise-Grade LLM Orchestrator & AI Automation Platform

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


🏗️ Architecture

┌─────────────────────────────────────────────────────────────────────────┐
│                         General Bots Platform                           │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                         │
│   ┌─────────────┐    ┌─────────────┐    ┌─────────────┐                │
│   │   botapp    │    │   botui     │    │  botserver  │                │
│   │   (Tauri)   │───▶│  (Pure Web) │───▶│   (API)     │                │
│   │   Desktop   │    │  HTMX/HTML  │    │   Rust      │                │
│   └─────────────┘    └─────────────┘    └──────┬──────┘                │
│                                                 │                       │
│                                    ┌───────────┴───────────┐           │
│                                    │                       │           │
│                              ┌─────▼─────┐          ┌──────▼─────┐     │
│                              │  botlib   │          │  botbook   │     │
│                              │ (Shared)  │          │   (Docs)   │     │
│                              └───────────┘          └────────────┘     │
│                                                                         │
└─────────────────────────────────────────────────────────────────────────┘

📦 Repositories

Repository Description Status
botserver Core API server - LLM orchestration, automation, integrations Production
botui Pure web UI - HTMX-based interface (suite & minimal) Production
botapp Tauri desktop wrapper - native file access, system tray Production
botlib Shared Rust library - common types, HTTP client, utilities Production
botbook Documentation - mdBook format, multi-language Production

🚀 Quick Start

Prerequisites

Run the Server

# Clone and run
git clone https://github.com/GeneralBots/BotServer
cd BotServer
cargo run

On first run, BotServer automatically:

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

Run the Desktop App

# Clone botui (pure web)
git clone https://github.com/GeneralBots/botui
cd botui
cargo run  # Starts web server at :3000

# In another terminal, clone and run botapp (Tauri desktop)
git clone https://github.com/GeneralBots/botapp
cd botapp
cargo tauri dev

Key Features

🤖 Multi-Vendor LLM API

Unified interface for OpenAI, Groq, Claude, Anthropic, and local models.

🔧 MCP + LLM Tools Generation

Instant tool creation from code and functions - no complex configurations.

💾 Semantic Caching

Intelligent response caching achieving 70% cost reduction on LLM calls.

🌐 Web Automation Engine

Browser automation combined with AI intelligence for complex workflows.

📊 Enterprise Data Connectors

Native integrations with CRM, ERP, databases, and external services.

🔄 Git-like Version Control

Full history with rollback capabilities for all configurations and data.


🎯 4 Essential Keywords

General Bots provides a minimal, focused system:

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

🏛️ Architecture Details

botserver (Core)

The main API server handling:

  • LLM orchestration and prompt management
  • Multi-channel communication (WhatsApp, Teams, Email, Web)
  • File storage and drive management
  • Task scheduling and automation
  • Authentication and authorization

botui (Web Interface)

Pure web UI with zero native dependencies:

  • Suite: Full-featured multi-app interface
  • Minimal: Lightweight single-page chat
  • HTMX-powered for minimal JavaScript
  • Works in any browser

botapp (Desktop)

Tauri wrapper adding native capabilities:

  • Local file system access
  • System tray integration
  • Native dialogs and notifications
  • Desktop-specific features

botlib (Shared Library)

Common Rust code shared across projects:

  • HTTP client for BotServer communication
  • Shared types and models
  • Branding and configuration utilities
  • Error handling

🔧 Development Setup

# Clone all repositories
git clone https://github.com/GeneralBots/BotServer botserver
git clone https://github.com/GeneralBots/botui
git clone https://github.com/GeneralBots/botapp
git clone https://github.com/GeneralBots/botlib
git clone https://github.com/GeneralBots/BotBook botbook

# Build all (from each directory)
cd botlib && cargo build
cd ../botserver && cargo build
cd ../botui && cargo build
cd ../botapp && cargo build

📖 Documentation


🆚 Why General Bots?

vs. Alternative General Bots Advantage
ChatGPT/Claude Automates entire business processes, not just chat
n8n/Make Simpler approach with minimal programming
Microsoft 365 User control, not locked ecosystems
Salesforce Open-source AI orchestration connecting all systems

🛡️ Security

  • AGPL-3.0 License - True open source with contribution requirements
  • Self-hosted - Your data stays on your infrastructure
  • Enterprise-grade - 5+ years of stability
  • No vendor lock-in - Open protocols and standards

Report security issues to: security@pragmatismo.com.br


🤝 Contributing

We welcome contributions! See our Contributing Guidelines.

Contributors


📄 License

General Bots is licensed under 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.

Copyright (c) pragmatismo.com.br. All rights reserved.



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